Commit Graph

7 Commits

Author SHA1 Message Date
Aaryamann Challani 5d9108a138
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
2024-01-23 23:20:33 +05:30
Aaryamann Challani 9ee3217886
chore: patch foundry template (#34) 2024-01-11 14:59:18 +05:30
Aaryamann Challani 35f2182669
fix(rln): use zero based indexing for commitments (#28) 2023-08-30 22:17:07 +05:30
Aaryamann Challani bd8403a74e
chore: use deployed block number (#27)
* chore: add deployedBlockNumber to the constructor

* fix: use uint32 instead of uint256 for deployedBlockNumber
2023-08-21 12:37:15 +05:30
Aaryamann Challani d899a0ca85
fix: constraint on bn254 values (#26)
* fix: constraint on bn254 values

* fix: test sig

* fix: test invalid id commitment
2023-08-16 18:50:49 +05:30
r4bbit e13af692f7 fix: make tests compile with forge-std@1.6.0
There was a breaking change introduced in `forge-std` at
https://github.com/foundry-rs/forge-std/pull/407 which breaks
compilation of `Rln.t.sol` with `forge-std@v1.6.0`.

This commit updates the dependency to v1.6.0 and adjusts the test source
such that it successfully compiles.

Another way to go about this would've been to just stick with `v1.5.6.`
and ensuring installation of that version.
However, I've decided to update the dependency to the latest stable
version instead.
2023-08-08 20:45:12 +02:00
rymnc 5cbeb45a8a
fix: test file name 2023-07-27 10:38:21 +05:30