Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
In openzeppelin v4.8, revert message changed and error InvalidSignatureV is deprecated
  • Loading branch information
ImJeremyHe committed Dec 5, 2024
1 parent 4544d46 commit 74c8a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/foundry/ExpressLaneAuction.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1394,12 +1394,12 @@ contract ExpressLaneAuctionTest is Test {

// bad v means invalid sig
// vm.expectRevert(ECDSAInvalidSignature.selector);
vm.expectRevert(abi.encodePacked("ECDSA: invalid signature 'v' value"));
vm.expectRevert(abi.encodePacked("ECDSA: invalid signature"));
rs.auction.resolveMultiBidAuction(rs.bid1, bid0);

// bad v means invalid sig
// vm.expectRevert(ECDSAInvalidSignature.selector);
vm.expectRevert(abi.encodePacked("ECDSA: invalid signature 'v' value"));
vm.expectRevert(abi.encodePacked("ECDSA: invalid signature"));
rs.auction.resolveSingleBidAuction(bid0);
}

Expand Down

0 comments on commit 74c8a81

Please sign in to comment.