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

Update GuardedMulticaller2 Multicall Typehash #245

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions abi/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ export const guardedMulticaller2Abi = [
{ name: 'data', internalType: 'bytes', type: 'bytes' },
],
},
{ name: '_returnData', internalType: 'bytes', type: 'bytes' },
],
name: 'FailedCall',
},
Expand Down
2 changes: 1 addition & 1 deletion contracts/multicall/GuardedMulticaller2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ contract GuardedMulticaller2 is AccessControl, ReentrancyGuard, EIP712 {
/// @dev EIP712 typehash for execute function
bytes32 internal constant MULTICALL_TYPEHASH =
keccak256(
"Multicall(bytes32 ref,Call[] call,uint256 deadline)Call(address target,string functionSignature,bytes data)"
"Multicall(bytes32 ref,Call[] calls,uint256 deadline)Call(address target,string functionSignature,bytes data)"
);

/// @dev Event emitted when execute function is called
Expand Down
2 changes: 1 addition & 1 deletion test/multicall/SigUtils.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contract SigUtils {

bytes32 internal constant MULTICALL_TYPEHASH =
keccak256(
"Multicall(bytes32 ref,Call[] call,uint256 deadline)Call(address target,string functionSignature,bytes data)"
"Multicall(bytes32 ref,Call[] calls,uint256 deadline)Call(address target,string functionSignature,bytes data)"
);

bytes32 private immutable cachedDomainSeparator;
Expand Down
Loading