From 93f377ea34614f69ea1a8d96818a84c056490817 Mon Sep 17 00:00:00 2001 From: Khanh Hoa Date: Tue, 11 Jun 2024 20:43:09 +0700 Subject: [PATCH] fix: some issues when update to sdk50 --- app/keepers/keepers.go | 1 - x/ibctransfermiddleware/keeper/keeper.go | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 777dc93f..7056d342 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -79,7 +79,6 @@ import ( custombankkeeper "github.com/notional-labs/composable/v6/custom/bank/keeper" - pfm "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8/packetforward" pfmkeeper "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8/packetforward/keeper" pfmtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8/packetforward/types" diff --git a/x/ibctransfermiddleware/keeper/keeper.go b/x/ibctransfermiddleware/keeper/keeper.go index 3be002cf..1429d5ff 100644 --- a/x/ibctransfermiddleware/keeper/keeper.go +++ b/x/ibctransfermiddleware/keeper/keeper.go @@ -1,12 +1,18 @@ package keeper import ( + "encoding/json" + "fmt" + "time" + "cosmossdk.io/log" + "github.com/notional-labs/composable/v6/x/ibctransfermiddleware/types" storetypes "cosmossdk.io/store/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" + ibctypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" ) // Keeper of the staking middleware store