Skip to content

Commit

Permalink
fix: add logger arg
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Dec 2, 2024
1 parent 6395163 commit bcf5f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion op-e2e/e2eutils/disputegame/output_asterisc_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion op-e2e/faultproofs/precompile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit bcf5f95

Please sign in to comment.