Skip to content

Commit

Permalink
fix: Resolve BlockContext usage after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Apr 29, 2024
1 parent da4b882 commit 26c38cc
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 @@ -398,7 +398,7 @@ func (k *Keeper) ApplyMessageWithConfig(ctx sdk.Context,

// The dirty states in `StateDB` is either committed or discarded after return
if commit {
isEIP158 := cfg.ChainConfig.IsEIP158(evm.Context().BlockNumber)
isEIP158 := cfg.ChainConfig.IsEIP158(evm.Context.BlockNumber)
if err := stateDB.Commit(isEIP158); err != nil {
return nil, errorsmod.Wrap(err, "failed to commit stateDB")
}
Expand Down

0 comments on commit 26c38cc

Please sign in to comment.