Compare commits

...

2 Commits

Author SHA1 Message Date
69f1427bf2
additional logs for ws connection dropping
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2024-12-15 18:19:03 +03:00
ae56c4baf9
issue with network genesis hash after re-deployment, thanks to f4ts0
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2024-12-15 18:16:36 +03:00
3 changed files with 4 additions and 4 deletions

View File

@ -232,7 +232,7 @@ where
break;
}
if let Err(e) = msg_info {
log::error!("Shutting down websocket connection: Failed to receive data: {e}");
log::error!("Shutting down websocket connection for shard: Failed to receive data: {e}");
break;
}
@ -371,7 +371,7 @@ where
break;
}
if let Err(e) = msg_info {
log::error!("Shutting down websocket connection: Failed to receive data: {e}");
log::error!("Shutting down websocket connection for feed: Failed to receive data: {e}");
break;
}

View File

@ -68,7 +68,7 @@ pub struct RemoveNodeResult {
/// number of nodes to connect.
static FIRST_PARTY_NETWORKS: Lazy<HashSet<BlockHash>> = Lazy::new(|| {
let genesis_hash_strs = &[
"0xce321292c998085ec1c5f5fab1add59fc163a28a5762fa49080215ce6bc040c7", // Casper v0.0.2
"0x7657c8c868863dea692178d462fe9018ac8f1e16f51be31eea8f29274d85525b", // Casper v0.0.2
];
genesis_hash_strs

View File

@ -278,7 +278,7 @@ mod test {
}
fn get_valid_genesis() -> BlockHash {
BlockHash::from_str("0xce321292c998085ec1c5f5fab1add59fc163a28a5762fa49080215ce6bc040c7")
BlockHash::from_str("0x7657c8c868863dea692178d462fe9018ac8f1e16f51be31eea8f29274d85525b")
.expect("Should be good genesis")
}