Skip to content

Commit

Permalink
log genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed Jan 3, 2025
1 parent 12bed94 commit 860b590
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plugin/evm/reprocess_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,14 @@ func reprocess(
t.Logf("Genesis performed: hash: %x, root : %x", bc.CurrentBlock().Hash(), lastRoot)
if tapeRecorder != nil {
t.Logf("Accounts: %d, Storages: %d", len(tapeRecorder.accountWrites), len(tapeRecorder.storageWrites))
if tapeVerbose {
for _, kv := range tapeRecorder.accountWrites {
t.Logf("Account: %x, %x", kv.Key, kv.Value)
}
for _, kv := range tapeRecorder.storageWrites {
t.Logf("Storage: %x, %x", kv.Key, kv.Value)
}
}
}
start = 1
}
Expand Down

0 comments on commit 860b590

Please sign in to comment.