fix: eth_getProof response (#12370)

This commit is contained in:
Arsenii Kulikov
2024-11-07 23:31:17 +04:00
committed by GitHub
parent d0baf926bf
commit 29da7d744a
2 changed files with 18 additions and 9 deletions

View File

@@ -122,7 +122,7 @@ pub trait EthState: LoadState + SpawnBlocking {
let proof = state
.proof(Default::default(), address, &storage_keys)
.map_err(Self::Error::from_eth_err)?;
Ok(from_primitive_account_proof(proof))
Ok(from_primitive_account_proof(proof, keys))
})
.await
})