Commit Graph

82 Commits

Author SHA1 Message Date
rymnc 855b40975f
chore: disable pnpm verify 2023-12-05 15:08:33 +05:30
rymnc 443cbfc9c4
incl: certora spec 2023-12-05 14:37:05 +05:30
rymnc 46a7dc5d64
fix: ci, add pnpm to github action 2023-12-05 14:33:35 +05:30
rymnc 647cec6fa8
chore: add deployments to .prettierignore 2023-12-05 14:20:31 +05:30
rymnc bfc37470bb
fix: sol versions, solhintignore 2023-12-04 17:48:15 +05:30
rymnc 6a894cdad9
chore: add deployments 2023-12-04 16:36:18 +05:30
rymnc 0d03e850dd
chore: move to vacp2p/foundry-template 2023-12-04 15:14:24 +05:30
rymnc a3193cec3d
chore: add and redeploy 2023-12-01 15:27:47 +05:30
rymnc 9d32b4444a
chore: added pagination for commitments 2023-12-01 15:26:33 +05:30
rymnc caa3d3b2cc
fix: tests 2023-12-01 12:43:59 +05:30
rymnc 7cca053b38
chore: remove PoseidonHasher contract, incl Q in RLN 2023-12-01 12:41:10 +05:30
rymnc ea4a157a70
fix: test 2023-11-30 22:59:56 +05:30
rymnc a403bee124
fix: redeploy to sepolia 2023-11-30 22:58:49 +05:30
rymnc fc406eca9d
fix: redeploy to polygon zkevm testnet 2023-11-30 22:58:14 +05:30
rymnc 54053b1086
fix: address comments 2023-11-30 22:57:41 +05:30
rymnc 8106f45bba
chore: polygon zkevm testnet deployment 2023-11-30 22:52:34 +05:30
rymnc 9c9943df9b
feat: fix deployments 2023-11-30 17:02:00 +05:30
rymnc 8d771fd4ad
feat: integrated binaryIMT 2023-11-30 16:24:56 +05:30
rymnc 8d1480d285
feat: works for 1 2023-11-29 12:16:28 +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 b0e78f260d
chore: remove API and private keys from .env file (#23)
Few things:

1. I don't think we want to expose any etherscan API keys we use. We also
   don't want to expose any private keys.
2. Not sure where this private key comes from, likely a ganache/anvil
   generated account, but nonetheless, I think the `.env.example` file
   is meant to be copied to `.env` and then changes are done there.
2023-08-08 20:50:07 +02:00
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 a092b934a6
fix: make all functions virtual 2023-07-31 10:49:29 +05:30
rymnc ab148a6497
fix: args 2023-07-27 17:22:29 +05:30
rymnc 4124f28f4a
chore: remappings 2023-07-27 11:46:55 +05:30
Aaryamann Challani 4e14c58c67
Merge pull request #22 from vacp2p/test-pluggable-validation-logic
test pluggable validation logic
2023-07-27 10:40:53 +05:30
rymnc 5cbeb45a8a
fix: test file name 2023-07-27 10:38:21 +05:30
rymnc 5d3b5dddcc
fix: rename file 2023-07-27 09:50:59 +05:30
rymnc 766366c612
chore: convert rln to rlnbase, and inherit into rln 2023-07-26 16:40:55 +05:30
rymnc 2dd8d56d5f
chore: updated deployments 2023-05-31 13:07:48 +05:30
rymnc 429a3ff404
chore: ready for redeploy 2023-05-31 12:59:56 +05:30
rymnc fc606d98b2
chore: create verifier and integrate 2023-05-26 13:31:05 +05:30
rymnc 18783ba67e
fix: remove batching ops, include index in removal 2023-05-23 12:24:58 +05:30
Aaryamann Challani b66d431040
Merge pull request #21 from vacp2p/fix-bugs
fix: remove .transfer from loops
2023-03-31 14:07:32 +05:30
rymnc d8a9435fa7
fix: hardhat tests 2023-03-30 20:28:04 +05:30
rymnc 99c6625b40
fix: remove .transfer from loops 2023-03-30 20:24:39 +05:30
Aaryamann Challani 2c4ddb0312
Merge pull request #20 from vacp2p/redeploy-to-sepolia
feat: sepolia deployment
2023-03-30 18:31:09 +05:30
rymnc f99eb2aa0d
feat: sepolia deployment 2023-03-30 18:29:06 +05:30
Aaryamann Challani 75ba356d01
Merge pull request #19 from vacp2p/custom-errors
feat: custom errors
2023-03-30 18:24:42 +05:30
rymnc ab78e5d8d0
feat: custom errors 2023-03-30 17:30:54 +05:30
Aaryamann Challani 4b87223904
Merge pull request #18 from vacp2p/natspec-comments
docs: natspec comments + docgen
2023-03-30 17:03:20 +05:30
rymnc 71ba5338cf
docs: natspec, docgen 2023-03-30 12:24:58 +05:30
Aaryamann Challani ca05aee912
Merge pull request #17 from vacp2p/upstream-fixes-foundry
Modernize repo, use foundry, deploy to sepolia
2023-03-29 17:58:50 +05:30
rymnc cae34e64d8
fix: workaround assumePayable 2023-03-29 17:51:48 +05:30
rymnc 7c081c1ad8
fix: reorder assumePayable 2023-03-29 17:29:33 +05:30
rymnc d2ce17af4b
fix: remove remnant test from interep integration 2023-03-29 17:23:21 +05:30
rymnc 39c7b0b31e
feat: coverage 2023-03-29 17:18:00 +05:30
rymnc 70e5199c3c
fix: remove unncessary function from poseidon, add Rln.t.sol 2023-03-29 15:19:32 +05:30