From ae56c4baf9d47cf0766ae87aa3888136f6c863d9 Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Sun, 15 Dec 2024 18:16:36 +0300 Subject: [PATCH] issue with network genesis hash after re-deployment, thanks to f4ts0 Signed-off-by: Uncle Stinky --- telemetry-core/src/state/chain.rs | 2 +- telemetry-core/src/state/state.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/telemetry-core/src/state/chain.rs b/telemetry-core/src/state/chain.rs index cefe936..d08bacd 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 = &[ - "0xce321292c998085ec1c5f5fab1add59fc163a28a5762fa49080215ce6bc040c7", // Casper v0.0.2 + "0x7657c8c868863dea692178d462fe9018ac8f1e16f51be31eea8f29274d85525b", // Casper v0.0.2 ]; genesis_hash_strs diff --git a/telemetry-core/src/state/state.rs b/telemetry-core/src/state/state.rs index db81f3e..93b06fa 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("0xce321292c998085ec1c5f5fab1add59fc163a28a5762fa49080215ce6bc040c7") + BlockHash::from_str("0x7657c8c868863dea692178d462fe9018ac8f1e16f51be31eea8f29274d85525b") .expect("Should be good genesis") }