murky icon indicating copy to clipboard operation
murky copied to clipboard

Incremental tree?

Open sanderpick opened this issue 1 year ago • 3 comments

Any ideas on how one might build a tree incrementally? I'd like to add a leaf in a contract function and save the root in contract storage. Then, later check that some supplied hash is part of the tree in a different function (different txn). i.e., an inclusion proof against a dynamic tree.

Cheers!

sanderpick avatar Aug 12 '23 01:08 sanderpick