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:
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:
forge snapshot
?pnpm lint
?forge test
?pnpm verify
?