Skip to content

Commit 0e286cf

Browse files
authored
Merge pull request #283 from InjectiveLabs/fix/consensus-types
Add missing consensus types
2 parents a75fc67 + 612c7e5 commit 0e286cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/chain/context.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import (
3838
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
3939
authztypes "github.com/cosmos/cosmos-sdk/x/authz"
4040
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
41+
consensustypes "github.com/cosmos/cosmos-sdk/x/consensus/types"
4142
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
4243
distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
4344
govv1types "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
@@ -105,6 +106,7 @@ func NewTxConfig(signModes []signingtypes.SignMode) client.TxConfig {
105106
slashingtypes.RegisterInterfaces(interfaceRegistry)
106107
stakingtypes.RegisterInterfaces(interfaceRegistry)
107108
upgradetypes.RegisterInterfaces(interfaceRegistry)
109+
consensustypes.RegisterInterfaces(interfaceRegistry)
108110
feegranttypes.RegisterInterfaces(interfaceRegistry)
109111
wasmtypes.RegisterInterfaces(interfaceRegistry)
110112
icatypes.RegisterInterfaces(interfaceRegistry)
@@ -152,6 +154,7 @@ func NewClientContext(
152154
slashingtypes.RegisterInterfaces(interfaceRegistry)
153155
stakingtypes.RegisterInterfaces(interfaceRegistry)
154156
upgradetypes.RegisterInterfaces(interfaceRegistry)
157+
consensustypes.RegisterInterfaces(interfaceRegistry)
155158
feegranttypes.RegisterInterfaces(interfaceRegistry)
156159
wasmtypes.RegisterInterfaces(interfaceRegistry)
157160
icatypes.RegisterInterfaces(interfaceRegistry)

0 commit comments

Comments
 (0)