Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Nov 30, 2023
1 parent a403bee commit ea4a157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Rln.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import "forge-std/console.sol";
contract RlnTest is Test {
using stdStorage for StdStorage;

Rln public rln;
RLN public rln;
PoseidonHasher public poseidon;
TrueVerifier public trueVerifier;
FalseVerifier public falseVerifier;
Expand All @@ -26,7 +26,7 @@ contract RlnTest is Test {
poseidon = new PoseidonHasher();
trueVerifier = new TrueVerifier();
falseVerifier = new FalseVerifier();
rln = new Rln(MEMBERSHIP_DEPOSIT, DEPTH, address(poseidon), address(trueVerifier));
rln = new RLN(MEMBERSHIP_DEPOSIT, DEPTH, address(poseidon), address(trueVerifier));
}

/// @dev Ensure that you can hash a value.
Expand Down Expand Up @@ -69,7 +69,7 @@ contract RlnTest is Test {
}

function test__InvalidRegistration__FullSet() public {
Rln tempRln = new Rln(
RLN tempRln = new RLN(
MEMBERSHIP_DEPOSIT,
2,
address(rln.poseidonHasher()),
Expand Down Expand Up @@ -154,7 +154,7 @@ contract RlnTest is Test {
function test__InvalidSlash__InvalidProof() public {
uint256 idCommitment = 19014214495641488759237505126948346942972912379615652741039992445865937985820;

Rln tempRln = new Rln(
RLN tempRln = new RLN(
MEMBERSHIP_DEPOSIT,
2,
address(rln.poseidonHasher()),
Expand Down

0 comments on commit ea4a157

Please sign in to comment.