From 7af67b62bf2ba013555d6767f3d6b91f4c7b2f74 Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Fri, 15 Mar 2024 09:31:39 +0300 Subject: [PATCH] update module path Signed-off-by: onur-ozkan --- app/app.go | 16 ++++++++-------- app/encoding.go | 2 +- app/export.go | 2 +- app/simulation_test.go | 2 +- cmd/nucleusd/cmd/config.go | 2 +- cmd/nucleusd/cmd/root.go | 4 ++-- cmd/nucleusd/main.go | 4 ++-- go.mod | 2 +- testutil/keeper/nucleus.go | 4 ++-- testutil/network/network.go | 2 +- x/htlc/abci.go | 6 +++--- x/htlc/client/cli/query.go | 2 +- x/htlc/client/cli/tx.go | 2 +- x/htlc/client/testutil/test_helpers.go | 2 +- x/htlc/genesis.go | 4 ++-- x/htlc/handler.go | 4 ++-- x/htlc/integration_test.go | 2 +- x/htlc/keeper/asset.go | 2 +- x/htlc/keeper/grpc_query.go | 2 +- x/htlc/keeper/htlc.go | 2 +- x/htlc/keeper/integration_test.go | 2 +- x/htlc/keeper/keeper.go | 4 ++-- x/htlc/keeper/msg_server.go | 2 +- x/htlc/keeper/params.go | 2 +- x/htlc/keeper/querier.go | 2 +- x/htlc/module.go | 8 ++++---- x/htlc/simulation/decoder.go | 2 +- x/htlc/simulation/genesis.go | 2 +- x/htlc/simulation/operation.go | 4 ++-- x/htlc/types/cdc.go | 4 ++-- x/htlc/types/conmmon_test.go | 2 +- x/htlc/types/genesis_test.go | 2 +- x/htlc/types/msgs_test.go | 6 +++--- x/htlc/types/params_test.go | 2 +- x/nucleus/client/cli/query.go | 2 +- x/nucleus/client/cli/query_params.go | 2 +- x/nucleus/client/cli/tx.go | 2 +- x/nucleus/genesis.go | 4 ++-- x/nucleus/genesis_test.go | 8 ++++---- x/nucleus/keeper/grpc_query.go | 2 +- x/nucleus/keeper/grpc_query_params.go | 2 +- x/nucleus/keeper/grpc_query_params_test.go | 4 ++-- x/nucleus/keeper/keeper.go | 2 +- x/nucleus/keeper/msg_server.go | 2 +- x/nucleus/keeper/msg_server_test.go | 6 +++--- x/nucleus/keeper/params.go | 2 +- x/nucleus/keeper/params_test.go | 4 ++-- x/nucleus/module.go | 6 +++--- x/nucleus/module_simulation.go | 6 +++--- x/nucleus/types/genesis_test.go | 2 +- 50 files changed, 84 insertions(+), 84 deletions(-) diff --git a/app/app.go b/app/app.go index 1b68d51..aa63072 100644 --- a/app/app.go +++ b/app/app.go @@ -105,16 +105,16 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" dbm "github.com/tendermint/tm-db" - "nucleus/x/htlc" - htlckeeper "nucleus/x/htlc/keeper" - htlctypes "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc" + htlckeeper "github.com/komodoplatform/nucleus/x/htlc/keeper" + htlctypes "github.com/komodoplatform/nucleus/x/htlc/types" - nucleusmodule "nucleus/x/nucleus" - nucleusmodulekeeper "nucleus/x/nucleus/keeper" - nucleusmoduletypes "nucleus/x/nucleus/types" + nucleusmodule "github.com/komodoplatform/nucleus/x/nucleus" + nucleusmodulekeeper "github.com/komodoplatform/nucleus/x/nucleus/keeper" + nucleusmoduletypes "github.com/komodoplatform/nucleus/x/nucleus/types" - appparams "nucleus/app/params" - "nucleus/docs" + appparams "github.com/komodoplatform/nucleus/app/params" + "github.com/komodoplatform/nucleus/docs" ) const ( diff --git a/app/encoding.go b/app/encoding.go index 8d721a8..5dc9d93 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/std" "github.com/cosmos/cosmos-sdk/x/auth/tx" - "nucleus/app/params" + "github.com/komodoplatform/nucleus/app/params" ) // makeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/app/export.go b/app/export.go index 30918a0..750727b 100644 --- a/app/export.go +++ b/app/export.go @@ -3,7 +3,7 @@ package app import ( "encoding/json" "log" - "nucleus/x/htlc" + "github.com/komodoplatform/nucleus/x/htlc" servertypes "github.com/cosmos/cosmos-sdk/server/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/app/simulation_test.go b/app/simulation_test.go index fb7fd6e..4ea6921 100644 --- a/app/simulation_test.go +++ b/app/simulation_test.go @@ -13,7 +13,7 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - "nucleus/app" + "github.com/komodoplatform/nucleus/app" ) func init() { diff --git a/cmd/nucleusd/cmd/config.go b/cmd/nucleusd/cmd/config.go index b512d69..e0a73ef 100644 --- a/cmd/nucleusd/cmd/config.go +++ b/cmd/nucleusd/cmd/config.go @@ -3,7 +3,7 @@ package cmd import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/app" + "github.com/komodoplatform/nucleus/app" ) func initSDKConfig() { diff --git a/cmd/nucleusd/cmd/root.go b/cmd/nucleusd/cmd/root.go index 05606d6..4652b74 100644 --- a/cmd/nucleusd/cmd/root.go +++ b/cmd/nucleusd/cmd/root.go @@ -34,8 +34,8 @@ import ( "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "nucleus/app" - appparams "nucleus/app/params" + "github.com/komodoplatform/nucleus/app" + appparams "github.com/komodoplatform/nucleus/app/params" ) // NewRootCmd creates a new root command for a Cosmos SDK application diff --git a/cmd/nucleusd/main.go b/cmd/nucleusd/main.go index 2f7e5c9..515f1eb 100644 --- a/cmd/nucleusd/main.go +++ b/cmd/nucleusd/main.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "nucleus/app" - "nucleus/cmd/nucleusd/cmd" + "github.com/komodoplatform/nucleus/app" + "github.com/komodoplatform/nucleus/cmd/nucleusd/cmd" ) func main() { diff --git a/go.mod b/go.mod index 1d702c3..3f9cdf5 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module nucleus +module github.com/komodoplatform/nucleus go 1.18 diff --git a/testutil/keeper/nucleus.go b/testutil/keeper/nucleus.go index f6ba97d..94e2add 100644 --- a/testutil/keeper/nucleus.go +++ b/testutil/keeper/nucleus.go @@ -3,8 +3,8 @@ package keeper import ( "testing" - "nucleus/x/nucleus/keeper" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/keeper" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/testutil/network/network.go b/testutil/network/network.go index ab66edb..7689880 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "nucleus/app" + "nucleus/app"github.com/komodoplatform/nucleus/ "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/crypto/hd" diff --git a/x/htlc/abci.go b/x/htlc/abci.go index 7bbaf5c..f3d1a59 100644 --- a/x/htlc/abci.go +++ b/x/htlc/abci.go @@ -7,13 +7,13 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/keeper" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/keeper" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // BeginBlocker handles block beginning logic for HTLC func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { - ctx = ctx.WithLogger(ctx.Logger().With("handler", "beginBlock").With("module", "nucleus/htlc")) + ctx = ctx.WithLogger(ctx.Logger().With("handler", "beginBlock").With("module", "github.com/komodoplatform/nucleus/htlc")) currentBlockHeight := uint64(ctx.BlockHeight()) k.IterateHTLCExpiredQueueByHeight( diff --git a/x/htlc/client/cli/query.go b/x/htlc/client/cli/query.go index 22ac4e4..dfbe9c2 100644 --- a/x/htlc/client/cli/query.go +++ b/x/htlc/client/cli/query.go @@ -13,7 +13,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // GetQueryCmd returns the cli query commands for the module. diff --git a/x/htlc/client/cli/tx.go b/x/htlc/client/cli/tx.go index 5f28532..12f7a92 100644 --- a/x/htlc/client/cli/tx.go +++ b/x/htlc/client/cli/tx.go @@ -14,7 +14,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/version" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // NewTxCmd returns the transaction commands for this module diff --git a/x/htlc/client/testutil/test_helpers.go b/x/htlc/client/testutil/test_helpers.go index f206901..c66ab88 100644 --- a/x/htlc/client/testutil/test_helpers.go +++ b/x/htlc/client/testutil/test_helpers.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - htlccli "nucleus/x/htlc/client/cli" + htlccli "github.com/komodoplatform/nucleus/x/htlc/client/cli" ) // MsgRedelegateExec creates a redelegate message. diff --git a/x/htlc/genesis.go b/x/htlc/genesis.go index 3858c92..7c92ba2 100644 --- a/x/htlc/genesis.go +++ b/x/htlc/genesis.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmbytes "github.com/tendermint/tendermint/libs/bytes" - "nucleus/x/htlc/keeper" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/keeper" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // InitGenesis stores the genesis state diff --git a/x/htlc/handler.go b/x/htlc/handler.go index a3bd803..bfc796d 100644 --- a/x/htlc/handler.go +++ b/x/htlc/handler.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "nucleus/x/htlc/keeper" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/keeper" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // NewHandler creates an sdk.Handler for all the HTLC type messages diff --git a/x/htlc/integration_test.go b/x/htlc/integration_test.go index 74c2a1e..1f0388f 100644 --- a/x/htlc/integration_test.go +++ b/x/htlc/integration_test.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) var ( diff --git a/x/htlc/keeper/asset.go b/x/htlc/keeper/asset.go index a365a9b..bb77d98 100644 --- a/x/htlc/keeper/asset.go +++ b/x/htlc/keeper/asset.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // IncrementCurrentAssetSupply increments an asset's supply by the coin diff --git a/x/htlc/keeper/grpc_query.go b/x/htlc/keeper/grpc_query.go index e478f08..471aafb 100644 --- a/x/htlc/keeper/grpc_query.go +++ b/x/htlc/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/htlc/keeper/htlc.go b/x/htlc/keeper/htlc.go index b21aa13..9be885f 100644 --- a/x/htlc/keeper/htlc.go +++ b/x/htlc/keeper/htlc.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // CreateHTLC creates an HTLC diff --git a/x/htlc/keeper/integration_test.go b/x/htlc/keeper/integration_test.go index 8bb9321..11050a8 100644 --- a/x/htlc/keeper/integration_test.go +++ b/x/htlc/keeper/integration_test.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) var ( diff --git a/x/htlc/keeper/keeper.go b/x/htlc/keeper/keeper.go index c70d79d..7253384 100644 --- a/x/htlc/keeper/keeper.go +++ b/x/htlc/keeper/keeper.go @@ -11,7 +11,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // Keeper defines the HTLC keeper @@ -55,7 +55,7 @@ func NewKeeper( // Logger returns a module-specific logger func (k Keeper) Logger(ctx sdk.Context) log.Logger { - return ctx.Logger().With("module", fmt.Sprintf("nucleus/%s", types.ModuleName)) + return ctx.Logger().With("module", fmt.Sprintf("github.com/komodoplatform/nucleus/%s", types.ModuleName)) } // GetHTLCAccount returns the HTLC module account diff --git a/x/htlc/keeper/msg_server.go b/x/htlc/keeper/msg_server.go index 70624be..952d949 100644 --- a/x/htlc/keeper/msg_server.go +++ b/x/htlc/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) type msgServer struct { diff --git a/x/htlc/keeper/params.go b/x/htlc/keeper/params.go index 0023e62..f587cee 100644 --- a/x/htlc/keeper/params.go +++ b/x/htlc/keeper/params.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // ParamKeyTable for htlc module diff --git a/x/htlc/keeper/querier.go b/x/htlc/keeper/querier.go index 353a9d8..72a6d98 100644 --- a/x/htlc/keeper/querier.go +++ b/x/htlc/keeper/querier.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // NewQuerier creates a new HTLC Querier instance diff --git a/x/htlc/module.go b/x/htlc/module.go index 7e64c48..1829fc4 100644 --- a/x/htlc/module.go +++ b/x/htlc/module.go @@ -19,10 +19,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "nucleus/x/htlc/client/cli" - "nucleus/x/htlc/keeper" - "nucleus/x/htlc/simulation" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/client/cli" + "github.com/komodoplatform/nucleus/x/htlc/keeper" + "github.com/komodoplatform/nucleus/x/htlc/simulation" + "github.com/komodoplatform/nucleus/x/htlc/types" ) var ( diff --git a/x/htlc/simulation/decoder.go b/x/htlc/simulation/decoder.go index 8727d79..d4a2009 100644 --- a/x/htlc/simulation/decoder.go +++ b/x/htlc/simulation/decoder.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // NewDecodeStore unmarshals the KVPair's Value to the corresponding HTLC type diff --git a/x/htlc/simulation/genesis.go b/x/htlc/simulation/genesis.go index 3e6f41d..2df9c5c 100644 --- a/x/htlc/simulation/genesis.go +++ b/x/htlc/simulation/genesis.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/tendermint/tendermint/crypto" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) var ( diff --git a/x/htlc/simulation/operation.go b/x/htlc/simulation/operation.go index ae7434c..b0b41b4 100644 --- a/x/htlc/simulation/operation.go +++ b/x/htlc/simulation/operation.go @@ -15,8 +15,8 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "nucleus/x/htlc/keeper" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/keeper" + "github.com/komodoplatform/nucleus/x/htlc/types" ) // Simulation operation weights constants diff --git a/x/htlc/types/cdc.go b/x/htlc/types/cdc.go index b7de61c..119e041 100644 --- a/x/htlc/types/cdc.go +++ b/x/htlc/types/cdc.go @@ -21,8 +21,8 @@ func init() { } func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgCreateHTLC{}, "nucleus/htlc/MsgCreateHTLC", nil) - cdc.RegisterConcrete(&MsgClaimHTLC{}, "nucleus/htlc/MsgClaimHTLC", nil) + cdc.RegisterConcrete(&MsgCreateHTLC{}, "github.com/komodoplatform/nucleus/htlc/MsgCreateHTLC", nil) + cdc.RegisterConcrete(&MsgClaimHTLC{}, "github.com/komodoplatform/nucleus/htlc/MsgClaimHTLC", nil) } func RegisterInterfaces(registry types.InterfaceRegistry) { diff --git a/x/htlc/types/conmmon_test.go b/x/htlc/types/conmmon_test.go index ce00700..719f86d 100644 --- a/x/htlc/types/conmmon_test.go +++ b/x/htlc/types/conmmon_test.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) const ( diff --git a/x/htlc/types/genesis_test.go b/x/htlc/types/genesis_test.go index de9ca07..ebd45ce 100644 --- a/x/htlc/types/genesis_test.go +++ b/x/htlc/types/genesis_test.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) type GenesisTestSuite struct { diff --git a/x/htlc/types/msgs_test.go b/x/htlc/types/msgs_test.go index 0dd7abe..de17079 100644 --- a/x/htlc/types/msgs_test.go +++ b/x/htlc/types/msgs_test.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) var ( @@ -101,7 +101,7 @@ func TestMsgCreateHTLCGetSignBytes(t *testing.T) { msg := types.NewMsgCreateHTLC(senderStr, recipientStr, amount, hashLockStr, timestamp, timeLock) res := msg.GetSignBytes() - expected := `{"type":"nucleus/htlc/MsgCreateHTLC","value":{"amount":[{"amount":"10","denom":"stake"}],"hash_lock":"6F4ECE9B22CFC1CF39C9C73DD2D35867A8EC97C48A9C2F664FE5287865A18C2E","sender":"cosmos1pgm8hyk0pvphmlvfjc8wsvk4daluz5tgmr4lac","time_lock":"50","timestamp":"1580000000","to":"cosmos1vewsdxxmeraett7ztsaym88jsrv85kzm8ekjsg"}}` + expected := `{"type":"github.com/komodoplatform/nucleus/htlc/MsgCreateHTLC","value":{"amount":[{"amount":"10","denom":"stake"}],"hash_lock":"6F4ECE9B22CFC1CF39C9C73DD2D35867A8EC97C48A9C2F664FE5287865A18C2E","sender":"cosmos1pgm8hyk0pvphmlvfjc8wsvk4daluz5tgmr4lac","time_lock":"50","timestamp":"1580000000","to":"cosmos1vewsdxxmeraett7ztsaym88jsrv85kzm8ekjsg"}}` require.Equal(t, expected, string(res)) } @@ -173,7 +173,7 @@ func TestMsgClaimHTLCGetSignBytes(t *testing.T) { msg := types.NewMsgClaimHTLC(senderStr, idStr, secretStr) res := msg.GetSignBytes() - expected := `{"type":"nucleus/htlc/MsgClaimHTLC","value":{"id":"B94EFE2C859EDADE7F3F6CAF5D7A1CE388D65B9E63CB6CE0B824117F117695A7","secret":"2BB80D537B1DA3E38BD30361AA855686BDE0EACD7162FEF6A25FE97BF527A25B","sender":"cosmos1pgm8hyk0pvphmlvfjc8wsvk4daluz5tgmr4lac"}}` + expected := `{"type":"github.com/komodoplatform/nucleus/htlc/MsgClaimHTLC","value":{"id":"B94EFE2C859EDADE7F3F6CAF5D7A1CE388D65B9E63CB6CE0B824117F117695A7","secret":"2BB80D537B1DA3E38BD30361AA855686BDE0EACD7162FEF6A25FE97BF527A25B","sender":"cosmos1pgm8hyk0pvphmlvfjc8wsvk4daluz5tgmr4lac"}}` require.Equal(t, expected, string(res)) } diff --git a/x/htlc/types/params_test.go b/x/htlc/types/params_test.go index 7d01d33..6977c45 100644 --- a/x/htlc/types/params_test.go +++ b/x/htlc/types/params_test.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "nucleus/x/htlc/types" + "github.com/komodoplatform/nucleus/x/htlc/types" ) type ParamsTestSuite struct { diff --git a/x/nucleus/client/cli/query.go b/x/nucleus/client/cli/query.go index bc52d8b..fb73a51 100644 --- a/x/nucleus/client/cli/query.go +++ b/x/nucleus/client/cli/query.go @@ -2,7 +2,7 @@ package cli import ( "fmt" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" diff --git a/x/nucleus/client/cli/query_params.go b/x/nucleus/client/cli/query_params.go index 5b69d7a..e458775 100644 --- a/x/nucleus/client/cli/query_params.go +++ b/x/nucleus/client/cli/query_params.go @@ -3,7 +3,7 @@ package cli import ( "context" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/x/nucleus/client/cli/tx.go b/x/nucleus/client/cli/tx.go index 151191b..b37eb03 100644 --- a/x/nucleus/client/cli/tx.go +++ b/x/nucleus/client/cli/tx.go @@ -2,7 +2,7 @@ package cli import ( "fmt" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" "time" "github.com/cosmos/cosmos-sdk/client" diff --git a/x/nucleus/genesis.go b/x/nucleus/genesis.go index d20b11a..f9dc426 100644 --- a/x/nucleus/genesis.go +++ b/x/nucleus/genesis.go @@ -1,8 +1,8 @@ package nucleus import ( - "nucleus/x/nucleus/keeper" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/keeper" + "github.com/komodoplatform/nucleus/x/nucleus/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/nucleus/genesis_test.go b/x/nucleus/genesis_test.go index d165694..7a2df9e 100644 --- a/x/nucleus/genesis_test.go +++ b/x/nucleus/genesis_test.go @@ -3,10 +3,10 @@ package nucleus_test import ( "testing" - keepertest "nucleus/testutil/keeper" - "nucleus/testutil/nullify" - "nucleus/x/nucleus" - "nucleus/x/nucleus/types" + keepertest "github.com/komodoplatform/nucleus/testutil/keeper" + "github.com/komodoplatform/nucleus/testutil/nullify" + "github.com/komodoplatform/nucleus/x/nucleus" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/stretchr/testify/require" ) diff --git a/x/nucleus/keeper/grpc_query.go b/x/nucleus/keeper/grpc_query.go index 27910f7..6b068f8 100644 --- a/x/nucleus/keeper/grpc_query.go +++ b/x/nucleus/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/nucleus/keeper/grpc_query_params.go b/x/nucleus/keeper/grpc_query_params.go index 4b40028..e33cba8 100644 --- a/x/nucleus/keeper/grpc_query_params.go +++ b/x/nucleus/keeper/grpc_query_params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" diff --git a/x/nucleus/keeper/grpc_query_params_test.go b/x/nucleus/keeper/grpc_query_params_test.go index 0f69afb..bc6aa6f 100644 --- a/x/nucleus/keeper/grpc_query_params_test.go +++ b/x/nucleus/keeper/grpc_query_params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "nucleus/testutil/keeper" - "nucleus/x/nucleus/types" + testkeeper "github.com/komodoplatform/nucleus/testutil/keeper" + "github.com/komodoplatform/nucleus/x/nucleus/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" diff --git a/x/nucleus/keeper/keeper.go b/x/nucleus/keeper/keeper.go index 3583351..18886e5 100644 --- a/x/nucleus/keeper/keeper.go +++ b/x/nucleus/keeper/keeper.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" diff --git a/x/nucleus/keeper/msg_server.go b/x/nucleus/keeper/msg_server.go index 255153e..9064725 100644 --- a/x/nucleus/keeper/msg_server.go +++ b/x/nucleus/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" ) type msgServer struct { diff --git a/x/nucleus/keeper/msg_server_test.go b/x/nucleus/keeper/msg_server_test.go index 49e623e..dbf49ec 100644 --- a/x/nucleus/keeper/msg_server_test.go +++ b/x/nucleus/keeper/msg_server_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - keepertest "nucleus/testutil/keeper" - "nucleus/x/nucleus/keeper" - "nucleus/x/nucleus/types" + keepertest "github.com/komodoplatform/nucleus/testutil/keeper" + "github.com/komodoplatform/nucleus/x/nucleus/keeper" + "github.com/komodoplatform/nucleus/x/nucleus/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/nucleus/keeper/params.go b/x/nucleus/keeper/params.go index 8024f33..97a3f45 100644 --- a/x/nucleus/keeper/params.go +++ b/x/nucleus/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/nucleus/keeper/params_test.go b/x/nucleus/keeper/params_test.go index 65b3395..0536f0a 100644 --- a/x/nucleus/keeper/params_test.go +++ b/x/nucleus/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "nucleus/testutil/keeper" - "nucleus/x/nucleus/types" + testkeeper "github.com/komodoplatform/nucleus/testutil/keeper" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/stretchr/testify/require" ) diff --git a/x/nucleus/module.go b/x/nucleus/module.go index d76882d..a173354 100644 --- a/x/nucleus/module.go +++ b/x/nucleus/module.go @@ -10,9 +10,9 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "nucleus/x/nucleus/client/cli" - "nucleus/x/nucleus/keeper" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/client/cli" + "github.com/komodoplatform/nucleus/x/nucleus/keeper" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/nucleus/module_simulation.go b/x/nucleus/module_simulation.go index 64cbc57..5a1e21d 100644 --- a/x/nucleus/module_simulation.go +++ b/x/nucleus/module_simulation.go @@ -3,9 +3,9 @@ package nucleus import ( "math/rand" - "nucleus/testutil/sample" - nucleussimulation "nucleus/x/nucleus/simulation" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/testutil/sample" + nucleussimulation "github.com/komodoplatform/nucleus/x/nucleus/simulation" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/cosmos/cosmos-sdk/baseapp" simappparams "github.com/cosmos/cosmos-sdk/simapp/params" diff --git a/x/nucleus/types/genesis_test.go b/x/nucleus/types/genesis_test.go index 379eaf4..3c1ada4 100644 --- a/x/nucleus/types/genesis_test.go +++ b/x/nucleus/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "nucleus/x/nucleus/types" + "github.com/komodoplatform/nucleus/x/nucleus/types" "github.com/stretchr/testify/require" )