Skip to content

Commit

Permalink
Point links to cosmos-daemon gihub repo
Browse files Browse the repository at this point in the history
  • Loading branch information
PvlSport committed Sep 26, 2023
1 parent 56fb5b6 commit 88e43de
Show file tree
Hide file tree
Showing 29 changed files with 71 additions and 69 deletions.
10 changes: 5 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion app/simulation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion cmd/cosmos-daemond/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cmd/cosmos-daemond/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions cmd/cosmos-daemond/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
43 changes: 22 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -151,26 +152,26 @@ 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
github.com/zondax/hid v0.9.1 // indirect
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
Expand Down
2 changes: 1 addition & 1 deletion proto/cosmosdaemon/cosmosdaemon/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion proto/cosmosdaemon/cosmosdaemon/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 1 addition & 2 deletions proto/cosmosdaemon/cosmosdaemon/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion proto/cosmosdaemon/cosmosdaemon/tx.proto
Original file line number Diff line number Diff line change
@@ -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 {}
4 changes: 2 additions & 2 deletions testutil/keeper/cosmosdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion testutil/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion x/cosmosdaemon/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion x/cosmosdaemon/client/cli/query_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion x/cosmosdaemon/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions x/cosmosdaemon/genesis.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 4 additions & 4 deletions x/cosmosdaemon/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion x/cosmosdaemon/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion x/cosmosdaemon/keeper/msg_server.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keeper

import (
"cosmos-daemon/x/cosmosdaemon/types"
"github.com/unigrid-project/cosmos-daemon/x/cosmosdaemon/types"
)

type msgServer struct {
Expand Down
6 changes: 3 additions & 3 deletions x/cosmosdaemon/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion x/cosmosdaemon/keeper/params.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions x/cosmosdaemon/keeper/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion x/cosmosdaemon/keeper/query.go
Original file line number Diff line number Diff line change
@@ -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{}
2 changes: 1 addition & 1 deletion x/cosmosdaemon/keeper/query_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
5 changes: 3 additions & 2 deletions x/cosmosdaemon/keeper/query_params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions x/cosmosdaemon/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading

0 comments on commit 88e43de

Please sign in to comment.