Skip to content

Commit

Permalink
fix: test sig
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Aug 16, 2023
1 parent cca45ef commit 4cc2a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Rln.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4cc2a27

Please sign in to comment.