From a84af030e1c3900c7b47176e45e76f1f2c6aa863 Mon Sep 17 00:00:00 2001 From: Julius Andrikonis Date: Thu, 26 Oct 2023 08:55:13 +0300 Subject: [PATCH] Logging update --- packages/chain/statemanager/sm_gpa/state_manager_gpa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/chain/statemanager/sm_gpa/state_manager_gpa.go b/packages/chain/statemanager/sm_gpa/state_manager_gpa.go index 1a0dc13051..fdd60495c3 100644 --- a/packages/chain/statemanager/sm_gpa/state_manager_gpa.go +++ b/packages/chain/statemanager/sm_gpa/state_manager_gpa.go @@ -638,7 +638,7 @@ func (smT *stateManagerGPA) pruneStore(commitment *state.L1Commitment, stateInde } smT.chainOfBlocks.RemoveStart() smT.metrics.StatePruned(time.Since(singleStart), bi.blockIndex) - smT.log.Debugf("Trie root %s pruned: %v nodes and %v values deleted", bi.trieRoot, stats.DeletedNodes, stats.DeletedValues) + smT.log.Debugf("Block index %v %s pruned: %v nodes and %v values deleted", bi.blockIndex, bi.trieRoot, stats.DeletedNodes, stats.DeletedValues) } smT.metrics.PruningCompleted(time.Since(start), i) smT.log.Debugf("Pruning completed, %v trie roots pruned", i)