Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated contract to use a single signer' #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stonecoldpat
Copy link
Contributor

No description provided.

*/
function verify(bytes memory _callData,
function replayProtection(address _signer,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be called checkAndUpdateReplayProtection

}

/// @dev Return owner.
function getOwner() internal view returns (address) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this funtion? Cant we just call owner?

@@ -40,10 +34,16 @@ contract ProxyAccount is ReplayProtection, BatchInternal {
bytes memory _signature) public returns (bool, bytes memory) {

// Assumes that ProxyAccountDeployer is ReplayProtection.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment out of date?

* @param _replayProtectionAuthority Identify the Replay protection, default is address(0)
* @param _signature Signature from signer
*/
function getSigner(bytes memory _encodedCallData, bytes memory _replayProtection, address _replayProtectionAuthority,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in the chat, I think we should use this everywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants