Skip to content

Commit

Permalink
Merge pull request #16 from Solovyov1796/dev-v0.21.0-0glabs-v27.0
Browse files Browse the repository at this point in the history
fix issue about evm debug flag out of control
  • Loading branch information
Solovyov1796 authored Oct 23, 2024
2 parents 6e71976 + 27c3d0b commit 2edbd31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x/evm/keeper/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ func (k Keeper) VMConfig(ctx sdk.Context, msg core.Message, cfg *statedb.EVMConf
}

var debug bool
if _, ok := tracer.(types.NoOpTracer); !ok {
debug = true
if tracer != nil {
if _, ok := tracer.(*types.NoOpTracer); !ok {
debug = true
}
}

return vm.Config{
Expand Down

0 comments on commit 2edbd31

Please sign in to comment.