Skip to content

Commit

Permalink
revert renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Oct 27, 2023
1 parent 159c4d1 commit 0115155
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions x/evm/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,10 @@ func (k *Keeper) traceTx(
) (*interface{}, uint, error) {
// Assemble the structured logger or the JavaScript tracer
var (
tracer tracers.Tracer
overrideCfg *ethparams.ChainConfig
err error
timeout = defaultTraceTimeout
tracer tracers.Tracer
overrides *ethparams.ChainConfig
err error
timeout = defaultTraceTimeout
)
msg, err := tx.AsMessage(signer, cfg.BaseFee)
if err != nil {
Expand All @@ -569,7 +569,7 @@ func (k *Keeper) traceTx(
}

if traceConfig.Overrides != nil {
overrideCfg = traceConfig.Overrides.EthereumConfig(cfg.ChainConfig.ChainID)
overrides = traceConfig.Overrides.EthereumConfig(cfg.ChainConfig.ChainID)
}

logConfig := logger.Config{
Expand All @@ -579,7 +579,7 @@ func (k *Keeper) traceTx(
EnableReturnData: traceConfig.EnableReturnData,
Debug: traceConfig.Debug,
Limit: int(traceConfig.Limit),
Overrides: overrideCfg,
Overrides: overrides,
}

tracer = logger.NewStructLogger(&logConfig)
Expand Down

0 comments on commit 0115155

Please sign in to comment.