fix(types/proof): add address field (#899)

This commit is contained in:
Tarrence van As 2022-02-11 14:49:46 -08:00 committed by GitHub
parent cdaac16f0a
commit d4eb78730a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
use crate::types::{Bytes, H256, U256}; use crate::types::{Address, Bytes, H256, U256};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
#[derive(Debug, Default, Clone, PartialEq, Deserialize, Serialize)] #[derive(Debug, Default, Clone, PartialEq, Deserialize, Serialize)]
@ -10,6 +10,7 @@ pub struct StorageProof {
#[derive(Debug, Default, Clone, PartialEq, Deserialize, Serialize)] #[derive(Debug, Default, Clone, PartialEq, Deserialize, Serialize)]
pub struct EIP1186ProofResponse { pub struct EIP1186ProofResponse {
address: Address,
balance: U256, balance: U256,
code_hash: H256, code_hash: H256,
nonce: U256, nonce: U256,