Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Sep 23, 2024
1 parent 9802ba6 commit ecde709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/evm/keeper/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ func (k *Keeper) ApplyMessageWithConfig(
}()
}

sender := vm.AccountRef(msg.From)
stateDB := statedb.NewWithParams(ctx, k, cfg.TxConfig, cfg.Params.EvmDenom)
var evm *vm.EVM
if cfg.Overrides != nil {
Expand All @@ -355,6 +354,7 @@ func (k *Keeper) ApplyMessageWithConfig(
}
}
evm = k.NewEVM(ctx, msg, cfg, stateDB)
sender := vm.AccountRef(msg.From)

rules := cfg.Rules
contractCreation := msg.To == nil
Expand Down

0 comments on commit ecde709

Please sign in to comment.