From 4cc2a27db03338f02b24d7e695ffbe8d0a38cc06 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:20:46 +0530 Subject: [PATCH] fix: test sig --- test/Rln.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Rln.t.sol b/test/Rln.t.sol index 07df987..a89111a 100644 --- a/test/Rln.t.sol +++ b/test/Rln.t.sol @@ -112,7 +112,7 @@ contract RlnTest is Test { rln.slash(idCommitment, payable(address(rln)), zeroedProof); } - function test__InvalidSlash__InvalidIdCommitment(uint256 idCommitment) public { + function test__InvalidSlash__MemberNotRegistered(uint256 idCommitment) public { vm.assume(rln.isValidCommitment(idCommitment)); vm.expectRevert(abi.encodeWithSelector(MemberNotRegistered.selector, idCommitment)); rln.slash(idCommitment, payable(address(this)), zeroedProof);