From 3efb454bea12b3104045562fb9aebcc3a6d34a37 Mon Sep 17 00:00:00 2001 From: wshino Date: Thu, 24 Oct 2024 14:47:12 +0700 Subject: [PATCH] Fix test_Revert_IfSignatureIsInvalid --- .../utils/ECDSAOwnedDKIMRegistry/revokeDKIMPublicKeyHash.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contracts/test/utils/ECDSAOwnedDKIMRegistry/revokeDKIMPublicKeyHash.t.sol b/packages/contracts/test/utils/ECDSAOwnedDKIMRegistry/revokeDKIMPublicKeyHash.t.sol index c1eaba0..c47acf7 100644 --- a/packages/contracts/test/utils/ECDSAOwnedDKIMRegistry/revokeDKIMPublicKeyHash.t.sol +++ b/packages/contracts/test/utils/ECDSAOwnedDKIMRegistry/revokeDKIMPublicKeyHash.t.sol @@ -244,7 +244,7 @@ contract ECDSAOwnedDKIMRegistryTest_revokeDKIMPublicKeyHash is Test { // Attempt to revoke with an invalid signature bytes memory invalidSignature = abi.encodePacked(r, s, v + 1); // Alter the signature - vm.expectRevert(ECDSA.ECDSAInvalidSignature.selector); + vm.expectRevert("Invalid signature"); dkim.revokeDKIMPublicKeyHash( selector, domainName,