mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Results to MockEthProvider (#5556)
This commit is contained in:
@ -502,14 +502,14 @@ impl AccountReader for MockEthProvider {
|
|||||||
|
|
||||||
impl StateRootProvider for MockEthProvider {
|
impl StateRootProvider for MockEthProvider {
|
||||||
fn state_root(&self, _bundle_state: &BundleStateWithReceipts) -> ProviderResult<B256> {
|
fn state_root(&self, _bundle_state: &BundleStateWithReceipts) -> ProviderResult<B256> {
|
||||||
todo!()
|
Ok(B256::default())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn state_root_with_updates(
|
fn state_root_with_updates(
|
||||||
&self,
|
&self,
|
||||||
_bundle_state: &BundleStateWithReceipts,
|
_bundle_state: &BundleStateWithReceipts,
|
||||||
) -> ProviderResult<(B256, TrieUpdates)> {
|
) -> ProviderResult<(B256, TrieUpdates)> {
|
||||||
todo!()
|
Ok((B256::default(), Default::default()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -536,7 +536,7 @@ impl StateProvider for MockEthProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn proof(&self, _address: Address, _keys: &[B256]) -> ProviderResult<AccountProof> {
|
fn proof(&self, _address: Address, _keys: &[B256]) -> ProviderResult<AccountProof> {
|
||||||
todo!()
|
Ok(AccountProof::default())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user