mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(trie): StorageRootProvider::storage_multiproof (#12879)
This commit is contained in:
@ -11,8 +11,8 @@ use reth_storage_api::{
|
||||
};
|
||||
use reth_storage_errors::provider::ProviderResult;
|
||||
use reth_trie::{
|
||||
updates::TrieUpdates, AccountProof, HashedPostState, HashedStorage, MultiProof, StorageProof,
|
||||
TrieInput,
|
||||
updates::TrieUpdates, AccountProof, HashedPostState, HashedStorage, MultiProof,
|
||||
StorageMultiProof, StorageProof, TrieInput,
|
||||
};
|
||||
|
||||
/// Mock state for testing
|
||||
@ -112,6 +112,15 @@ impl StorageRootProvider for StateProviderTest {
|
||||
) -> ProviderResult<StorageProof> {
|
||||
unimplemented!("proof generation is not supported")
|
||||
}
|
||||
|
||||
fn storage_multiproof(
|
||||
&self,
|
||||
_address: Address,
|
||||
_slots: &[B256],
|
||||
_hashed_storage: HashedStorage,
|
||||
) -> ProviderResult<StorageMultiProof> {
|
||||
unimplemented!("proof generation is not supported")
|
||||
}
|
||||
}
|
||||
|
||||
impl StateProofProvider for StateProviderTest {
|
||||
|
||||
Reference in New Issue
Block a user