feat(tests): add Osaka fork specification to ForkSpec enum (#20120)

This commit is contained in:
Ignacio Hagopian
2025-12-04 11:33:38 -03:00
committed by GitHub
parent 282932d3eb
commit 409b74fc36

View File

@@ -317,6 +317,8 @@ pub enum ForkSpec {
CancunToPragueAtTime15k,
/// Prague
Prague,
/// Osaka
Osaka,
}
impl From<ForkSpec> for ChainSpec {
@@ -371,6 +373,7 @@ impl From<ForkSpec> for ChainSpec {
.cancun_activated()
.with_fork(EthereumHardfork::Prague, ForkCondition::Timestamp(15_000)),
ForkSpec::Prague => spec_builder.prague_activated(),
ForkSpec::Osaka => spec_builder.osaka_activated(),
}
.build()
}