Skip to content

Commit

Permalink
fix ibc-go v7 -> v8
Browse files Browse the repository at this point in the history
  • Loading branch information
antstalepresh committed Jul 23, 2024
1 parent c7f44e7 commit 155d3c5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
feegrantkeeper "cosmossdk.io/x/feegrant/keeper"
feegrantmodule "cosmossdk.io/x/feegrant/module"
"cosmossdk.io/x/tx/signing"
kujiracryptocodec "github.com/Team-Kujira/core/crypto/codec"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
Expand Down Expand Up @@ -295,6 +296,8 @@ func New(

std.RegisterLegacyAminoCodec(legacyAmino)
std.RegisterInterfaces(interfaceRegistry)
kujiracryptocodec.RegisterCrypto(legacyAmino)
kujiracryptocodec.RegisterInterfaces(interfaceRegistry)

bApp := baseapp.NewBaseApp(Name, logger, db, txConfig.TxDecoder(), baseAppOptions...)
bApp.SetCommitMultiStoreTracer(traceStore)
Expand Down
2 changes: 1 addition & 1 deletion wasmbinding/message_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"

"github.com/Team-Kujira/core/wasmbinding/bindings"
ibctransferkeeper "github.com/cosmos/ibc-go/v7/modules/apps/transfer/keeper"
ibctransferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper"

batchkeeper "github.com/Team-Kujira/core/x/batch/keeper"
batch "github.com/Team-Kujira/core/x/batch/wasm"
Expand Down
4 changes: 2 additions & 2 deletions x/cw-ica/keeper/transfer_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/Team-Kujira/core/x/cw-ica/types"
sdk "github.com/cosmos/cosmos-sdk/types"
transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types"
channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
transfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types"
channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
)

// HandleAcknowledgement passes the acknowledgement data to the appropriate contract via a Sudo call.
Expand Down
10 changes: 5 additions & 5 deletions x/cw-ica/transfer_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package cwica
import (
"github.com/Team-Kujira/core/x/cw-ica/keeper"
sdk "github.com/cosmos/cosmos-sdk/types"
capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types"
ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported"
capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
porttypes "github.com/cosmos/ibc-go/v8/modules/core/05-port/types"
ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported"
)

var _ porttypes.Middleware = &IBCMiddleware{}
Expand Down
2 changes: 1 addition & 1 deletion x/denom/keeper/no_fee_accounts.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keeper

import (
"github.com/cosmos/cosmos-sdk/store/prefix"
"cosmossdk.io/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/Team-Kujira/core/x/denom/types"
Expand Down

0 comments on commit 155d3c5

Please sign in to comment.