Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/networks/butterflynet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub static HEIGHT_INFOS: LazyLock<HashMap<Height, HeightInfo>> = LazyLock::new(|
make_height!(Teep, 50, get_bundle_cid("v16.0.1")),
make_height!(Tock, 100),
make_height!(GoldenWeek, 200, get_bundle_cid("v17.0.0")),
make_height!(Xxx, i64::MAX),
make_height!(FireHorse, i64::MAX),
])
});

Expand Down
2 changes: 1 addition & 1 deletion src/networks/calibnet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub static HEIGHT_INFOS: LazyLock<HashMap<Height, HeightInfo>> = LazyLock::new(|
make_height!(TockFix, 2_558_014, get_bundle_cid("v16.0.1")),
// Wed 10 Sep 23:00:00 UTC 2025
make_height!(GoldenWeek, 3_007_294, get_bundle_cid("v17.0.0")),
make_height!(Xxx, i64::MAX),
make_height!(FireHorse, i64::MAX),
])
});

Expand Down
4 changes: 2 additions & 2 deletions src/networks/devnet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ pub static HEIGHT_INFOS: LazyLock<HashMap<Height, HeightInfo>> = LazyLock::new(|
get_bundle_cid("v17.0.0")
),
make_height!(
Xxx,
get_upgrade_height_from_env("FOREST_XXX_HEIGHT").unwrap_or(9999999999)
FireHorse,
get_upgrade_height_from_env("FOREST_FIREHORSE_HEIGHT").unwrap_or(9999999999)
),
])
});
Expand Down
2 changes: 1 addition & 1 deletion src/networks/mainnet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub static HEIGHT_INFOS: LazyLock<HashMap<Height, HeightInfo>> = LazyLock::new(|
make_height!(Tock, 4_878_840 + EPOCHS_IN_DAY * 90),
// Wed 24 Sep 23:00:00 UTC 2025
make_height!(GoldenWeek, 5_348_280, get_bundle_cid("v17.0.0")),
make_height!(Xxx, i64::MAX),
make_height!(FireHorse, i64::MAX),
])
});

Expand Down
6 changes: 3 additions & 3 deletions src/networks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ pub enum Height {
Tock,
TockFix,
GoldenWeek,
Xxx,
FireHorse,
}

impl From<Height> for NetworkVersion {
Expand Down Expand Up @@ -217,7 +217,7 @@ impl From<Height> for NetworkVersion {
Height::Tock => NetworkVersion::V26,
Height::TockFix => NetworkVersion::V26,
Height::GoldenWeek => NetworkVersion::V27,
Height::Xxx => NetworkVersion::V28,
Height::FireHorse => NetworkVersion::V28,
}
}
}
Expand Down Expand Up @@ -665,7 +665,7 @@ mod tests {
Height::TukTuk,
Height::Teep,
Height::GoldenWeek,
Height::Xxx,
Height::FireHorse,
];

for height in &REQUIRED_HEIGHTS {
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/methods/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3278,7 +3278,7 @@ impl TryFrom<&ChainConfig> for ForkUpgradeParams {
upgrade_teep_height: get_height(Teep)?,
upgrade_tock_height: get_height(Tock)?,
upgrade_golden_week_height: get_height(GoldenWeek)?,
//upgrade_xxx_height: get_height(Xxx)?,
//upgrade_firehorse_height: get_height(FireHorse)?,
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/state_migration/nv28/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ where
{
let new_manifest_cid = chain_config
.height_infos
.get(&Height::Xxx)
.get(&Height::FireHorse)
.context("no height info for network version NV28")?
.bundle
.as_ref()
Expand Down
12 changes: 8 additions & 4 deletions src/utils/misc/logo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn reveal_upgrade_logo(network_version: NetworkVersion) {
NetworkVersion::V24 => reveal_tuktuk_upgrade(),
NetworkVersion::V25 => reveal_teep_upgrade(),
NetworkVersion::V27 => reveal_golden_week_upgrade(),
NetworkVersion::V28 => reveal_xxx_upgrade(),
NetworkVersion::V28 => reveal_fire_horse_upgrade(),
_ => reveal_three_trees(),
}
}
Expand Down Expand Up @@ -241,11 +241,15 @@ fn reveal_golden_week_upgrade() {
);
}

/// Reveals the `Xxx` upgrade logo.
fn reveal_xxx_upgrade() {
fn reveal_fire_horse_upgrade() {
info!(
r###"
Xxx!
,--,
_ ___/ /\|
,;'( )__, ) ~
// // '--;
' \ | ^
^ ^
"###
);
}
Loading