diff --git a/ethers-core/src/types/proof.rs b/ethers-core/src/types/proof.rs index 011c3576..a1d9cc17 100644 --- a/ethers-core/src/types/proof.rs +++ b/ethers-core/src/types/proof.rs @@ -1,4 +1,4 @@ -use crate::types::{Address, Bytes, H256, U256}; +use crate::types::{Address, Bytes, H256, U256, U64}; use serde::{Deserialize, Serialize}; #[derive(Debug, Default, Clone, PartialEq, Eq, Deserialize, Serialize)] @@ -11,13 +11,13 @@ pub struct StorageProof { #[derive(Debug, Default, Clone, PartialEq, Eq, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub struct EIP1186ProofResponse { - address: Address, - balance: U256, - code_hash: H256, - nonce: U256, - storage_hash: H256, - account_proof: Vec, - storage_proof: Vec, + pub address: Address, + pub balance: U256, + pub code_hash: H256, + pub nonce: U64, + pub storage_hash: H256, + pub account_proof: Vec, + pub storage_proof: Vec, } #[cfg(test)]