We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a063100 commit 44c7cc5Copy full SHA for 44c7cc5
1 file changed
test/crafting/SigUtils.sol
@@ -33,25 +33,13 @@ contract SigUtils {
33
return keccak256(abi.encodePacked(hashedBytesArr));
34
}
35
36
- // computes the hash of a permit
37
function getStructHash(
38
bytes32 _reference,
39
address[] calldata _targets,
40
bytes[] calldata _data,
41
uint256 _deadline
42
) internal pure returns (bytes32)
43
{
44
- // return _hashTypedDataV4(
45
- // keccak256(
46
- // abi.encode(
47
- // MULTICALL_TYPEHASH,
48
- // _reference,
49
- // keccak256(abi.encodePacked(_targets)),
50
- // hashBytesArray(_data),
51
- // _deadline
52
- // )
53
54
- // );
55
return keccak256(
56
abi.encode(
57
MULTICALL_TYPEHASH,
@@ -86,4 +74,4 @@ contract SigUtils {
86
74
)
87
75
);
88
76
89
-}
77
+}
0 commit comments