From 83b116a511190a625d30a334b7b3d7259c05d120 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 31 Jan 2024 09:13:54 +0800 Subject: [PATCH 1/2] Problem: no concrete type registered for type URL of EthAccount this change should have been included in c0783eb07f3ef199955824f7e5b84f0a91620f11 --- CHANGELOG.md | 1 + relayer/codecs/ethermint/codec.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbf85c578..1283761da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ * [\#1325](https://github.com/cosmos/relayer/pull/1325) Ignore only file not exist error when loadConfigFile. * [\#1326](https://github.com/cosmos/relayer/pull/1326) Avoid sending channel close confirm message after channel get closed successfully. * [\#1364](https://github.com/cosmos/relayer/pull/1364) Include feegrant message when calculate gas. +* [\#](https://github.com/cosmos/relayer/pull/) Avoid no concrete type registered for type URL error of EthAccount. ## v0.9.3 diff --git a/relayer/codecs/ethermint/codec.go b/relayer/codecs/ethermint/codec.go index 65f4df8b9..7982abbdd 100644 --- a/relayer/codecs/ethermint/codec.go +++ b/relayer/codecs/ethermint/codec.go @@ -3,6 +3,7 @@ package ethermint import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/tx" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/relayer/v2/relayer/ethermint" @@ -14,7 +15,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { registry.RegisterImplementations((*cryptotypes.PrivKey)(nil), &PrivKey{}) registry.RegisterImplementations( - (*authtypes.AccountI)(nil), + (*sdk.AccountI)(nil), &EthAccount{}, ) registry.RegisterImplementations( From fedebf590630741b741e108fd4909a51a97ba76f Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 31 Jan 2024 09:15:44 +0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1283761da..fe923eecd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,7 @@ * [\#1325](https://github.com/cosmos/relayer/pull/1325) Ignore only file not exist error when loadConfigFile. * [\#1326](https://github.com/cosmos/relayer/pull/1326) Avoid sending channel close confirm message after channel get closed successfully. * [\#1364](https://github.com/cosmos/relayer/pull/1364) Include feegrant message when calculate gas. -* [\#](https://github.com/cosmos/relayer/pull/) Avoid no concrete type registered for type URL error of EthAccount. +* [\#1390](https://github.com/cosmos/relayer/pull/1390) Avoid no concrete type registered for type URL error of EthAccount. ## v0.9.3