From 11b7de318b5527b0f097475df1865fe472f76ff1 Mon Sep 17 00:00:00 2001 From: Andy Pliszka Date: Tue, 6 Feb 2024 19:21:03 -0500 Subject: [PATCH] fix(injective): replace x/auth/types with /types (#1397) --- relayer/codecs/injective/codec.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/relayer/codecs/injective/codec.go b/relayer/codecs/injective/codec.go index dbed78978..daaf444bf 100644 --- a/relayer/codecs/injective/codec.go +++ b/relayer/codecs/injective/codec.go @@ -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" ) @@ -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{}, )