Skip to content

Commit

Permalink
Merge pull request #3011 from Juliusan/prune-state-manager
Browse files Browse the repository at this point in the history
Logging update
  • Loading branch information
shufps authored Oct 26, 2023
2 parents 7825645 + a84af03 commit c44b341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chain/statemanager/sm_gpa/state_manager_gpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c44b341

Please sign in to comment.