reth_provider

Trait StorageChangeSetReader

pub trait StorageChangeSetReader: Send + Sync {
    // Required method
    fn storage_changeset(
        &self,
        block_number: u64,
    ) -> Result<Vec<(BlockNumberAddress, StorageEntry)>, ProviderError>;
}
Expand description

Storage ChangeSet reader

Required Methods§

fn storage_changeset( &self, block_number: u64, ) -> Result<Vec<(BlockNumberAddress, StorageEntry)>, ProviderError>

Iterate over storage changesets and return the storage state from before this block.

Implementations on Foreign Types§

§

impl<'a, T> StorageChangeSetReader for &'a T

§

fn storage_changeset( &self, block_number: u64, ) -> Result<Vec<(BlockNumberAddress, StorageEntry)>, ProviderError>

§

impl<T> StorageChangeSetReader for Box<T>

§

fn storage_changeset( &self, block_number: u64, ) -> Result<Vec<(BlockNumberAddress, StorageEntry)>, ProviderError>

§

impl<T> StorageChangeSetReader for Arc<T>

§

fn storage_changeset( &self, block_number: u64, ) -> Result<Vec<(BlockNumberAddress, StorageEntry)>, ProviderError>

Implementors§