Skip to content

Commit

Permalink
fix(ECDSA): Fixes tests expecting old error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerkleplant committed Nov 10, 2023
1 parent 8e9d79c commit 73d55ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/signatures/ECDSA.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ contract ECDSATest is Test {

Signature memory badSig = Signature(v, r, s).intoMalleable();

vm.expectRevert("SignatureIsMalleable()");
vm.expectRevert("SignatureMalleable()");
wrapper.verify(pubKey, message, badSig);

vm.expectRevert("SignatureIsMalleable()");
vm.expectRevert("SignatureMalleable()");
wrapper.verify(pubKey, digest, badSig);

vm.expectRevert("SignatureIsMalleable()");
vm.expectRevert("SignatureMalleable()");
wrapper.verify(pubKey.toAddress(), message, badSig);

vm.expectRevert("SignatureIsMalleable()");
vm.expectRevert("SignatureMalleable()");
wrapper.verify(pubKey.toAddress(), digest, badSig);
}

Expand Down

0 comments on commit 73d55ff

Please sign in to comment.