Skip to content

Commit 11b7de3

Browse files
authored
fix(injective): replace x/auth/types with /types (cosmos#1397)
1 parent 5896675 commit 11b7de3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

relayer/codecs/injective/codec.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package injective
33
import (
44
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
55
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
6+
"github.com/cosmos/cosmos-sdk/types"
67
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
78
)
89

@@ -20,10 +21,10 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
2021
registry.RegisterImplementations((*cryptotypes.PubKey)(nil), &PubKey{})
2122
registry.RegisterImplementations((*cryptotypes.PrivKey)(nil), &PrivKey{})
2223

23-
registry.RegisterInterface("injective.types.v1beta1.EthAccount", (*authtypes.AccountI)(nil))
24+
registry.RegisterInterface("injective.types.v1beta1.EthAccount", (*types.AccountI)(nil))
2425

2526
registry.RegisterImplementations(
26-
(*authtypes.AccountI)(nil),
27+
(*types.AccountI)(nil),
2728
&EthAccount{},
2829
)
2930

0 commit comments

Comments
 (0)