Skip to content

Commit

Permalink
fix: fix the hardforks' order (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu authored Jul 8, 2024
1 parent e1124e4 commit e4bf75d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions crates/primitives/src/specification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ pub enum SpecId {
CANYON = 20,
CANCUN = 21,
ECOTONE = 22,
FJORD = 23,
PRAGUE = 24,
PRAGUE_EOF = 25,
HABER = 26,
HABER = 23,
FJORD = 24,
PRAGUE = 25,
PRAGUE_EOF = 26,
#[default]
LATEST = u8::MAX,
}
Expand Down Expand Up @@ -527,10 +527,6 @@ macro_rules! spec_to_generic {
use $crate::EcotoneSpec as SPEC;
$e
}
$crate::SpecId::FJORD => {
use $crate::FjordSpec as SPEC;
$e
}
#[cfg(feature = "opbnb")]
$crate::SpecId::FERMAT => {
use $crate::FermatSpec as SPEC;
Expand All @@ -541,6 +537,10 @@ macro_rules! spec_to_generic {
use $crate::HaberSpec as SPEC;
$e
}
$crate::SpecId::FJORD => {
use $crate::FjordSpec as SPEC;
$e
}
}
}};
}
Expand Down

0 comments on commit e4bf75d

Please sign in to comment.