pub trait StateReader: Send + Sync {
// Required method
fn get_state(
&self,
block: u64,
) -> Result<Option<ExecutionOutcome>, ProviderError>;
}
Expand description
This just receives state, or ExecutionOutcome
, from the provider
Required Methods§
Sourcefn get_state(
&self,
block: u64,
) -> Result<Option<ExecutionOutcome>, ProviderError>
fn get_state( &self, block: u64, ) -> Result<Option<ExecutionOutcome>, ProviderError>
Get the ExecutionOutcome
for the given block