Skip to content

Commit

Permalink
feat: remove handler.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jan 15, 2024
1 parent aa5a061 commit 36d050f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 73 deletions.
44 changes: 0 additions & 44 deletions x/evm/handler.go

This file was deleted.

7 changes: 5 additions & 2 deletions x/evm/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import (
"github.com/evmos/ethermint/crypto/ethsecp256k1"
"github.com/evmos/ethermint/tests"
ethermint "github.com/evmos/ethermint/types"
"github.com/evmos/ethermint/x/evm"
"github.com/evmos/ethermint/x/evm/statedb"
"github.com/evmos/ethermint/x/evm/types"

Expand Down Expand Up @@ -170,7 +169,11 @@ func (suite *EvmTestSuite) DoSetupTest(t require.TestingT) {
suite.app.StakingKeeper.SetValidator(suite.ctx, validator)

suite.ethSigner = ethtypes.LatestSignerForChainID(suite.app.EvmKeeper.ChainID())
suite.handler = evm.NewHandler(suite.app.EvmKeeper)

// get `ethermintd tx evm raw` msg handler
msg := types.NewTx(nil, 0, nil, nil, 0, nil, nil, nil, nil, nil)
suite.handler = suite.app.MsgServiceRouter().Handler(msg)
require.NotNil(t, suite.handler)
}

func (suite *EvmTestSuite) SetupTest() {
Expand Down
27 changes: 0 additions & 27 deletions x/feemarket/handler.go

This file was deleted.

0 comments on commit 36d050f

Please sign in to comment.