foundry_common::evm

Function id

Source
fn id<S: Serializer>(chain: &Option<Chain>, s: S) -> Result<S::Ok, S::Error>
Expand description

We have to serialize chain IDs and not names because when extracting an EVM Env, it expects chain_id to be u64.