fix: args

This commit is contained in:
rymnc 2023-07-27 17:22:29 +05:30
parent 4124f28f4a
commit ab148a6497
No known key found for this signature in database
GPG Key ID: AAA088D5C68ECD34
1 changed files with 5 additions and 2 deletions

View File

@ -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 {