Trait fuel_storage::MerkleRootStorage
source · pub trait MerkleRootStorage<Key, StorageType>: StorageInspect<StorageType>where
StorageType: Mappable,{
// Required method
fn root(&self, key: &Key) -> Result<MerkleRoot, Self::Error>;
}
Expand description
Returns the merkle root for the StorageType
per merkle Key
. Per one storage, it is
possible to have several merkle trees under different Key
.