triedb/pathdb: improve log

This commit is contained in:
Gary Rong 2025-05-13 15:54:38 +08:00
parent 7536daa957
commit b4d741355f

View file

@ -571,7 +571,7 @@ func (g *generator) generateRange(ctx *generatorContext, trieId *trie.ID, prefix
} else { } else {
accountTrieReadCounter.Inc((time.Since(start) - internal).Nanoseconds()) accountTrieReadCounter.Inc((time.Since(start) - internal).Nanoseconds())
} }
logger.Debug("Regenerated state range", "root", trieId.Root, "last", hexutil.Encode(last), logger.Trace("Regenerated state range", "root", trieId.Root, "last", hexutil.Encode(last),
"count", count, "created", created, "updated", updated, "untouched", untouched, "deleted", deleted) "count", count, "created", created, "updated", updated, "untouched", untouched, "deleted", deleted)
// If there are either more trie items, or there are more snap items // If there are either more trie items, or there are more snap items