ethereum
ethereum copied to clipboard
Common Ethereum structs for Rust.
`pub struct Account { pub nonce: U256, ... }` But in go ethereum, it is `type Account struct { Nonce uint64 ... } ` looks like 24 bytes are wasted,...
https://github.com/rust-ethereum/ethereum/commit/b160820620aa9fd30050d5fcb306be4e12d58c8c#diff-2a6a2a5c32456901be5ffa0e2d0354f2d48d96a89e486270ae62808c34b6e96fL17 ```patch -#[cfg_attr( - feature = "with-serde", - derive(serde::Serialize, serde::Deserialize), - serde(rename_all = "camelCase") -)] +#[cfg_attr(feature = "with-serde", derive(serde::Serialize, serde::Deserialize))] pub struct AccessListItem { pub address: Address, pub storage_keys: Vec,...