Skip to content

Commit 59cc7fb

Browse files
authored
Revert "cmd/geth: print progress logs when iterating large contracts too (ethereum#28179)"
This reverts commit d19fe8e.
1 parent bd188a4 commit 59cc7fb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmd/geth/snapshot.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,6 @@ func traverseState(ctx *cli.Context) error {
332332
storageIter := trie.NewIterator(storageIt)
333333
for storageIter.Next() {
334334
slots += 1
335-
336-
if time.Since(lastReport) > time.Second*8 {
337-
log.Info("Traversing state", "accounts", accounts, "slots", slots, "codes", codes, "elapsed", common.PrettyDuration(time.Since(start)))
338-
lastReport = time.Now()
339-
}
340335
}
341336
if storageIter.Err != nil {
342337
log.Error("Failed to traverse storage trie", "root", acc.Root, "err", storageIter.Err)
@@ -491,10 +486,6 @@ func traverseRawState(ctx *cli.Context) error {
491486
if storageIter.Leaf() {
492487
slots += 1
493488
}
494-
if time.Since(lastReport) > time.Second*8 {
495-
log.Info("Traversing state", "nodes", nodes, "accounts", accounts, "slots", slots, "codes", codes, "elapsed", common.PrettyDuration(time.Since(start)))
496-
lastReport = time.Now()
497-
}
498489
}
499490
if storageIter.Error() != nil {
500491
log.Error("Failed to traverse storage trie", "root", acc.Root, "err", storageIter.Error())

0 commit comments

Comments
 (0)