pub fn serialize_chain_config_go_style(config: &Value) -> Vec<u8> ⓘExpand description
Serialize a chain-config JSON object the way Go’s json.Marshal of
params.ChainConfig would. Field order, address casing, and which
fields are emitted (vs. dropped via omitempty) match Go’s encoder so
the resulting bytes are byte-identical to what ArbOS init stores in the
chain_config subspace at genesis.