feat: implement HistoricalStateProviderRef::proof (#9327)

This commit is contained in:
Roman Krasiuk
2024-07-05 04:43:24 -07:00
committed by GitHub
parent 3b29ed74c0
commit c13af1e6d1
3 changed files with 15 additions and 12 deletions

View File

@ -96,9 +96,6 @@ pub enum ProviderError {
/// Thrown when we were unable to find a state for a block hash.
#[error("no state found for block {0}")]
StateForHashNotFound(B256),
/// Unable to compute state root on top of historical block.
#[error("unable to compute state root on top of historical block")]
StateRootNotAvailableForHistoricalBlock,
/// Unable to find the block number for a given transaction index.
#[error("unable to find the block number for a given transaction index")]
BlockNumberForTransactionIndexNotFound,