From 167068e739815924052ea0e899715a4b802c46be Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Fri, 14 Jan 2022 15:57:46 +0100 Subject: [PATCH] valmon: fix `--validator-monitor-totals` feature (#3286) Else log size explodes for machines with many validators --- beacon_chain/nimbus_beacon_node.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 8bb668da2..c77ebb9ce 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -301,7 +301,7 @@ proc init*(T: type BeaconNode, let validatorMonitor = newClone(ValidatorMonitor.init( - config.validatorMonitorAuto)) + config.validatorMonitorAuto, config.validatorMonitorTotals)) for key in config.validatorMonitorPubkeys: validatorMonitor[].addMonitor(key, none(ValidatorIndex))