feat: rln-v2 (#35)

* feat: init rln-v2 changes

* chore: remove poseidont3, dont calculate rate commitments

* fix: deploy script

* feat: add g16 verifier

* chore: deploy to sepolia and polygon-zkevm-testnet

* chore: snapshot

* fix(rln): reuse getDepositAmount func
This commit is contained in:
Aaryamann Challani
2024-01-23 23:20:33 +05:30
committed by GitHub
parent 9ee3217886
commit 5d9108a138
9 changed files with 345 additions and 364 deletions

View File

@@ -14,7 +14,7 @@ contract Deploy is BaseScript {
// step 1: deploy the verifier
Verifier verifier = new Verifier();
// step 2: deploy the rln contract
rln = new Rln(0, 20, address(verifier));
rln = new Rln(0, 20, 20, address(verifier));
vm.stopBroadcast();
}
}