Skip to content

Commit

Permalink
chore: update TestApplyMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
arrivets committed Oct 23, 2024
1 parent e942116 commit 5be6f4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/evm/keeper/state_transition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ func (suite *StateTransitionTestSuite) TestApplyMessage() {
chainCfg := keeperParams.ChainConfig.EthereumConfig(suite.App.EvmKeeper.ChainID())
rules := chainCfg.Rules(big.NewInt(suite.Ctx.BlockHeight()), chainCfg.MergeNetsplitBlock != nil, uint64(suite.Ctx.BlockHeader().Time.Unix()))
signer := ethtypes.LatestSignerForChainID(suite.App.EvmKeeper.ChainID())
tracer := types.NewTracer("", msg, rules)
vmdb := suite.StateDB()

msg, err = newNativeMessage(
Expand All @@ -635,6 +634,8 @@ func (suite *StateTransitionTestSuite) TestApplyMessage() {
)
suite.Require().NoError(err)

tracer := types.NewTracer("", msg, rules)

res, err := suite.App.EvmKeeper.ApplyMessage(suite.Ctx, msg, tracer, true)

suite.Require().NoError(err)
Expand Down

0 comments on commit 5be6f4c

Please sign in to comment.