Skip to main content

decode_node_info

Function decode_node_info 

Source
fn decode_node_info(value: Value) -> Result<(NodeInfo, Option<BlobParams>)>
Expand description

Decodes an anvil_nodeInfo response and the blob params that newer Anvil versions add to it.

WithOtherFields<NodeInfo> cannot decode it: serde’s flatten buffer rejects the u128 retry backoff that fork endpoints report.