e3: to fix integration tests (#6649)

This commit is contained in:
Alex Sharov 2023-01-21 11:02:01 +07:00 committed by GitHub
parent 2a9ae52c9e
commit 03e62dce1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,7 +244,7 @@ func MockWithEverything(t *testing.T, gspec *core.Genesis, key *ecdsa.PrivateKey
var agg *libstate.AggregatorV3
if cfg.HistoryV3 {
dir.MustExist(dirs.SnapHistory)
agg, err = libstate.NewAggregator22(ctx, dirs.SnapHistory, dirs.Tmp, 16, db)
agg, err = libstate.NewAggregator22(ctx, dirs.SnapHistory, dirs.Tmp, ethconfig.HistoryV3AggregationStep, db)
if err != nil {
panic(err)
}