Skip to content

Commit

Permalink
chore: remove abic file and use simapp vote extension handler
Browse files Browse the repository at this point in the history
  • Loading branch information
kenta92115 committed Mar 22, 2024
1 parent 21701d7 commit 4e1e1e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 85 deletions.
84 changes: 0 additions & 84 deletions app/abci.go

This file was deleted.

3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ import (
"swisstronik/ethereum/eip712"

sdkmath "cosmossdk.io/math"
"cosmossdk.io/simapp"
addresscodec "github.com/cosmos/cosmos-sdk/codec/address"
"github.com/cosmos/cosmos-sdk/types/mempool"
"github.com/cosmos/cosmos-sdk/x/consensus"
Expand Down Expand Up @@ -313,7 +314,7 @@ func New(
eip712.SetEncodingConfig(encodingConfig)
// create and set dummy vote extension handler
voteExtOp := func(bApp *baseapp.BaseApp) {
voteExtHandler := NewVoteExtensionHandler()
voteExtHandler := simapp.NewVoteExtensionHandler()
voteExtHandler.SetHandlers(bApp)
}
baseAppOptions = append(baseAppOptions, voteExtOp, baseapp.SetOptimisticExecution())
Expand Down

0 comments on commit 4e1e1e2

Please sign in to comment.