chore: use shorter map names (#14445)

This commit is contained in:
DaniPopes
2025-02-12 12:59:42 +01:00
committed by GitHub
parent 9090125f0d
commit fc7a3e5bc6
30 changed files with 90 additions and 108 deletions

View File

@ -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)
}
}