Skip to content

Commit

Permalink
chore: rename module version to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
noandrea committed Sep 14, 2022
1 parent 925b70e commit 27f5109
Show file tree
Hide file tree
Showing 89 changed files with 310 additions and 308 deletions.
20 changes: 10 additions & 10 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ import (
tmos "github.com/tendermint/tendermint/libs/os"
dbm "github.com/tendermint/tm-db"

"github.com/elesto-dao/elesto/v2/docs"
"github.com/elesto-dao/elesto/v2/x/credential"
credentialModuleKeeper "github.com/elesto-dao/elesto/v2/x/credential/keeper"
credentialmodule "github.com/elesto-dao/elesto/v2/x/credential/module"
"github.com/elesto-dao/elesto/v2/x/did"
didmodulekeeper "github.com/elesto-dao/elesto/v2/x/did/keeper"
didmodule "github.com/elesto-dao/elesto/v2/x/did/module"
"github.com/elesto-dao/elesto/v2/x/mint"
mintkeeper "github.com/elesto-dao/elesto/v2/x/mint/keeper"
minttypes "github.com/elesto-dao/elesto/v2/x/mint/types"
"github.com/elesto-dao/elesto/v3/docs"
"github.com/elesto-dao/elesto/v3/x/credential"
credentialModuleKeeper "github.com/elesto-dao/elesto/v3/x/credential/keeper"
credentialmodule "github.com/elesto-dao/elesto/v3/x/credential/module"
"github.com/elesto-dao/elesto/v3/x/did"
didmodulekeeper "github.com/elesto-dao/elesto/v3/x/did/keeper"
didmodule "github.com/elesto-dao/elesto/v3/x/did/module"
"github.com/elesto-dao/elesto/v3/x/mint"
mintkeeper "github.com/elesto-dao/elesto/v3/x/mint/keeper"
minttypes "github.com/elesto-dao/elesto/v3/x/mint/types"
)

// Global vars that define account prefix and name of chain
Expand Down
2 changes: 1 addition & 1 deletion app/simulation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
tmtypes "github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tm-db"

"github.com/elesto-dao/elesto/v2/app"
"github.com/elesto-dao/elesto/v3/app"
)

// Various prefixes for accounts and public keys
Expand Down
2 changes: 1 addition & 1 deletion cmd/elestod/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"

elestoapp "github.com/elesto-dao/elesto/v2/app"
elestoapp "github.com/elesto-dao/elesto/v3/app"
)

// NewRootCmd creates a new root command for elestod. It is called once in the
Expand Down
4 changes: 2 additions & 2 deletions cmd/elestod/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"

elestoapp "github.com/elesto-dao/elesto/v2/app"
"github.com/elesto-dao/elesto/v2/cmd/elestod/cmd"
elestoapp "github.com/elesto-dao/elesto/v3/app"
"github.com/elesto-dao/elesto/v3/cmd/elestod/cmd"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/elesto-dao/elesto/v2
module github.com/elesto-dao/elesto/v3

go 1.18

Expand All @@ -20,9 +20,9 @@ require (
github.com/tendermint/tendermint v0.34.20
github.com/tendermint/tm-db v0.6.6
github.com/xeipuuv/gojsonschema v1.2.0
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd
google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc
google.golang.org/grpc v1.48.0
google.golang.org/protobuf v1.28.0
google.golang.org/protobuf v1.28.1
)

