forked from cerc-io/plugeth
core/state/snapshot: fix benchmarks (#23804)
This commit is contained in:
parent
53f81574e3
commit
526c3f6b9e
@ -388,7 +388,7 @@ func BenchmarkJournal(b *testing.B) {
|
||||
}
|
||||
return newDiffLayer(parent, common.Hash{}, destructs, accounts, storage)
|
||||
}
|
||||
layer := snapshot(new(diskLayer))
|
||||
layer := snapshot(emptyLayer())
|
||||
for i := 1; i < 128; i++ {
|
||||
layer = fill(layer)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user