Closed rymnc closed 3 months ago
ea4a157
during CI #49Summary coverage rate: lines......: 30.4% (41 of 135 lines) functions..: 52.0% (13 of 25 functions) branches...: 52.5% (21 of 40 branches) Files changed coverage rate: |Lines |Functions |Branches Filename |Rate Num|Rate Num|Rate Num ================================================================== contracts/PoseidonHasher.sol| 100% 1| 100% 1| - 0 contracts/RlnBase.sol | 100% 37| 100% 8| 100% 18
@alrevuelta as requested,
{
"RLN": {
"polygonZkevmTestnet": "https://testnet-zkevm.polygonscan.com/address/0xC568eF58009b8e5B8824d9fbB271141782545538#",
"sepolia": "https://sepolia.etherscan.io/address/0xbE24C8d709754523D882D4b67C59e983107cf1E8"
}
}
caa3d3b
during CI #51Summary coverage rate: lines......: 29.9% (40 of 134 lines) functions..: 50.0% (12 of 24 functions) branches...: 52.5% (21 of 40 branches) Files changed coverage rate: |Lines |Functions |Branches Filename |Rate Num|Rate Num|Rate Num =============================================================== contracts/RlnBase.sol | 100% 37| 100% 8| 100% 18 test/RLNApp.t.sol | 100% 2| 100% 2|75.0% 4
a3193ce
during CI #52Summary coverage rate: lines......: 33.8% (48 of 142 lines) functions..: 52.0% (13 of 25 functions) branches...: 52.3% (23 of 44 branches) Files changed coverage rate: |Lines |Functions |Branches Filename |Rate Num|Rate Num|Rate Num =============================================================== contracts/RlnBase.sol | 100% 45| 100% 9|90.9% 22 test/RLNApp.t.sol | 100% 2| 100% 2|75.0% 4
Can we close this since the LazyIMT
was integrated successfully here?
https://github.com/waku-org/waku-rlnv2-contract
Description
This PR includes 2 important changes -
BinaryIMT
(editLazyIMT
) into the Rln contract to allow for trustless root computation for lighter verifiers, reference: https://github.com/waku-org/research/issues/56Apologies for the large PR, but please note that most of the changes are restricted to Rln.sol, and a new function
computeRoot
. The tests remain the same, with some additional testing for compatibility with zerokit.