mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs: add note about post state (#2169)
This commit is contained in:
@ -91,9 +91,13 @@ pub trait StateProviderFactory: Send + Sync {
|
||||
) -> Result<StateProviderBox<'_>>;
|
||||
}
|
||||
|
||||
/// Blockchain trait provider
|
||||
/// Blockchain trait provider that gives access to the blockchain state that is not yet committed
|
||||
/// (pending).
|
||||
pub trait BlockchainTreePendingStateProvider: Send + Sync {
|
||||
/// Return state provider over pending state.
|
||||
/// Returns a state provider that includes all state changes of the given (pending) block hash.
|
||||
///
|
||||
/// In other words, the state provider will return the state after all transactions of the given
|
||||
/// hash have been executed.
|
||||
fn pending_state_provider(
|
||||
&self,
|
||||
block_hash: BlockHash,
|
||||
|
||||
Reference in New Issue
Block a user