Skip to content

Conversation

@stonecoldpat
Copy link
Contributor

No description provided.

@stonecoldpat stonecoldpat requested a review from yahgwai June 10, 2020 15:18
* @param _signature Signer's signature
*/
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.

3 participants