From bcf5f9565d106f26a7fcfbd8bba9efcf2df715b9 Mon Sep 17 00:00:00 2001 From: refcell Date: Mon, 2 Dec 2024 15:55:51 -0500 Subject: [PATCH] fix: add logger arg --- op-e2e/e2eutils/disputegame/output_asterisc_helper.go | 2 +- op-e2e/faultproofs/precompile_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/op-e2e/e2eutils/disputegame/output_asterisc_helper.go b/op-e2e/e2eutils/disputegame/output_asterisc_helper.go index f911f36f..afca8f2e 100644 --- a/op-e2e/e2eutils/disputegame/output_asterisc_helper.go +++ b/op-e2e/e2eutils/disputegame/output_asterisc_helper.go @@ -77,7 +77,7 @@ func (g *OutputAsteriscGameHelper) CreateHonestActor(ctx context.Context, l2Node prestateProvider := outputs.NewPrestateProvider(rollupClient, actorCfg.PrestateBlock) l1Head := g.GetL1Head(ctx) accessor, err := outputs.NewOutputAsteriscTraceAccessor( - logger, metrics.NoopMetrics, cfg.Asterisc, vm.NewOpProgramServerExecutor(), l2Client, prestateProvider, cfg.AsteriscAbsolutePreState, rollupClient, dir, l1Head, splitDepth, actorCfg.PrestateBlock, actorCfg.PoststateBlock) + logger, metrics.NoopMetrics, cfg.Asterisc, vm.NewOpProgramServerExecutor(logger), l2Client, prestateProvider, cfg.AsteriscAbsolutePreState, rollupClient, dir, l1Head, splitDepth, actorCfg.PrestateBlock, actorCfg.PoststateBlock) g.Require.NoError(err, "Failed to create output asterisc trace accessor") return op_e2e_disputegame.NewOutputHonestHelper(g.T, g.Require, &g.OutputGameHelper, g.Game, accessor) } diff --git a/op-e2e/faultproofs/precompile_test.go b/op-e2e/faultproofs/precompile_test.go index 8c1d86fe..70c79d8e 100644 --- a/op-e2e/faultproofs/precompile_test.go +++ b/op-e2e/faultproofs/precompile_test.go @@ -262,7 +262,7 @@ func runAsterisc(t *testing.T, ctx context.Context, sys *e2esys.System, inputs u asteriscOpts(&cfg) logger := testlog.Logger(t, log.LevelInfo).New("role", "asterisc") - executor := vm.NewExecutor(logger, metrics.NoopMetrics.VmMetrics("asterisc"), cfg.Asterisc, vm.NewOpProgramServerExecutor(), cfg.AsteriscAbsolutePreState, inputs) + executor := vm.NewExecutor(logger, metrics.NoopMetrics.VmMetrics("asterisc"), cfg.Asterisc, vm.NewOpProgramServerExecutor(logger), cfg.AsteriscAbsolutePreState, inputs) t.Log("Running asterisc") err := executor.DoGenerateProof(ctx, proofsDir, math.MaxUint, math.MaxUint, extraVmArgs...)