good first issue
仓库指标
- Star
- (2,194 star)
- PR 合并指标
- (平均合并 1天 14小时) (30 天内合并 32 个 PR)
描述
#[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