mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use shorter map names (#14445)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
//! Implements a state provider that has a shared cache in front of it.
|
||||
use alloy_primitives::{map::B256HashMap, Address, StorageKey, StorageValue, B256};
|
||||
use alloy_primitives::{map::B256Map, Address, StorageKey, StorageValue, B256};
|
||||
use metrics::Gauge;
|
||||
use mini_moka::sync::CacheBuilder;
|
||||
use reth_errors::ProviderResult;
|
||||
@ -273,7 +273,7 @@ impl<S: StateProofProvider> StateProofProvider for CachedStateProvider<S> {
|
||||
&self,
|
||||
input: TrieInput,
|
||||
target: HashedPostState,
|
||||
) -> ProviderResult<B256HashMap<alloy_primitives::Bytes>> {
|
||||
) -> ProviderResult<B256Map<alloy_primitives::Bytes>> {
|
||||
self.state_provider.witness(input, target)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user