vacp2p / rln-contract

RLN contract
Apache License 2.0
13 stars 6 forks source link

test: rln subtree root onchain strategy #37

Open rymnc opened 5 months ago

rymnc commented 5 months ago

Description

This PR builds on the trustless root onchain PR, but tries to overcome the gas limit usage issue in calculating the root of a tree of height 20 in one go. This is done by sharding/using subtrees to incrementally calculate the root of the tree.

Checklist

Ensure you completed all of the steps below before submitting your pull request: