Trait ChangeSetReader
pub trait ChangeSetReader: Send + Sync {
// Required method
fn account_block_changeset(
&self,
block_number: u64,
) -> Result<Vec<AccountBeforeTx>, ProviderError>;
}
Expand description
AccountChange reader
Required Methods§
fn account_block_changeset(
&self,
block_number: u64,
) -> Result<Vec<AccountBeforeTx>, ProviderError>
fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>
Iterate over account changesets and return the account state from before this block.
Implementations on Foreign Types§
§impl<'a, T> ChangeSetReader for &'a T
impl<'a, T> ChangeSetReader for &'a T
fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>
§impl<T> ChangeSetReader for Box<T>
impl<T> ChangeSetReader for Box<T>
fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>
§impl<T> ChangeSetReader for Arc<T>
impl<T> ChangeSetReader for Arc<T>
fn account_block_changeset( &self, block_number: u64, ) -> Result<Vec<AccountBeforeTx>, ProviderError>
Implementors§
impl ChangeSetReader for MockEthProvider
Available on crate feature
test-utils
only.