From 03e62dce1aed60d4f3a1abaac7193b0a14edda9e Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Sat, 21 Jan 2023 11:02:01 +0700 Subject: [PATCH] e3: to fix integration tests (#6649) --- turbo/stages/mock_sentry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbo/stages/mock_sentry.go b/turbo/stages/mock_sentry.go index 0f3fa5bce..50ce452c0 100644 --- a/turbo/stages/mock_sentry.go +++ b/turbo/stages/mock_sentry.go @@ -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) }