Skip to content

fix: Add nonce to ERC7683OriginSettler, change speedUpDeposit signature EIP712 type hash #955

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nicholaspai
Copy link
Member

  • 7683 settler incorrectly implements hashing function
  • speedUpV3Deposit uses incorrect type hash

…posit

1.  ERC7683Permit2Lib.hashOrderData does not include `depositNonce` in the hash despite it being a part of the `ACROSS_ORDER_DATA_TYPE_HASH`. This wouldn't result in any run-time bugs but it probably would not be interpreted correctly by ERC712 wallets or Permit2 interfaces.
2. speedUpDepositV3 signature cannot be filled via fillRelayWithUpdatedDeposit because the latter uses a different "hash type" than the former, which uses a hash type where `updatedRecipient` is an address despite converting it to bytes32 before hashing
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.

1 participant