diff --git a/ethers-core/src/utils/genesis.rs b/ethers-core/src/utils/genesis.rs index 232dd7d4..77d072ee 100644 --- a/ethers-core/src/utils/genesis.rs +++ b/ethers-core/src/utils/genesis.rs @@ -130,11 +130,13 @@ pub struct ChainConfig { #[serde(skip_serializing_if = "Option::is_none")] pub merge_netsplit_block: Option, - /// The Shanghai hard fork block. + /// Shanghai switch time. #[serde(skip_serializing_if = "Option::is_none")] - pub shanghai_block: Option, + pub shanghai_time: Option, - /// The Cancun hard fork block. + // TODO: change to cancunTime when is + // merged in geth + /// Cancun hard fork block. #[serde(skip_serializing_if = "Option::is_none")] pub cancun_block: Option,