mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-08 15:03:58 -05:00
feat(tests): add Osaka fork specification to ForkSpec enum (#20120)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user