Skip to content

Commit

Permalink
Merge branch 'gasless-revisited' of github.com:lifinance/contracts in…
Browse files Browse the repository at this point in the history
…to gasless-revisited
  • Loading branch information
0xDEnYO committed Nov 28, 2024
2 parents 1cf74ca + 4bdfa05 commit ddfb557
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions deployments/mantle.diamond.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"Version": "1.0.0"
},
"0xF5c923a087fb3c554579e2DD10AB6E37E0f6F849": {
"Name": "",
"Version": ""
"Name": "GasZipFacet",
"Version": "2.0.0"
}
},
"Periphery": {
Expand Down
4 changes: 2 additions & 2 deletions deployments/metis.diamond.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
"Version": "1.0.0"
},
"0xb518364B2F4e480eCc64998Da12F072A63a25093": {
"Name": "",
"Version": ""
"Name": "GasZipFacet",
"Version": "2.0.0"
}
},
"Periphery": {
Expand Down
8 changes: 3 additions & 5 deletions test/solidity/Periphery/Permit2Proxy.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -434,17 +434,15 @@ contract Permit2ProxyTest is TestBase {
bytes memory diamondCalldata;
ISignatureTransfer.PermitTransferFrom memory permitTransferFrom;
bytes32 msgHash;
bytes memory signature;
(
diamondCalldata,
permitTransferFrom,
msgHash,

signature
) = _getPermit2WitnessTransferFromParamsSignedByPERMIT2_USER();

// Sign with a random key
bytes memory signature = _signMsgHash(msgHash, 987654321);

permitTransferFrom.permitted.amount = 500 ether;
permitTransferFrom.permitted.amount += 1;

// Execute
vm.expectRevert(InvalidSigner.selector);
Expand Down

0 comments on commit ddfb557

Please sign in to comment.