From b6e970eda6aeb5325768fd02ded4af3efd13a281 Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 10 Oct 2023 21:10:50 +0000 Subject: [PATCH] fix bug and add account output on build for debugging --- k8s-cluster/src/genesis.rs | 4 ++++ k8s-cluster/src/main.rs | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/k8s-cluster/src/genesis.rs b/k8s-cluster/src/genesis.rs index 7c483cd9538925..8c349905d2ec96 100644 --- a/k8s-cluster/src/genesis.rs +++ b/k8s-cluster/src/genesis.rs @@ -230,6 +230,10 @@ impl Genesis { let keypair = generate_keypair()?; self.all_pubkeys.push(keypair.pubkey()); + if account == "identity" { + info!("identity: {:?}", keypair.pubkey()); + } + if let Some(outfile) = outfile.to_str() { output_keypair(&keypair, outfile) .map_err(|err| format!("Unable to write {outfile}: {err}"))?; diff --git a/k8s-cluster/src/main.rs b/k8s-cluster/src/main.rs index 387a0ac0186cc1..bf54b75b6379b2 100644 --- a/k8s-cluster/src/main.rs +++ b/k8s-cluster/src/main.rs @@ -382,7 +382,9 @@ async fn main() { Some(limit_ledger_size) } else { None - } + }, + skip_poh_verify: matches.is_present("skip_poh_verify") + }; let wait_for_supermajority: Option = validator_config.wait_for_supermajority;