From 7f498ec85027803391a3aea73d8cb81e6c93a227 Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Sat, 26 Sep 2026 11:20:22 +0300 Subject: [PATCH] use genesis hash but not sha256 of genesis file Signed-off-by: Uncle Stretch --- telemetry-core/Cargo.toml | 2 +- telemetry-core/src/state/chain.rs | 2 +- telemetry-core/src/state/state.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/telemetry-core/Cargo.toml b/telemetry-core/Cargo.toml index c77a08d..75f5b5f 100644 --- a/telemetry-core/Cargo.toml +++ b/telemetry-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-telemetry-core" -version = "0.1.5" +version = "0.1.6" authors = ["Uncle Stinky uncle.stinky@ghostchain.io"] edition = "2021" diff --git a/telemetry-core/src/state/chain.rs b/telemetry-core/src/state/chain.rs index e116fe7..ae4c689 100644 --- a/telemetry-core/src/state/chain.rs +++ b/telemetry-core/src/state/chain.rs @@ -68,7 +68,7 @@ pub struct RemoveNodeResult { /// number of nodes to connect. static FIRST_PARTY_NETWORKS: Lazy> = Lazy::new(|| { let genesis_hash_strs = &[ - "0x74f5a6df5e33dac94a8852ddfb73e472283bba0b30e260ca581919eb50c734db", // Casper runtime v4.0.14 + "0xcaf9c5ddccc7ba6f96149a6b8a81c26a3641742795cd5e7e0aee79bf3f4e77b7", // Casper runtime v4.0.14 ]; genesis_hash_strs diff --git a/telemetry-core/src/state/state.rs b/telemetry-core/src/state/state.rs index c8a7d9c..1cb1089 100644 --- a/telemetry-core/src/state/state.rs +++ b/telemetry-core/src/state/state.rs @@ -278,7 +278,7 @@ mod test { } fn get_valid_genesis() -> BlockHash { - BlockHash::from_str("0x74f5a6df5e33dac94a8852ddfb73e472283bba0b30e260ca581919eb50c734db") + BlockHash::from_str("0xcaf9c5ddccc7ba6f96149a6b8a81c26a3641742795cd5e7e0aee79bf3f4e77b7") .expect("Should be good genesis") }