-
Notifications
You must be signed in to change notification settings - Fork 830
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct AccountInfo {
matches the non standard eth_getAccountInfo
endpoint response:
this means for an rpc db this could be replaced with single rpc call if the node supports that endpoint and directly deserialize into revm AccountInfo if deserialize is manually impl so that the codehash is computed during deserde
let (nonce, balance, code) = tokio::join!(nonce, balance, code,);
TODO
- add manual deserde that in addition to the current format also supports the eth_getAccountInfo response
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers