Expand description
Host functions for sparse merkle tree functions
Structs§
- Sled
Storage - An SMT adapter for sled overlay storage. Compatible with the WasmDb SMT adapter
Functions§
- sparse_
merkle_ 🔒insert_ batch - Adds data to sparse merkle tree. The tree, database connection, and new data to add is
read from
ptrat offset specified bylen. Returns0on success; otherwise, returns an error-code corresponding to aContractError(defined in the SDK). See also the methodmerkle_addinsdk/src/merkle.rs.