Skip to content

Commit

Permalink
fix(injective): replace x/auth/types with /types (cosmos#1397)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiTyping authored Feb 7, 2024
1 parent 5896675 commit 11b7de3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions relayer/codecs/injective/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package injective
import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
)

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

registry.RegisterInterface("injective.types.v1beta1.EthAccount", (*authtypes.AccountI)(nil))
registry.RegisterInterface("injective.types.v1beta1.EthAccount", (*types.AccountI)(nil))

registry.RegisterImplementations(
(*authtypes.AccountI)(nil),
(*types.AccountI)(nil),
&EthAccount{},
)

Expand Down

0 comments on commit 11b7de3

Please sign in to comment.