From ab148a649797e48a40dfebfdb61c72e22b9b12fb Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Thu, 27 Jul 2023 17:22:29 +0530 Subject: [PATCH] fix: args --- test/RLNApp.t.sol | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/RLNApp.t.sol b/test/RLNApp.t.sol index 2e145d2..7c2d2f4 100644 --- a/test/RLNApp.t.sol +++ b/test/RLNApp.t.sol @@ -12,7 +12,10 @@ contract RlnApp is RlnBase { uint256 public constant allowedIdCommitment = 21888242871839275222246405745257275088548364400416034343698204186575808495617; - constructor(uint256 membershipDeposit, uint256 depth, address _poseidonHasher, address _verifier) + uint256 private membershipDeposit = 1000000000000000; + uint256 private depth = 20; + + constructor(address _poseidonHasher, address _verifier) RlnBase(membershipDeposit, depth, _poseidonHasher, _verifier) {} @@ -42,7 +45,7 @@ contract RLNAppTest is Test { function setUp() public { poseidon = new PoseidonHasher(); trueVerifier = new TrueVerifier(); - rlnApp = new RlnApp(MEMBERSHIP_DEPOSIT, DEPTH, address(poseidon), address(trueVerifier)); + rlnApp = new RlnApp(address(poseidon), address(trueVerifier)); } function test__Constants() public {