diff --git a/contracts/test/kmsVerifier/kmsVerifier.ts b/contracts/test/kmsVerifier/kmsVerifier.ts index a22b152..07870e0 100644 --- a/contracts/test/kmsVerifier/kmsVerifier.ts +++ b/contracts/test/kmsVerifier/kmsVerifier.ts @@ -127,7 +127,7 @@ describe('KMSVerifier', function () { process.env.PRIVATE_KEY_KMS_SIGNER_1 = process.env.PRIVATE_KEY_KMS_SIGNER_0; const tx7 = await contract.requestUint16({ gasLimit: 5_000_000 }); await tx7.wait(); - await expect(awaitAllDecryptionResults()).to.revertedWithCustomError(kmsVerifier, 'KMSInvalidSigner'); // cannot use duplicated signatures if threshold is 2 + await expect(awaitAllDecryptionResults()).to.revertedWith('KMS signature verification failed'); // cannot use duplicated signatures if threshold is 2 const y5 = await contract.yUint16(); expect(y5).to.equal(0);