mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(trie): StorageRootProvider (#10592)
This commit is contained in:
@ -4,6 +4,7 @@ use reth_primitives::{
|
||||
};
|
||||
use reth_storage_api::{
|
||||
AccountReader, BlockHashReader, StateProofProvider, StateProvider, StateRootProvider,
|
||||
StorageRootProvider,
|
||||
};
|
||||
use reth_storage_errors::provider::ProviderResult;
|
||||
use reth_trie::{
|
||||
@ -99,7 +100,9 @@ impl StateRootProvider for StateProviderTest {
|
||||
) -> ProviderResult<(B256, TrieUpdates)> {
|
||||
unimplemented!("state root computation is not supported")
|
||||
}
|
||||
}
|
||||
|
||||
impl StorageRootProvider for StateProviderTest {
|
||||
fn hashed_storage_root(
|
||||
&self,
|
||||
_address: Address,
|
||||
|
||||
Reference in New Issue
Block a user