additional startup logging

This commit is contained in:
Jacek Sieka 2021-12-15 11:07:32 +01:00
parent f68aa9218f
commit 0f44d2eff7
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
2 changed files with 7 additions and 0 deletions

View File

@ -443,6 +443,8 @@ proc init*(T: type BeaconNode,
onAttestationSent: onAttestationSent,
)
debug "Loading validators", validatorsDir = config.validatorsDir()
node.addValidators()
block:

View File

@ -652,6 +652,11 @@ proc initCompatV1*(T: type SlashingProtectionDB_v2,
# Cached queries
result.db.setupCachedQueries()
debug "Loaded slashing protection (v2)",
genesis_validators_root = shortLog(genesis_validators_root),
requiresMigration = result.requiresMigration,
basePath, dbname
# Resource Management
# -------------------------------------------------------------