Open
Description
We'd like to read individual hashes from the merkle tree, after insertion (and in fact usually after deserialisation). We're currently doing this by inspecting the tree's state directly. This is unsafe and we expect it to break each time we take an update, since we're relying on unspecified properties of the generated structs.
Can you please add some verified, generated accessors for the merkle tree state? Primarily mt_get_leaf
, but ideally also mt_get_leaf_range
, mt_get_begin_index
, and mt_get_end_index
.
Metadata
Metadata
Assignees
Labels
No labels