pub(crate) fn merkle_add_local(
ctx: FunctionEnvMut<'_, Env>,
ptr: WasmPtr<u8>,
ptr_len: u32,
) -> i64Expand description
Add data to a tx-local Merkle tree.
Expects:
db_info: Handle where the Merkle tree is storeddb_roots: Handle where all new Merkle roots are storedroot_key: Serialized key pointing to latest root indb_infotree_key: Serialized key pointing to the Merkle tree indb_infocoins: Items we want to add to the Merkle tree
ยงPermissions
ContractSection::Update