mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-12 06:46:25 +00:00
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…
x
Reference in New Issue
Block a user