Skip to content

Commit

Permalink
fix merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee committed Aug 25, 2023
1 parent 8072011 commit b5e83e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arbos/tx_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (p *TxProcessor) ExecuteWASM(scope *vm.ScopeContext, input []byte, interpre
acting := contract.Address()

var tracingInfo *util.TracingInfo
if interpreter.Config().Debug {
if interpreter.Config().Tracer != nil {
caller := contract.CallerAddress
tracingInfo = util.NewTracingInfo(interpreter.Evm(), caller, acting, util.TracingDuringEVM)
}
Expand Down
4 changes: 2 additions & 2 deletions system_tests/program_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,9 @@ func setupProgramTest(t *testing.T, file string, jit bool) (
l2config.BlockValidator.Enable = false
l2config.Staker.Enable = true
l2config.BatchPoster.Enable = true
l2config.L1Reader.Enable = true
l2config.ParentChainReader.Enable = true
l2config.Sequencer.MaxRevertGasReject = 0
l2config.L1Reader.OldHeaderTimeout = 10 * time.Minute
l2config.ParentChainReader.OldHeaderTimeout = 10 * time.Minute
valConf := valnode.TestValidationConfig
valConf.UseJit = jit
_, valStack := createTestValidationNode(t, ctx, &valConf)
Expand Down

0 comments on commit b5e83e1

Please sign in to comment.