mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 00:28:20 -05:00
chore: only log chain id and genesis (#1341)
This commit is contained in:
@@ -84,7 +84,8 @@ impl ImportCommand {
|
||||
let db = Arc::new(init_db(&self.db)?);
|
||||
info!(target: "reth::cli", "Database opened");
|
||||
|
||||
debug!(target: "reth::cli", chainspec=?self.chain, "Initializing genesis");
|
||||
debug!(target: "reth::cli", chain=%self.chain.chain, genesis=?self.chain.genesis_hash(), "Initializing genesis");
|
||||
|
||||
init_genesis(db.clone(), self.chain.clone())?;
|
||||
|
||||
// create a new FileClient
|
||||
|
||||
@@ -122,7 +122,8 @@ impl Command {
|
||||
|
||||
self.start_metrics_endpoint()?;
|
||||
|
||||
debug!(target: "reth::cli", chainspec=?self.chain, "Initializing genesis");
|
||||
debug!(target: "reth::cli", chain=%self.chain.chain, genesis=?self.chain.genesis_hash(), "Initializing genesis");
|
||||
|
||||
init_genesis(db.clone(), self.chain.clone())?;
|
||||
|
||||
let consensus = self.init_consensus()?;
|
||||
|
||||
Reference in New Issue
Block a user