Skip to content

Commit

Permalink
chore: version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Oct 1, 2021
1 parent eb6973b commit fb2dcb1
Show file tree
Hide file tree
Showing 278 changed files with 1,710 additions and 1,697 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
-->

## Version 2.0.1
### Changes
* ([\#637](https://github.com/desmos-labs/desmos/pull/637)) Updated `go.mod` module to `v2`

## Version 2.0.0
### Features
#### Profiles
Expand Down
18 changes: 9 additions & 9 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ import (
"github.com/cosmos/cosmos-sdk/x/upgrade"
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"

"github.com/desmos-labs/desmos/x/profiles"
profileskeeper "github.com/desmos-labs/desmos/x/profiles/keeper"
profilestypes "github.com/desmos-labs/desmos/x/profiles/types"
feeskeeper "github.com/desmos-labs/desmos/x/staging/fees/keeper"
feestypes "github.com/desmos-labs/desmos/x/staging/fees/types"
postskeeper "github.com/desmos-labs/desmos/x/staging/posts/keeper"
poststypes "github.com/desmos-labs/desmos/x/staging/posts/types"
subspaceskeeper "github.com/desmos-labs/desmos/x/staging/subspaces/keeper"
subspacestypes "github.com/desmos-labs/desmos/x/staging/subspaces/types"
"github.com/desmos-labs/desmos/v2/x/profiles"
profileskeeper "github.com/desmos-labs/desmos/v2/x/profiles/keeper"
profilestypes "github.com/desmos-labs/desmos/v2/x/profiles/types"
feeskeeper "github.com/desmos-labs/desmos/v2/x/staging/fees/keeper"
feestypes "github.com/desmos-labs/desmos/v2/x/staging/fees/types"
postskeeper "github.com/desmos-labs/desmos/v2/x/staging/posts/keeper"
poststypes "github.com/desmos-labs/desmos/v2/x/staging/posts/types"
subspaceskeeper "github.com/desmos-labs/desmos/v2/x/staging/subspaces/keeper"
subspacestypes "github.com/desmos-labs/desmos/v2/x/staging/subspaces/types"

authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
Expand Down
8 changes: 4 additions & 4 deletions app/desmos/cmd/chainlink/create_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import (
"fmt"
"io/ioutil"

chainlinktypes "github.com/desmos-labs/desmos/app/desmos/cmd/chainlink/types"
chainlinktypes "github.com/desmos-labs/desmos/v2/app/desmos/cmd/chainlink/types"

"github.com/cosmos/cosmos-sdk/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"

"github.com/desmos-labs/desmos/app"
profilescliutils "github.com/desmos-labs/desmos/x/profiles/client/utils"
profilestypes "github.com/desmos-labs/desmos/x/profiles/types"
"github.com/desmos-labs/desmos/v2/app"
profilescliutils "github.com/desmos-labs/desmos/v2/x/profiles/client/utils"
profilestypes "github.com/desmos-labs/desmos/v2/x/profiles/types"
)

// GetCreateChainLinkJSON returns the command allowing to generate the chain link JSON
Expand Down
10 changes: 5 additions & 5 deletions app/desmos/cmd/chainlink/create_json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"path"
"testing"

cmd "github.com/desmos-labs/desmos/app/desmos/cmd/chainlink"
"github.com/desmos-labs/desmos/app/desmos/cmd/chainlink/types"
cmd "github.com/desmos-labs/desmos/v2/app/desmos/cmd/chainlink"
"github.com/desmos-labs/desmos/v2/app/desmos/cmd/chainlink/types"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/crypto/hd"
Expand All @@ -16,9 +16,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"

"github.com/desmos-labs/desmos/app"
profilescliutils "github.com/desmos-labs/desmos/x/profiles/client/utils"
profilestypes "github.com/desmos-labs/desmos/x/profiles/types"
"github.com/desmos-labs/desmos/v2/app"
profilescliutils "github.com/desmos-labs/desmos/v2/x/profiles/client/utils"
profilestypes "github.com/desmos-labs/desmos/v2/x/profiles/types"
)

// MockGetter represents a mock implementation of ChainLinkReferenceGetter
Expand Down
10 changes: 5 additions & 5 deletions app/desmos/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

serverconfig "github.com/cosmos/cosmos-sdk/server/config"

chainlinktypes "github.com/desmos-labs/desmos/app/desmos/cmd/chainlink/types"
chainlinktypes "github.com/desmos-labs/desmos/v2/app/desmos/cmd/chainlink/types"

"github.com/desmos-labs/desmos/app/desmos/cmd/chainlink"
"github.com/desmos-labs/desmos/app/desmos/cmd/sign"
"github.com/desmos-labs/desmos/v2/app/desmos/cmd/chainlink"
"github.com/desmos-labs/desmos/v2/app/desmos/cmd/sign"

config "github.com/cosmos/cosmos-sdk/client/config"

Expand All @@ -20,7 +20,7 @@ import (
"github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/cosmos/cosmos-sdk/snapshots"

"github.com/desmos-labs/desmos/app"
"github.com/desmos-labs/desmos/v2/app"

"github.com/spf13/cast"
"github.com/spf13/cobra"
Expand All @@ -44,7 +44,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
cosmosgenutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"

genutilcli "github.com/desmos-labs/desmos/x/genutil/client/cli"
genutilcli "github.com/desmos-labs/desmos/v2/x/genutil/client/cli"
)

// NewRootCmd creates a new root command for desmos. It is called once in the
Expand Down
4 changes: 2 additions & 2 deletions app/desmos/cmd/sign/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

cmd "github.com/desmos-labs/desmos/app/desmos/cmd/sign"
cmd "github.com/desmos-labs/desmos/v2/app/desmos/cmd/sign"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
Expand All @@ -16,7 +16,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"

"github.com/desmos-labs/desmos/app"
"github.com/desmos-labs/desmos/v2/app"
)

func TestGetSignCmd(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion app/desmos/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"path/filepath"

"github.com/desmos-labs/desmos/app"
"github.com/desmos-labs/desmos/v2/app"

cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/spf13/cobra"
Expand Down
4 changes: 2 additions & 2 deletions app/desmos/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

"github.com/cosmos/cosmos-sdk/server"

"github.com/desmos-labs/desmos/app"
"github.com/desmos-labs/desmos/v2/app"

svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"

"github.com/desmos-labs/desmos/app/desmos/cmd"
"github.com/desmos-labs/desmos/v2/app/desmos/cmd"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions app/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

profilestypes "github.com/desmos-labs/desmos/x/profiles/types"
poststypes "github.com/desmos-labs/desmos/x/staging/posts/types"
subspacestypes "github.com/desmos-labs/desmos/x/staging/subspaces/types"
profilestypes "github.com/desmos-labs/desmos/v2/x/profiles/types"
poststypes "github.com/desmos-labs/desmos/v2/x/staging/posts/types"
subspacestypes "github.com/desmos-labs/desmos/v2/x/staging/subspaces/types"

simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/desmos-labs/desmos
module github.com/desmos-labs/desmos/v2

go 1.15

Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/fees/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package desmos.fees.v1beta1;
import "gogoproto/gogo.proto";
import "desmos/fees/v1beta1/params.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/fees/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/fees/types";

// GenesisState contains the data of the genesis state for the fees module
message GenesisState {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/fees/v1beta1/min_fee.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package desmos.fees.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/fees/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/fees/types";

// MinFee contains the minimum amount of coins that should be paid as a fee for
// each message of the specific type sent
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/fees/v1beta1/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package desmos.fees.v1beta1;
import "gogoproto/gogo.proto";
import "desmos/fees/v1beta1/min_fee.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/fees/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/fees/types";

// Params contains the parameters for the fees module
message Params {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/fees/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "desmos/fees/v1beta1/params.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/fees/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/fees/types";

// Query defines the gRPC querier service.
service Query {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "desmos/posts/v1beta1/reactions.proto";
import "desmos/posts/v1beta1/params.proto";
import "desmos/posts/v1beta1/report.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// GenesisState contains the data of the genesis state for the posts module
message GenesisState {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/msgs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "desmos/posts/v1beta1/posts.proto";
import "desmos/posts/v1beta1/polls.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// Msg defines the relationships Msg service.
service Msg {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package desmos.posts.v1beta1;

import "gogoproto/gogo.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// Params contains the parameters for the posts module
message Params {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/polls.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package desmos.posts.v1beta1;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// ProvidedAnswer contains the data of a single poll answer inserted by the
// creator
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/posts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "desmos/posts/v1beta1/polls.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// Post contains all the data of a Desmos post
message Post {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import "desmos/posts/v1beta1/polls.proto";
import "desmos/posts/v1beta1/params.proto";
import "desmos/posts/v1beta1/report.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// Query defines the gRPC querier service.
service Query {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/reactions.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package desmos.posts.v1beta1;

import "gogoproto/gogo.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// RegisteredReaction represents a registered reaction that can be referenced
// by its shortCode inside post reactions
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/posts/v1beta1/report.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package desmos.posts.v1beta1;

import "gogoproto/gogo.proto";

option go_package = "github.com/desmos-labs/desmos/x/staging/posts/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/staging/posts/types";

// Report is the struct of a post's reports
message Report {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/legacy/v100/models_app_links.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package desmos.profiles.legacy.v100;

option go_package = "github.com/desmos-labs/desmos/x/profiles/legacy/v100";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/legacy/v100";

import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/legacy/v100/models_params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package desmos.profiles.legacy.v100;
import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/legacy/v100";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/legacy/v100";

// Params contains the parameters for the profiles module
message Params {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/client/cli.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/protobuf/timestamp.proto";
import "cosmos_proto/cosmos.proto";
import "desmos/profiles/v1beta1/models_chain_links.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/client/utils";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/client/utils";

// ChainLinkJSON contains the data required to create a ChainLink using the CLI
// command
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "desmos/profiles/v1beta1/models_dtag_requests.proto";
import "desmos/profiles/v1beta1/models_chain_links.proto";
import "desmos/profiles/v1beta1/models_app_links.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// GenesisState defines the profiles module's genesis state.
message GenesisState {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/models_app_links.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package desmos.profiles.v1beta1;

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/models_chain_links.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "google/protobuf/any.proto";
import "google/protobuf/timestamp.proto";
import "cosmos_proto/cosmos.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// ChainLink contains the data representing either an inter- or cross- chain
// link
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/models_dtag_requests.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/protobuf/timestamp.proto";
import "cosmos_proto/cosmos.proto";
import "desmos/profiles/v1beta1/models_chain_links.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// DTagTransferRequest represent a DTag transfer request between two users
message DTagTransferRequest {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/models_packets.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "google/protobuf/any.proto";
import "cosmos_proto/cosmos.proto";
import "desmos/profiles/v1beta1/models_chain_links.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// LinkChainAccountPacketData defines the object that should be sent inside a
// MsgSendPacket when wanting to link an external chain to a Desmos profile
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/models_params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package desmos.profiles.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// Params contains the parameters for the profiles module
message Params {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/models_profile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/protobuf/timestamp.proto";
import "cosmos_proto/cosmos.proto";
import "desmos/profiles/v1beta1/models_chain_links.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// ___________________________________________________________________________________________________________________

Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/models_relationships.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/protobuf/timestamp.proto";
import "cosmos_proto/cosmos.proto";
import "desmos/profiles/v1beta1/models_chain_links.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// Relationship is the struct of a relationship.
// It represent the concept of "follow" of traditional social networks.
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/msg_server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "desmos/profiles/v1beta1/msgs_dtag_requests.proto";
import "desmos/profiles/v1beta1/msgs_chain_links.proto";
import "desmos/profiles/v1beta1/msgs_app_links.proto";

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

// Msg defines the relationships Msg service.
service Msg {
Expand Down
2 changes: 1 addition & 1 deletion proto/desmos/profiles/v1beta1/msgs_app_links.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package desmos.profiles.v1beta1;

option go_package = "github.com/desmos-labs/desmos/x/profiles/types";
option go_package = "github.com/desmos-labs/desmos/v2/x/profiles/types";

import "desmos/profiles/v1beta1/models_app_links.proto";

Expand Down
Loading

0 comments on commit fb2dcb1

Please sign in to comment.