good first issue
Repository metrics
- Stars
- (2,194 stars)
- PR merge metrics
- (平均マージ 1d 14h) (30d で 32 merged PRs)
説明
#[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