Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PacificYield committed Dec 18, 2024
1 parent 6531de2 commit acf3382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/test/kmsVerifier/kmsVerifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit acf3382

Please sign in to comment.