feat(trie): pass state reference to StateProofProvider::proof (#9308)

This commit is contained in:
Roman Krasiuk
2024-07-05 03:45:08 -07:00
committed by GitHub
parent 61b8ff1dc5
commit 36d74400e6
11 changed files with 58 additions and 15 deletions

View File

@ -79,7 +79,12 @@ impl StateRootProvider for StateProviderTest {
}
impl StateProofProvider for StateProviderTest {
fn proof(&self, _address: Address, _slots: &[B256]) -> ProviderResult<AccountProof> {
fn proof(
&self,
_state: &BundleState,
_address: Address,
_slots: &[B256],
) -> ProviderResult<AccountProof> {
unimplemented!("proof generation is not supported")
}
}