Trait cfx_storage::state::StateDbGetOriginalMethods
source · pub trait StateDbGetOriginalMethods {
// Required methods
fn get_original_raw_with_proof(
&self,
key: StorageKeyWithSpace<'_>
) -> Result<(Option<Box<[u8]>>, StateProof)>;
fn get_original_storage_root(
&self,
address: &AddressWithSpace
) -> Result<StorageRoot>;
fn get_original_storage_root_with_proof(
&self,
address: &AddressWithSpace
) -> Result<(StorageRoot, StorageRootProof)>;
}