Skip to content

Commit

Permalink
Add EIP-712 Change for Quark V2 (#84)
Browse files Browse the repository at this point in the history
This patch adds an EIP-712 change for Quark V2, which adds an
`isReplayable` field in the typehash of the EIP-712 struct.
  • Loading branch information
hayesgm authored Sep 25, 2024
1 parent bf5b1aa commit ed4b7ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/builder/EIP712Helper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ library EIP712Helper {
abi.encode(
QUARK_OPERATION_TYPEHASH,
op.nonce,
op.isReplayable,
op.scriptAddress,
keccak256(encodedScriptSources),
keccak256(op.scriptCalldata),
Expand Down

0 comments on commit ed4b7ee

Please sign in to comment.