From d11650c843944eb97298efca56407f4cfae72e8e Mon Sep 17 00:00:00 2001 From: bizk Date: Mon, 11 Sep 2023 15:13:45 -0300 Subject: [PATCH] small update on plugin file --- .github/workflows/rosetta-cli-test.yaml | 2 -- plugins/cosmos-hub/main.go | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rosetta-cli-test.yaml b/.github/workflows/rosetta-cli-test.yaml index 93dfb57..b3fe94a 100644 --- a/.github/workflows/rosetta-cli-test.yaml +++ b/.github/workflows/rosetta-cli-test.yaml @@ -31,8 +31,6 @@ jobs: strategy: fail-fast: true steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - name: review run: cat ./plugins/cosmos-hub/main.go - name: Build Rosetta diff --git a/plugins/cosmos-hub/main.go b/plugins/cosmos-hub/main.go index f0e07c5..4869ae3 100644 --- a/plugins/cosmos-hub/main.go +++ b/plugins/cosmos-hub/main.go @@ -3,9 +3,9 @@ package main import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - ibcclienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" + ibcTypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" - ibcLightClient "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" + ibcClient "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" sdk "github.com/cosmos/cosmos-sdk/types" txtypes "github.com/cosmos/cosmos-sdk/types/tx" @@ -20,8 +20,8 @@ func InitZone() { } func RegisterInterfaces(registry codectypes.InterfaceRegistry) { - ibcclienttypes.RegisterInterfaces(registry) - ibcLightClient.RegisterInterfaces(registry) + ibcTypes.RegisterInterfaces(registry) + ibcClient.RegisterInterfaces(registry) sdk.RegisterInterfaces(registry) txtypes.RegisterInterfaces(registry) cryptocodec.RegisterInterfaces(registry)