revm_statetest_types/account_info.rs
use revm::primitives::{Bytes, HashMap, U256};
use serde::Deserialize;
use crate::deserializer::deserialize_str_as_u64;
/// Account information.
#[derive(Clone, Debug, PartialEq, Eq, Deserialize)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
pub struct AccountInfo {
pub balance: U256,
pub code: Bytes,
#[serde(deserialize_with = "deserialize_str_as_u64")]
pub nonce: u64,
pub storage: HashMap<U256, U256>,
}