pub trait StateTraitExt {
    // Required methods
    fn get_with_proof(
        &self,
        access_key: StorageKeyWithSpace<'_>
    ) -> Result<(Option<Box<[u8]>>, StateProof)>;
    fn get_node_merkle_all_versions<WithProof: StaticBool>(
        &self,
        access_key: StorageKeyWithSpace<'_>
    ) -> Result<(NodeMerkleTriplet, NodeMerkleProof)>;
}

Required Methods§

source

fn get_with_proof( &self, access_key: StorageKeyWithSpace<'_> ) -> Result<(Option<Box<[u8]>>, StateProof)>

source

fn get_node_merkle_all_versions<WithProof: StaticBool>( &self, access_key: StorageKeyWithSpace<'_> ) -> Result<(NodeMerkleTriplet, NodeMerkleProof)>

Compute the merkle of the node under access_key in all tries. Node merkle is computed on the value and children hashes, ignoring the compressed path.

Object Safety§

This trait is not object safe.

Implementors§