From 88e43ded57b7f98a4cc5f9b7d068799724a5b031 Mon Sep 17 00:00:00 2001 From: Torekhan Abayev Date: Tue, 26 Sep 2023 16:52:09 +0200 Subject: [PATCH] Point links to cosmos-daemon gihub repo --- app/app.go | 10 ++--- app/encoding.go | 2 +- app/simulation_test.go | 2 +- cmd/cosmos-daemond/cmd/config.go | 2 +- cmd/cosmos-daemond/cmd/root.go | 4 +- cmd/cosmos-daemond/main.go | 4 +- go.mod | 43 ++++++++++--------- proto/cosmosdaemon/cosmosdaemon/genesis.proto | 2 +- proto/cosmosdaemon/cosmosdaemon/params.proto | 2 +- proto/cosmosdaemon/cosmosdaemon/query.proto | 3 +- proto/cosmosdaemon/cosmosdaemon/tx.proto | 2 +- testutil/keeper/cosmosdaemon.go | 4 +- testutil/network/network.go | 2 +- x/cosmosdaemon/client/cli/query.go | 2 +- x/cosmosdaemon/client/cli/query_params.go | 2 +- x/cosmosdaemon/client/cli/tx.go | 2 +- x/cosmosdaemon/genesis.go | 4 +- x/cosmosdaemon/genesis_test.go | 8 ++-- x/cosmosdaemon/keeper/keeper.go | 2 +- x/cosmosdaemon/keeper/msg_server.go | 2 +- x/cosmosdaemon/keeper/msg_server_test.go | 6 +-- x/cosmosdaemon/keeper/params.go | 2 +- x/cosmosdaemon/keeper/params_test.go | 4 +- x/cosmosdaemon/keeper/query.go | 2 +- x/cosmosdaemon/keeper/query_params.go | 2 +- x/cosmosdaemon/keeper/query_params_test.go | 5 ++- x/cosmosdaemon/module.go | 6 +-- x/cosmosdaemon/module_simulation.go | 7 +-- x/cosmosdaemon/types/genesis_test.go | 2 +- 29 files changed, 71 insertions(+), 69 deletions(-) diff --git a/app/app.go b/app/app.go index 4a22112..4cfeeb8 100644 --- a/app/app.go +++ b/app/app.go @@ -108,9 +108,9 @@ import ( mintkeeper "github.com/unigrid-project/cosmos-sdk-ugdmint/x/ugdmint/keeper" minttypes "github.com/unigrid-project/cosmos-sdk-ugdmint/x/ugdmint/types" - cosmosdaemonmodule "cosmos-daemon/x/cosmosdaemon" - cosmosdaemonmodulekeeper "cosmos-daemon/x/cosmosdaemon/keeper" - cosmosdaemonmoduletypes "cosmos-daemon/x/cosmosdaemon/types" + cosmosdaemonmodule "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon" + cosmosdaemonmodulekeeper "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/keeper" + cosmosdaemonmoduletypes "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" gridnodemodule "github.com/unigrid-project/cosmos-sdk-gridnode/x/gridnode" gridnodekeeper "github.com/unigrid-project/cosmos-sdk-gridnode/x/gridnode/keeper" @@ -122,8 +122,8 @@ import ( // this line is used by starport scaffolding # stargate/app/moduleImport - appparams "cosmos-daemon/app/params" - "cosmos-daemon/docs" + appparams "github.com/unigrid-project/cosmos-daemon/app/params" + "github.com/unigrid-project/cosmos-daemon/docs" ) const ( diff --git a/app/encoding.go b/app/encoding.go index f47cf94..967743e 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" - "cosmos-daemon/app/params" + "github.com/unigrid-project/cosmos-daemon/app/params" ) // makeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/app/simulation_test.go b/app/simulation_test.go index 853db11..c0e59a3 100644 --- a/app/simulation_test.go +++ b/app/simulation_test.go @@ -36,7 +36,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - "cosmos-daemon/app" + "github.com/unigrid-project/cosmos-daemon/app" ) type storeKeysPrefixes struct { diff --git a/cmd/cosmos-daemond/cmd/config.go b/cmd/cosmos-daemond/cmd/config.go index 7ff1e3b..ba7f20c 100644 --- a/cmd/cosmos-daemond/cmd/config.go +++ b/cmd/cosmos-daemond/cmd/config.go @@ -3,7 +3,7 @@ package cmd import ( sdk "github.com/cosmos/cosmos-sdk/types" - "cosmos-daemon/app" + "github.com/unigrid-project/cosmos-daemon/app" ) var HedgehogUrl string diff --git a/cmd/cosmos-daemond/cmd/root.go b/cmd/cosmos-daemond/cmd/root.go index 5d5487b..5e39663 100644 --- a/cmd/cosmos-daemond/cmd/root.go +++ b/cmd/cosmos-daemond/cmd/root.go @@ -42,8 +42,8 @@ import ( // this line is used by starport scaffolding # root/moduleImport - "cosmos-daemon/app" - appparams "cosmos-daemon/app/params" + "github.com/unigrid-project/cosmos-daemon/app" + appparams "github.com/unigrid-project/cosmos-daemon/app/params" ) const DefaultHedgehogUrl = "https://127.0.0.1:52884" diff --git a/cmd/cosmos-daemond/main.go b/cmd/cosmos-daemond/main.go index 34af17a..2bd5e77 100644 --- a/cmd/cosmos-daemond/main.go +++ b/cmd/cosmos-daemond/main.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "cosmos-daemon/app" - "cosmos-daemon/cmd/cosmos-daemond/cmd" + "github.com/unigrid-project/cosmos-daemon/app" + "github.com/unigrid-project/cosmos-daemon/cmd/cosmos-daemond/cmd" ) func main() { diff --git a/go.mod b/go.mod index 35b540e..e570a57 100644 --- a/go.mod +++ b/go.mod @@ -1,41 +1,41 @@ -module cosmos-daemon +module github.com/unigrid-project/cosmos-daemon go 1.19 require ( cosmossdk.io/api v0.3.1 github.com/cometbft/cometbft v0.37.2 - github.com/cometbft/cometbft-db v0.7.0 - github.com/cosmos/cosmos-sdk v0.47.3 + github.com/cometbft/cometbft-db v0.8.0 + github.com/cosmos/cosmos-sdk v0.47.4 github.com/cosmos/gogoproto v1.4.10 - github.com/cosmos/ibc-go/v7 v7.1.0 + github.com/cosmos/ibc-go/v7 v7.3.0 github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 + github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 github.com/spf13/cast v1.5.1 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.16.0 github.com/stretchr/testify v1.8.4 - github.com/unigrid-project/cosmos-sdk-gridnode v0.0.5 + github.com/unigrid-project/cosmos-sdk-gridnode v0.0.43 github.com/unigrid-project/cosmos-sdk-ugdmint v0.0.63 github.com/unigrid-project/cosmos-sdk-unigrid-hedgehog-vesting v0.0.50 - google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529 - google.golang.org/grpc v1.56.2 + google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d + google.golang.org/grpc v1.58.0 gopkg.in/yaml.v2 v2.4.0 ) require ( - cloud.google.com/go v0.110.4 // indirect - cloud.google.com/go/compute v1.20.1 // indirect + cloud.google.com/go v0.110.6 // indirect + cloud.google.com/go/compute v1.23.0 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.0 // indirect + cloud.google.com/go/iam v1.1.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect cosmossdk.io/core v0.5.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect cosmossdk.io/errors v1.0.0 // indirect - cosmossdk.io/log v1.1.0 // indirect + cosmossdk.io/log v1.1.1-0.20230704160919-88f2c830b0ca // indirect cosmossdk.io/math v1.1.2 // indirect cosmossdk.io/tools/rosetta v0.2.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect @@ -121,6 +121,7 @@ require ( github.com/kr/text v0.2.0 // indirect github.com/lib/pq v1.10.7 // indirect github.com/libp2p/go-buffer-pool v0.1.0 // indirect + github.com/linxGnu/grocksdb v1.7.16 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect @@ -151,7 +152,6 @@ require ( github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/subosito/gotenv v1.4.2 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect - github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect github.com/tendermint/go-amino v0.16.0 // indirect github.com/tidwall/btree v1.6.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect @@ -159,18 +159,19 @@ require ( github.com/zondax/ledger-go v0.14.1 // indirect go.etcd.io/bbolt v1.3.7 // indirect go.opencensus.io v0.24.0 // indirect - golang.org/x/crypto v0.11.0 // indirect + golang.org/x/crypto v0.13.0 // indirect golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb // indirect - golang.org/x/net v0.12.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect - golang.org/x/sys v0.11.0 // indirect - golang.org/x/term v0.10.0 // indirect - golang.org/x/text v0.12.0 // indirect + golang.org/x/net v0.15.0 // indirect + golang.org/x/oauth2 v0.12.0 // indirect + golang.org/x/sync v0.3.0 // indirect + golang.org/x/sys v0.12.0 // indirect + golang.org/x/term v0.12.0 // indirect + golang.org/x/text v0.13.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.126.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect + google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/proto/cosmosdaemon/cosmosdaemon/genesis.proto b/proto/cosmosdaemon/cosmosdaemon/genesis.proto index 8b86010..a2a7dc0 100644 --- a/proto/cosmosdaemon/cosmosdaemon/genesis.proto +++ b/proto/cosmosdaemon/cosmosdaemon/genesis.proto @@ -4,7 +4,7 @@ package cosmosdaemon.cosmosdaemon; import "gogoproto/gogo.proto"; import "cosmosdaemon/cosmosdaemon/params.proto"; -option go_package = "cosmos-daemon/x/cosmosdaemon/types"; +option go_package = "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types"; // GenesisState defines the cosmosdaemon module's genesis state. message GenesisState { diff --git a/proto/cosmosdaemon/cosmosdaemon/params.proto b/proto/cosmosdaemon/cosmosdaemon/params.proto index 11137a1..0e39272 100644 --- a/proto/cosmosdaemon/cosmosdaemon/params.proto +++ b/proto/cosmosdaemon/cosmosdaemon/params.proto @@ -3,7 +3,7 @@ package cosmosdaemon.cosmosdaemon; import "gogoproto/gogo.proto"; -option go_package = "cosmos-daemon/x/cosmosdaemon/types"; +option go_package = "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/cosmosdaemon/cosmosdaemon/query.proto b/proto/cosmosdaemon/cosmosdaemon/query.proto index 2cf21ee..f73e32e 100644 --- a/proto/cosmosdaemon/cosmosdaemon/query.proto +++ b/proto/cosmosdaemon/cosmosdaemon/query.proto @@ -3,10 +3,9 @@ package cosmosdaemon.cosmosdaemon; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmosdaemon/cosmosdaemon/params.proto"; -option go_package = "cosmos-daemon/x/cosmosdaemon/types"; +option go_package = "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/cosmosdaemon/cosmosdaemon/tx.proto b/proto/cosmosdaemon/cosmosdaemon/tx.proto index 8a6e6c5..8fecad1 100644 --- a/proto/cosmosdaemon/cosmosdaemon/tx.proto +++ b/proto/cosmosdaemon/cosmosdaemon/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmosdaemon.cosmosdaemon; -option go_package = "cosmos-daemon/x/cosmosdaemon/types"; +option go_package = "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types"; // Msg defines the Msg service. service Msg {} \ No newline at end of file diff --git a/testutil/keeper/cosmosdaemon.go b/testutil/keeper/cosmosdaemon.go index 7664af6..d216051 100644 --- a/testutil/keeper/cosmosdaemon.go +++ b/testutil/keeper/cosmosdaemon.go @@ -3,8 +3,6 @@ package keeper import ( "testing" - "cosmos-daemon/x/cosmosdaemon/keeper" - "cosmos-daemon/x/cosmosdaemon/types" tmdb "github.com/cometbft/cometbft-db" "github.com/cometbft/cometbft/libs/log" tmproto "github.com/cometbft/cometbft/proto/tendermint/types" @@ -15,6 +13,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/stretchr/testify/require" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/keeper" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) func CosmosdaemonKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/network/network.go b/testutil/network/network.go index 2cd9fec..ef5c277 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -18,7 +18,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/stretchr/testify/require" - "cosmos-daemon/app" + "github.com/unigrid-project/cosmos-daemon/app" ) type ( diff --git a/x/cosmosdaemon/client/cli/query.go b/x/cosmosdaemon/client/cli/query.go index 2a60a0a..c320c71 100644 --- a/x/cosmosdaemon/client/cli/query.go +++ b/x/cosmosdaemon/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/cosmosdaemon/client/cli/query_params.go b/x/cosmosdaemon/client/cli/query_params.go index a134625..2e7f96e 100644 --- a/x/cosmosdaemon/client/cli/query_params.go +++ b/x/cosmosdaemon/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/cosmosdaemon/client/cli/tx.go b/x/cosmosdaemon/client/cli/tx.go index b73149a..d5e39d6 100644 --- a/x/cosmosdaemon/client/cli/tx.go +++ b/x/cosmosdaemon/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) var ( diff --git a/x/cosmosdaemon/genesis.go b/x/cosmosdaemon/genesis.go index 3e1034b..052be16 100644 --- a/x/cosmosdaemon/genesis.go +++ b/x/cosmosdaemon/genesis.go @@ -1,9 +1,9 @@ package cosmosdaemon import ( - "cosmos-daemon/x/cosmosdaemon/keeper" - "cosmos-daemon/x/cosmosdaemon/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/keeper" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/cosmosdaemon/genesis_test.go b/x/cosmosdaemon/genesis_test.go index ae5202b..b750744 100644 --- a/x/cosmosdaemon/genesis_test.go +++ b/x/cosmosdaemon/genesis_test.go @@ -3,11 +3,11 @@ package cosmosdaemon_test import ( "testing" - keepertest "cosmos-daemon/testutil/keeper" - "cosmos-daemon/testutil/nullify" - "cosmos-daemon/x/cosmosdaemon" - "cosmos-daemon/x/cosmosdaemon/types" "github.com/stretchr/testify/require" + keepertest "github.com/unigrid-project/cosmos-daemon/testutil/keeper" + "github.com/unigrid-project/cosmos-daemon/testutil/nullify" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) func TestGenesis(t *testing.T) { diff --git a/x/cosmosdaemon/keeper/keeper.go b/x/cosmosdaemon/keeper/keeper.go index b61a820..13b759c 100644 --- a/x/cosmosdaemon/keeper/keeper.go +++ b/x/cosmosdaemon/keeper/keeper.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) type ( diff --git a/x/cosmosdaemon/keeper/msg_server.go b/x/cosmosdaemon/keeper/msg_server.go index 9a10b23..b1b6e50 100644 --- a/x/cosmosdaemon/keeper/msg_server.go +++ b/x/cosmosdaemon/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) type msgServer struct { diff --git a/x/cosmosdaemon/keeper/msg_server_test.go b/x/cosmosdaemon/keeper/msg_server_test.go index 98a6cba..fb1d312 100644 --- a/x/cosmosdaemon/keeper/msg_server_test.go +++ b/x/cosmosdaemon/keeper/msg_server_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - keepertest "cosmos-daemon/testutil/keeper" - "cosmos-daemon/x/cosmosdaemon/keeper" - "cosmos-daemon/x/cosmosdaemon/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + keepertest "github.com/unigrid-project/cosmos-daemon/testutil/keeper" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/keeper" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/cosmosdaemon/keeper/params.go b/x/cosmosdaemon/keeper/params.go index 72ad810..e4f2036 100644 --- a/x/cosmosdaemon/keeper/params.go +++ b/x/cosmosdaemon/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - "cosmos-daemon/x/cosmosdaemon/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) // GetParams get all parameters as types.Params diff --git a/x/cosmosdaemon/keeper/params_test.go b/x/cosmosdaemon/keeper/params_test.go index e96d135..c0c0c63 100644 --- a/x/cosmosdaemon/keeper/params_test.go +++ b/x/cosmosdaemon/keeper/params_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "testing" - testkeeper "cosmos-daemon/testutil/keeper" - "cosmos-daemon/x/cosmosdaemon/types" "github.com/stretchr/testify/require" + testkeeper "github.com/unigrid-project/cosmos-daemon/testutil/keeper" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) func TestGetParams(t *testing.T) { diff --git a/x/cosmosdaemon/keeper/query.go b/x/cosmosdaemon/keeper/query.go index af82223..9477a78 100644 --- a/x/cosmosdaemon/keeper/query.go +++ b/x/cosmosdaemon/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/cosmosdaemon/keeper/query_params.go b/x/cosmosdaemon/keeper/query_params.go index ebefae8..a37b72c 100644 --- a/x/cosmosdaemon/keeper/query_params.go +++ b/x/cosmosdaemon/keeper/query_params.go @@ -3,8 +3,8 @@ package keeper import ( "context" - "cosmos-daemon/x/cosmosdaemon/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/cosmosdaemon/keeper/query_params_test.go b/x/cosmosdaemon/keeper/query_params_test.go index 9ffabd2..8caf8ef 100644 --- a/x/cosmosdaemon/keeper/query_params_test.go +++ b/x/cosmosdaemon/keeper/query_params_test.go @@ -3,10 +3,11 @@ package keeper_test import ( "testing" - testkeeper "cosmos-daemon/testutil/keeper" - "cosmos-daemon/x/cosmosdaemon/types" + testkeeper "github.com/unigrid-project/cosmos-daemon/testutil/keeper" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/cosmosdaemon/module.go b/x/cosmosdaemon/module.go index a088751..7c6ff0c 100644 --- a/x/cosmosdaemon/module.go +++ b/x/cosmosdaemon/module.go @@ -11,9 +11,9 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "cosmos-daemon/x/cosmosdaemon/client/cli" - "cosmos-daemon/x/cosmosdaemon/keeper" - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/client/cli" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/keeper" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/cosmosdaemon/module_simulation.go b/x/cosmosdaemon/module_simulation.go index 694a0d5..168388f 100644 --- a/x/cosmosdaemon/module_simulation.go +++ b/x/cosmosdaemon/module_simulation.go @@ -3,14 +3,15 @@ package cosmosdaemon import ( "math/rand" - "cosmos-daemon/testutil/sample" - cosmosdaemonsimulation "cosmos-daemon/x/cosmosdaemon/simulation" - "cosmos-daemon/x/cosmosdaemon/types" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" + "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/unigrid-project/cosmos-daemon/testutil/sample" + cosmosdaemonsimulation "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/simulation" ) // avoid unused import issue diff --git a/x/cosmosdaemon/types/genesis_test.go b/x/cosmosdaemon/types/genesis_test.go index e6ad48d..20a578d 100644 --- a/x/cosmosdaemon/types/genesis_test.go +++ b/x/cosmosdaemon/types/genesis_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - "cosmos-daemon/x/cosmosdaemon/types" "github.com/stretchr/testify/require" + "github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types" ) func TestGenesisState_Validate(t *testing.T) {