fix: test sig

This commit is contained in:
rymnc 2023-08-16 18:20:46 +05:30
parent cca45efee3
commit 4cc2a27db0
No known key found for this signature in database
GPG Key ID: AAA088D5C68ECD34
1 changed files with 1 additions and 1 deletions

View File

@ -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);