require (
Expand Down Expand Up @@ -118,7 +118,7 @@ require (
github.com/zondax/hid v0.9.0 // indirect
go.etcd.io/bbolt v1.3.6 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/net v0.0.0-20220617184016-355a448f1bc9 // indirect
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c // indirect
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
golang.org/x/text v0.3.7 // indirect
Expand Down
9 changes: 6 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2041,8 +2041,9 @@ golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su
golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220617184016-355a448f1bc9 h1:Yqz/iviulwKwAREEeUd3nbBFn0XuyJqkoft2IlrvOhc=
golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e h1:TsQ7F31D3bUCLeqPT0u+yjp1guoArKaNKmCr22PYgTQ=
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -2528,8 +2529,9 @@ google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX
google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd h1:e0TwkXOdbnH/1x5rc5MZ/VYyiZ4v+RdVfrGMqEwT68I=
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc h1:Nf+EdcTLHR8qDNN/KfkQL0u0ssxt9OhbaWCl5C0ucEI=
google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk=
google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
Expand All @@ -2548,8 +2550,9 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.27.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
2 changes: 1 addition & 1 deletion proto/credential/v1/credential.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package elestodao.elesto.credential.v1;

option go_package = "github.com/elesto-dao/elesto/v2/x/credential";
option go_package = "github.com/elesto-dao/elesto/v3/x/credential";

import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/credential/v1/event.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package elestodao.elesto.credential.v1;

option go_package = "github.com/elesto-dao/elesto/v2/x/credential";
option go_package = "github.com/elesto-dao/elesto/v3/x/credential";

import "gogoproto/gogo.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/credential/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "credential/v1/credential.proto";
// import "gogoproto/gogo.proto";
// this line is used by starport scaffolding # 1

option go_package = "github.com/elesto-dao/elesto/v2/x/credential";
option go_package = "github.com/elesto-dao/elesto/v3/x/credential";

// this line is used by starport scaffolding # 1

Expand Down
2 changes: 1 addition & 1 deletion proto/credential/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "credential/v1/credential.proto";
// import "google/api/annotations.proto";

option go_package = "github.com/elesto-dao/elesto/v2/x/credential";
option go_package = "github.com/elesto-dao/elesto/v3/x/credential";

// Msg defines the identity Msg service.
service Msg {
Expand Down
2 changes: 1 addition & 1 deletion proto/did/v1/did.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package elestodao.elesto.did.v1;

option go_package = "github.com/elesto-dao/elesto/v2/x/did";
option go_package = "github.com/elesto-dao/elesto/v3/x/did";

import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/did/v1/event.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package elestodao.elesto.did.v1;

option go_package = "github.com/elesto-dao/elesto/v2/x/did";
option go_package = "github.com/elesto-dao/elesto/v3/x/did";

import "gogoproto/gogo.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/did/v1/genesis.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package elestodao.elesto.did.v1;

option go_package = "github.com/elesto-dao/elesto/v2/x/did";
option go_package = "github.com/elesto-dao/elesto/v3/x/did";

import "did/v1/did.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/did/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "did/v1/did.proto";
import "gogoproto/gogo.proto";
// this line is used by starport scaffolding # 1

option go_package = "github.com/elesto-dao/elesto/v2/x/did";
option go_package = "github.com/elesto-dao/elesto/v3/x/did";

// this line is used by starport scaffolding # 1

Expand Down
2 changes: 1 addition & 1 deletion proto/did/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "did/v1/did.proto";
import "google/api/annotations.proto";

option go_package = "github.com/elesto-dao/elesto/v2/x/did";
option go_package = "github.com/elesto-dao/elesto/v3/x/did";

// Msg defines the identity Msg service.
service Msg {
Expand Down
2 changes: 1 addition & 1 deletion proto/mint/v1/event.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package elestodao.elesto.mint.v1;

option go_package = "github.com/elesto-dao/elesto/v2/x/mint/types";
option go_package = "github.com/elesto-dao/elesto/v3/x/mint/types";

import "gogoproto/gogo.proto";

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

option go_package = "github.com/elesto-dao/elesto/v2/x/mint/types";
option go_package = "github.com/elesto-dao/elesto/v3/x/mint/types";

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

option go_package = "github.com/elesto-dao/elesto/v2/x/mint/types";
option go_package = "github.com/elesto-dao/elesto/v3/x/mint/types";

// Params holds parameters for the mint module.
message Params {
Expand Down
2 changes: 1 addition & 1 deletion proto/mint/v1/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 "mint/v1/mint.proto";

option go_package = "github.com/elesto-dao/elesto/v2/x/mint/types";
option go_package = "github.com/elesto-dao/elesto/v3/x/mint/types";

// Query provides defines the gRPC querier service.
service Query {
Expand Down
4 changes: 2 additions & 2 deletions scripts/seeds/02_update_did.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"
"google.golang.org/grpc"

"github.com/elesto-dao/elesto/v2/app"
"github.com/elesto-dao/elesto/v2/x/did"
"github.com/elesto-dao/elesto/v3/app"
"github.com/elesto-dao/elesto/v3/x/did"
)

// Test data for the sees to run
Expand Down
10 changes: 5 additions & 5 deletions x/credential/client/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
dbm "github.com/tendermint/tm-db"

"github.com/elesto-dao/elesto/v2/app"
"github.com/elesto-dao/elesto/v2/x/credential"
"github.com/elesto-dao/elesto/v2/x/credential/client/cli"
"github.com/elesto-dao/elesto/v2/x/did"
didcli "github.com/elesto-dao/elesto/v2/x/did/client/cli"
"github.com/elesto-dao/elesto/v3/app"
"github.com/elesto-dao/elesto/v3/x/credential"
"github.com/elesto-dao/elesto/v3/x/credential/client/cli"
"github.com/elesto-dao/elesto/v3/x/did"
didcli "github.com/elesto-dao/elesto/v3/x/did/client/cli"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions x/credential/client/cli/credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"github.com/noandrea/rl2020"
"github.com/spf13/cobra"

"github.com/elesto-dao/elesto/v2/x/credential"
"github.com/elesto-dao/elesto/v2/x/did"
"github.com/elesto-dao/elesto/v3/x/credential"
"github.com/elesto-dao/elesto/v3/x/did"
)

func NewQueryCredentialStatusCmd() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion x/credential/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/cosmos/cosmos-sdk/version"
"github.com/spf13/cobra"

"github.com/elesto-dao/elesto/v2/x/credential"
"github.com/elesto-dao/elesto/v3/x/credential"
)

// GetQueryCmd returns the cli query commands for this module
Expand Down
4 changes: 2 additions & 2 deletions x/credential/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"github.com/noandrea/rl2020"
"github.com/spf13/cobra"

"github.com/elesto-dao/elesto/v2/x/credential"
"github.com/elesto-dao/elesto/v2/x/did"
"github.com/elesto-dao/elesto/v3/x/credential"
"github.com/elesto-dao/elesto/v3/x/did"
)

// GetTxCmd returns the transaction commands for this module
Expand Down
2 changes: 1 addition & 1 deletion x/credential/credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/noandrea/rl2020"

"github.com/elesto-dao/elesto/v2/x/did"
"github.com/elesto-dao/elesto/v3/x/did"
)

// NewCredentialDefinitionFromFile create a credential definition by reading the data from a file
Expand Down
Loading

0 comments on commit 27f5109

Please sign in to comment.