diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2b246e42..c70b797b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,20 +2,38 @@
## [Unreleased]
-
-## [v2.1.2] - 2021-11-04
+
+## [v3.0.0] - 2022-01-30
+### Chore
+- simplify the release command
+- update module version to v3
+- upgrade cosoms-sdk version to 0.44.3 ([#308](https://github.com/allinbits/cosmos-cash/issues/308))
+- update to cosmos-sdk v0.45.0 ([#331](https://github.com/allinbits/cosmos-cash/issues/331t))
+
+### Docs
+- minor documentation edits
+- fix for style and standard, do not repeat term ([#322](https://github.com/allinbits/cosmos-cash/issues/322))
+- prettier home page for the documentation portal ([#309](https://github.com/allinbits/cosmos-cash/issues/309))
+
+### Feat
+- implement add/remove controller and full update of a did doc ([#328](https://github.com/allinbits/cosmos-cash/issues/328))
+- polishing credential issuance ([#320](https://github.com/allinbits/cosmos-cash/issues/320))
+
### Fix
- import path for the v2 module version path
+- missing semantic import versioning from module declaration
- **ci:** rules for gosec linter
+### Test
+- increase test coverage ([#334](https://github.com/allinbits/cosmos-cash/issues/334))
+- enhance [#279](https://github.com/allinbits/cosmos-cash/issues/279) did cli test go ([#300](https://github.com/allinbits/cosmos-cash/issues/300))
-
-## [v2.1.1] - 2021-11-04
-### Chore
-- update changelog for v2.1.1
+### BREAKING CHANGE
+
+- update message overwrite a full did document (change command semantics)
+- did events are only of two types
+- credential IDs are automatically generated by default, they can be overridden using the `--credential-id` parameter
-### Fix
-- missing semantic import versioning from module declaration
@@ -141,6 +159,9 @@ remove support for legacy key format
- **seed:** add params to switch chain for selective disclosure
+
+## [v0.1.0] - 2021-06-03
+
## v21.06.03 - 2021-06-03
### Chore
@@ -210,11 +231,11 @@ remove support for legacy key format
- **integration-test:** restructure app.go and fix RegisterTxService
-[Unreleased]: https://github.com/allinbits/cosmos-cash/compare/v2.1.2...HEAD
-[v2.1.2]: https://github.com/allinbits/cosmos-cash/compare/v2.1.1...v2.1.2
-[v2.1.1]: https://github.com/allinbits/cosmos-cash/compare/v2.1.0...v2.1.1
+[Unreleased]: https://github.com/allinbits/cosmos-cash/compare/v3.0.0...HEAD
+[v3.0.0]: https://github.com/allinbits/cosmos-cash/compare/v2.1.0...v3.0.0
[v2.1.0]: https://github.com/allinbits/cosmos-cash/compare/v2.0.0...v2.1.0
[v2.0.0]: https://github.com/allinbits/cosmos-cash/compare/v1.0.0...v2.0.0
[v1.0.0]: https://github.com/allinbits/cosmos-cash/compare/v0.2.0...v1.0.0
[v0.2.0]: https://github.com/allinbits/cosmos-cash/compare/v0.2.0-pre...v0.2.0
-[v0.2.0-pre]: https://github.com/allinbits/cosmos-cash/compare/v21.06.03...v0.2.0-pre
+[v0.2.0-pre]: https://github.com/allinbits/cosmos-cash/compare/v0.1.0...v0.2.0-pre
+[v0.1.0]: https://github.com/allinbits/cosmos-cash/compare/v21.06.03...v0.1.0
diff --git a/Makefile b/Makefile
index 625c900e..c98fe818 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,14 @@ test-ci:
changelog:
git-chglog --output CHANGELOG.md
-git-release-prepare:
+_get-release-version:
+ifneq ($(shell git branch --show-current | head -c 9), release/v)
+ $(error this is not a release branch. a release branch should be something like 'release/v1.2.3')
+endif
+ $(eval APP_VERSION = $(subst release/,,$(shell git branch --show-current)))
+# @echo -n "releasing version $(APP_VERSION), confirm? [y/N] " && read ans && [ $${ans:-N} == y ]
+
+release-prepare: _get-release-version
@echo making release $(APP_VERSION)
ifndef APP_VERSION
$(error APP_VERSION is not set, please specifiy the version you want to tag)
@@ -86,17 +93,4 @@ endif
ifneq ($(shell git rev-parse --abbrev-ref HEAD),main)
$(error you are not on the main branch. aborting)
endif
- git tag -s -a "$(APP_VERSION)" -m "Changelog: https://github.com/allinbits/cosmos-cash/blob/main/CHANGELOG.md"
-
-_release-patch:
- $(eval APP_VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$NF = $$NF + 1;} 1' | sed 's/ /./g'))
-release-patch: _release-patch git-release-prepare
-
-_release-minor:
- $(eval APP_VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$(NF-1) = $$(NF-1) + 1;} 1' | sed 's/ /./g' | awk -F. '{$$(NF) = 0;} 1' | sed 's/ /./g'))
-release-minor: _release-minor git-release-prepare
-
-_release-major:
- $(eval APP_VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$(NF-2) = $$(NF-2) + 1;} 1' | sed 's/ /./g' | awk -F. '{$$(NF-1) = 0;} 1' | sed 's/ /./g' | awk -F. '{$$(NF) = 0;} 1' | sed 's/ /./g' ))
-release-major: _release-major git-release-prepare
-
+ git tag -s -a "$(shell git-chglog $(APP_VERSION))" -m "Changelog: https://github.com/allinbits/cosmos-cash/blob/main/CHANGELOG.md"
\ No newline at end of file
diff --git a/app/ante.go b/app/ante.go
index e1f14122..6c733fe5 100644
--- a/app/ante.go
+++ b/app/ante.go
@@ -6,10 +6,10 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth/signing"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- didkeeper "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- issuerante "github.com/allinbits/cosmos-cash/v2/x/issuer/ante"
- issuerkeeper "github.com/allinbits/cosmos-cash/v2/x/issuer/keeper"
- vcskeeper "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/keeper"
+ didkeeper "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ issuerante "github.com/allinbits/cosmos-cash/v3/x/issuer/ante"
+ issuerkeeper "github.com/allinbits/cosmos-cash/v3/x/issuer/keeper"
+ vcskeeper "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/keeper"
)
// NewAnteHandler returns an AnteHandler that checks and increments sequence
diff --git a/app/app.go b/app/app.go
index e5b5ce39..80c7a6f9 100644
--- a/app/app.go
+++ b/app/app.go
@@ -90,22 +90,22 @@ import ( // this line is used by starport scaffolding # stargate/app/moduleImpor
tmos "github.com/tendermint/tendermint/libs/os"
dbm "github.com/tendermint/tm-db"
- appparams "github.com/allinbits/cosmos-cash/v2/app/params"
- "github.com/allinbits/cosmos-cash/v2/x/did"
- didkeeper "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer"
- issuerkeeper "github.com/allinbits/cosmos-cash/v2/x/issuer/keeper"
- issuertypes "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
- "github.com/allinbits/cosmos-cash/v2/x/regulator"
- regulatorkeeper "github.com/allinbits/cosmos-cash/v2/x/regulator/keeper"
- regulatortypes "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
- vcs "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential"
- vcskeeper "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/keeper"
- vcstypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ appparams "github.com/allinbits/cosmos-cash/v3/app/params"
+ "github.com/allinbits/cosmos-cash/v3/x/did"
+ didkeeper "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer"
+ issuerkeeper "github.com/allinbits/cosmos-cash/v3/x/issuer/keeper"
+ issuertypes "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator"
+ regulatorkeeper "github.com/allinbits/cosmos-cash/v3/x/regulator/keeper"
+ regulatortypes "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
+ vcs "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential"
+ vcskeeper "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/keeper"
+ vcstypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
// unnamed import of statik for swagger UI support
- _ "github.com/allinbits/cosmos-cash/v2/docs/Reference/swagger/statik"
+ _ "github.com/allinbits/cosmos-cash/v3/docs/Reference/swagger/statik"
)
var (
diff --git a/app/encoding.go b/app/encoding.go
index a02966cc..b5da9908 100644
--- a/app/encoding.go
+++ b/app/encoding.go
@@ -3,7 +3,7 @@ package app
import (
"github.com/cosmos/cosmos-sdk/std"
- "github.com/allinbits/cosmos-cash/v2/app/params"
+ "github.com/allinbits/cosmos-cash/v3/app/params"
)
// MakeEncodingConfig creates an EncodingConfig for testing
diff --git a/cmd/cosmos-cashd/cmd/genaccounts.go b/cmd/cosmos-cashd/cmd/genaccounts.go
index a84f9b8d..89ed368c 100644
--- a/cmd/cosmos-cashd/cmd/genaccounts.go
+++ b/cmd/cosmos-cashd/cmd/genaccounts.go
@@ -19,7 +19,7 @@ import (
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
"github.com/spf13/cobra"
- regulatortypes "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
+ regulatortypes "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
)
const (
diff --git a/cmd/cosmos-cashd/cmd/root.go b/cmd/cosmos-cashd/cmd/root.go
index e7b451c7..ee0370a1 100644
--- a/cmd/cosmos-cashd/cmd/root.go
+++ b/cmd/cosmos-cashd/cmd/root.go
@@ -32,8 +32,8 @@ import (
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"
- "github.com/allinbits/cosmos-cash/v2/app"
- "github.com/allinbits/cosmos-cash/v2/app/params"
+ "github.com/allinbits/cosmos-cash/v3/app"
+ "github.com/allinbits/cosmos-cash/v3/app/params"
)
// ChainID the chain did
diff --git a/cmd/cosmos-cashd/main.go b/cmd/cosmos-cashd/main.go
index 49979293..acaef17b 100644
--- a/cmd/cosmos-cashd/main.go
+++ b/cmd/cosmos-cashd/main.go
@@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
- "github.com/allinbits/cosmos-cash/v2/app"
- "github.com/allinbits/cosmos-cash/v2/cmd/cosmos-cashd/cmd"
+ "github.com/allinbits/cosmos-cash/v3/app"
+ "github.com/allinbits/cosmos-cash/v3/cmd/cosmos-cashd/cmd"
)
func main() {
diff --git a/go.mod b/go.mod
index 729fd8ee..e339a5d5 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/allinbits/cosmos-cash/v2
+module github.com/allinbits/cosmos-cash/v3
go 1.17
diff --git a/proto/did/did.proto b/proto/did/did.proto
index ba945213..b04d6fad 100644
--- a/proto/did/did.proto
+++ b/proto/did/did.proto
@@ -1,7 +1,7 @@
syntax = "proto3";
package allinbits.cosmoscash.did;
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/did/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/did/types";
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
diff --git a/proto/did/event.proto b/proto/did/event.proto
index 041e7eb7..54c82302 100644
--- a/proto/did/event.proto
+++ b/proto/did/event.proto
@@ -1,7 +1,7 @@
syntax = "proto3";
package allinbits.cosmoscash.did;
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/did/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/did/types";
import "gogoproto/gogo.proto";
diff --git a/proto/did/query.proto b/proto/did/query.proto
index cb86fc7b..5496cd83 100644
--- a/proto/did/query.proto
+++ b/proto/did/query.proto
@@ -7,7 +7,7 @@ import "did/did.proto";
import "gogoproto/gogo.proto";
// this line is used by starport scaffolding # 1
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/did/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/did/types";
// this line is used by starport scaffolding # 1
diff --git a/proto/did/tx.proto b/proto/did/tx.proto
index 790d2fac..f9f3811d 100644
--- a/proto/did/tx.proto
+++ b/proto/did/tx.proto
@@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "did/did.proto";
import "google/api/annotations.proto";
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/did/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/did/types";
// Msg defines the identity Msg service.
service Msg {
diff --git a/proto/issuer/issuer.proto b/proto/issuer/issuer.proto
index 7a1e6b20..ecbfb5b0 100644
--- a/proto/issuer/issuer.proto
+++ b/proto/issuer/issuer.proto
@@ -1,7 +1,7 @@
syntax = "proto3";
package allinbits.cosmoscash.issuer;
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/issuer/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/issuer/types";
// Issuer represents an e-money token issuer
message Issuer {
diff --git a/proto/issuer/query.proto b/proto/issuer/query.proto
index 3352f3b2..79b9f4a8 100644
--- a/proto/issuer/query.proto
+++ b/proto/issuer/query.proto
@@ -7,7 +7,7 @@ import "issuer/issuer.proto";
import "gogoproto/gogo.proto";
// this line is used by starport scaffolding # 1
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/issuer/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/issuer/types";
// Query defines the gRPC querier service.
service Query {
diff --git a/proto/issuer/tx.proto b/proto/issuer/tx.proto
index d059d1e3..c775646a 100644
--- a/proto/issuer/tx.proto
+++ b/proto/issuer/tx.proto
@@ -4,7 +4,7 @@ import "gogoproto/gogo.proto";
import "verifiable-credential/verifiable-credential.proto";
// this line is used by starport scaffolding # proto/tx/import
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/issuer/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/issuer/types";
// Msg defines the Msg service.
service Msg {
diff --git a/proto/regulator/genesis.proto b/proto/regulator/genesis.proto
index 452f7f87..5852a7d0 100644
--- a/proto/regulator/genesis.proto
+++ b/proto/regulator/genesis.proto
@@ -3,7 +3,7 @@ package allinbits.cosmoscash.regulator;
// this line is used by starport scaffolding # genesis/proto/import
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/regulator/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/regulator/types";
import "gogoproto/gogo.proto";
diff --git a/proto/regulator/query.proto b/proto/regulator/query.proto
index 8eed9b5c..737929e0 100644
--- a/proto/regulator/query.proto
+++ b/proto/regulator/query.proto
@@ -5,7 +5,7 @@ import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
// this line is used by starport scaffolding # 1
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/regulator/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/regulator/types";
// Query defines the gRPC querier service.
service Query {
diff --git a/proto/regulator/tx.proto b/proto/regulator/tx.proto
index 22caf6b3..29275e23 100644
--- a/proto/regulator/tx.proto
+++ b/proto/regulator/tx.proto
@@ -3,7 +3,7 @@ package allinbits.cosmoscash.regulator;
// this line is used by starport scaffolding # proto/tx/import
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/regulator/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/regulator/types";
import "gogoproto/gogo.proto";
import "verifiable-credential/verifiable-credential.proto";
diff --git a/proto/verifiable-credential/query.proto b/proto/verifiable-credential/query.proto
index 84551a54..11b18505 100644
--- a/proto/verifiable-credential/query.proto
+++ b/proto/verifiable-credential/query.proto
@@ -7,7 +7,7 @@ import "verifiable-credential/verifiable-credential.proto";
import "gogoproto/gogo.proto";
// this line is used by starport scaffolding # 1
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types";
// Query defines the gRPC querier service.
service Query {
diff --git a/proto/verifiable-credential/tx.proto b/proto/verifiable-credential/tx.proto
index 64b50530..147aaa75 100644
--- a/proto/verifiable-credential/tx.proto
+++ b/proto/verifiable-credential/tx.proto
@@ -3,7 +3,7 @@ package allinbits.cosmoscash.verifiablecredential;
// this line is used by starport scaffolding # proto/tx/import
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types";
import "gogoproto/gogo.proto";
import "verifiable-credential/verifiable-credential.proto";
diff --git a/proto/verifiable-credential/verifiable-credential.proto b/proto/verifiable-credential/verifiable-credential.proto
index 0707ab8b..f027dc1b 100644
--- a/proto/verifiable-credential/verifiable-credential.proto
+++ b/proto/verifiable-credential/verifiable-credential.proto
@@ -4,7 +4,7 @@ package allinbits.cosmoscash.verifiablecredential;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "cosmos/base/v1beta1/coin.proto";
-option go_package = "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types";
+option go_package = "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types";
/*
Credentials are a part of our daily lives; driver's licenses are used to assert
@@ -157,7 +157,7 @@ message RegulatorCredentialSubject {
}
// RegistrationCredentialSubject is used to identify a business entity
-// https://github.com/allinbits/cosmos-cash/v2/blob/main/docs/Explanation/ADR/adr-005-registration-credential.md
+// https://github.com/allinbits/cosmos-cash/v3/blob/main/docs/Explanation/ADR/adr-005-registration-credential.md
message RegistrationCredentialSubject {
// The value of id represents the ID of the credential_subject
string id = 1;
diff --git a/scripts/protocgen b/scripts/protocgen
index a5bcb158..a05294cc 100755
--- a/scripts/protocgen
+++ b/scripts/protocgen
@@ -27,6 +27,6 @@ done
# move proto files to the right places
-cp -r github.com/allinbits/cosmos-cash/v2/* ./
+cp -r github.com/allinbits/cosmos-cash/v3/* ./
rm -rf github.com
diff --git a/x/did/client/cli/aries.go b/x/did/client/cli/aries.go
index 4f51da20..1c97593b 100644
--- a/x/did/client/cli/aries.go
+++ b/x/did/client/cli/aries.go
@@ -16,7 +16,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/tx"
"github.com/spf13/cobra"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
// request send a json http request
diff --git a/x/did/client/cli/cli_test.go b/x/did/client/cli/cli_test.go
index f7c7e8e3..8484b459 100644
--- a/x/did/client/cli/cli_test.go
+++ b/x/did/client/cli/cli_test.go
@@ -12,15 +12,15 @@ import (
"github.com/stretchr/testify/suite"
tmcli "github.com/tendermint/tendermint/libs/cli"
- "github.com/allinbits/cosmos-cash/v2/x/did/client/cli"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/client/cli"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
"github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/network"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/allinbits/cosmos-cash/v2/app"
- "github.com/allinbits/cosmos-cash/v2/app/params"
+ "github.com/allinbits/cosmos-cash/v3/app"
+ "github.com/allinbits/cosmos-cash/v3/app/params"
"github.com/cosmos/cosmos-sdk/baseapp"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/simapp"
diff --git a/x/did/client/cli/query.go b/x/did/client/cli/query.go
index a624cba2..3a32c4b5 100644
--- a/x/did/client/cli/query.go
+++ b/x/did/client/cli/query.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/spf13/cobra"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/did/client/cli/tx.go b/x/did/client/cli/tx.go
index a2d5fcfd..abee7c8d 100644
--- a/x/did/client/cli/tx.go
+++ b/x/did/client/cli/tx.go
@@ -12,7 +12,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/did/keeper/did.go b/x/did/keeper/did.go
index 226a9add..6a76ed79 100644
--- a/x/did/keeper/did.go
+++ b/x/did/keeper/did.go
@@ -7,7 +7,7 @@ import (
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
func (k Keeper) SetDidDocument(ctx sdk.Context, key []byte, document types.DidDocument) {
diff --git a/x/did/keeper/did_test.go b/x/did/keeper/did_test.go
index 32e39fbc..4e337a60 100644
--- a/x/did/keeper/did_test.go
+++ b/x/did/keeper/did_test.go
@@ -3,7 +3,7 @@ package keeper
import (
"fmt"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
func (suite *KeeperTestSuite) TestDidDocumentKeeperSetAndGet() {
diff --git a/x/did/keeper/grpc_query.go b/x/did/keeper/grpc_query.go
index 4a58b5d8..f252ecd4 100644
--- a/x/did/keeper/grpc_query.go
+++ b/x/did/keeper/grpc_query.go
@@ -7,7 +7,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
var _ types.QueryServer = Keeper{}
diff --git a/x/did/keeper/grpc_query_test.go b/x/did/keeper/grpc_query_test.go
index 32ceaaf7..cc4a8acd 100644
--- a/x/did/keeper/grpc_query_test.go
+++ b/x/did/keeper/grpc_query_test.go
@@ -4,7 +4,7 @@ import (
"context"
"fmt"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
func (suite *KeeperTestSuite) TestGRPCQueryDidDocuments() {
diff --git a/x/did/keeper/keeper.go b/x/did/keeper/keeper.go
index b3db1010..7291a74e 100644
--- a/x/did/keeper/keeper.go
+++ b/x/did/keeper/keeper.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/tendermint/tendermint/libs/log"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
// UnmarshalFn is a generic function to unmarshal bytes
diff --git a/x/did/keeper/keeper_test.go b/x/did/keeper/keeper_test.go
index 900631fc..1db092f2 100644
--- a/x/did/keeper/keeper_test.go
+++ b/x/did/keeper/keeper_test.go
@@ -7,7 +7,7 @@ import (
"github.com/rs/zerolog/log"
"github.com/stretchr/testify/suite"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
"github.com/cosmos/cosmos-sdk/codec"
ct "github.com/cosmos/cosmos-sdk/codec/types"
server "github.com/cosmos/cosmos-sdk/server"
diff --git a/x/did/keeper/msg_server.go b/x/did/keeper/msg_server.go
index 9d7ae53b..8e63f21c 100644
--- a/x/did/keeper/msg_server.go
+++ b/x/did/keeper/msg_server.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
type msgServer struct {
diff --git a/x/did/keeper/msg_server_test.go b/x/did/keeper/msg_server_test.go
index a1bb07de..0a5eab11 100644
--- a/x/did/keeper/msg_server_test.go
+++ b/x/did/keeper/msg_server_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"time"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
)
diff --git a/x/did/module.go b/x/did/module.go
index c4bf0873..7ba25972 100644
--- a/x/did/module.go
+++ b/x/did/module.go
@@ -14,9 +14,9 @@ import ( // this line is used by starport scaffolding # 1
"github.com/spf13/cobra"
abci "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/x/did/client/cli"
- "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/client/cli"
+ "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
var (
diff --git a/x/did/module_test.go b/x/did/module_test.go
index d2f661fe..37865611 100644
--- a/x/did/module_test.go
+++ b/x/did/module_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/require"
abcitypes "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/app"
+ "github.com/allinbits/cosmos-cash/v3/app"
"github.com/tendermint/tendermint/libs/log"
"github.com/cosmos/cosmos-sdk/simapp"
diff --git a/x/issuer/ante/ante.go b/x/issuer/ante/ante.go
index b5d7ee3f..ef3d7d99 100644
--- a/x/issuer/ante/ante.go
+++ b/x/issuer/ante/ante.go
@@ -6,11 +6,11 @@ import (
accountKeeper "github.com/cosmos/cosmos-sdk/x/auth/ante"
bank "github.com/cosmos/cosmos-sdk/x/bank/types"
- didkeeper "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/keeper"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
- vcskeeper "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/keeper"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didkeeper "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/keeper"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
+ vcskeeper "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/keeper"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// CheckUserCredentialsDecorator checks the users has a UserCredential in a preprocessing hook
diff --git a/x/issuer/ante/ante_test.go b/x/issuer/ante/ante_test.go
index 0c81db2e..e962e1d7 100644
--- a/x/issuer/ante/ante_test.go
+++ b/x/issuer/ante/ante_test.go
@@ -32,12 +32,12 @@ import (
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
dbm "github.com/tendermint/tm-db"
- didkeeper "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- issuerkeeper "github.com/allinbits/cosmos-cash/v2/x/issuer/keeper"
- issuertypes "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
- vckeeper "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/keeper"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didkeeper "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ issuerkeeper "github.com/allinbits/cosmos-cash/v3/x/issuer/keeper"
+ issuertypes "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
+ vckeeper "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/keeper"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// TestAccount represents an account used in the tests in x/auth/ante.
diff --git a/x/issuer/client/cli/cli_test.go b/x/issuer/client/cli/cli_test.go
index 675406e5..ea5790cd 100644
--- a/x/issuer/client/cli/cli_test.go
+++ b/x/issuer/client/cli/cli_test.go
@@ -8,17 +8,14 @@ import (
"github.com/stretchr/testify/suite"
tmcli "github.com/tendermint/tendermint/libs/cli"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/client/cli"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/client/cli"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
- //"github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/network"
- //sdk "github.com/cosmos/cosmos-sdk/types"
-
- "github.com/allinbits/cosmos-cash/v2/app"
- "github.com/allinbits/cosmos-cash/v2/app/params"
+ "github.com/allinbits/cosmos-cash/v3/app"
+ "github.com/allinbits/cosmos-cash/v3/app/params"
"github.com/cosmos/cosmos-sdk/baseapp"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/simapp"
diff --git a/x/issuer/client/cli/query.go b/x/issuer/client/cli/query.go
index 636df3ef..0a60cdd4 100644
--- a/x/issuer/client/cli/query.go
+++ b/x/issuer/client/cli/query.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/spf13/cobra"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/issuer/client/cli/tx.go b/x/issuer/client/cli/tx.go
index 7bedcb61..c48de7ce 100644
--- a/x/issuer/client/cli/tx.go
+++ b/x/issuer/client/cli/tx.go
@@ -13,9 +13,9 @@ import (
"github.com/spf13/cobra"
"github.com/wealdtech/go-merkletree"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/issuer/keeper/grpc_query.go b/x/issuer/keeper/grpc_query.go
index 6bc45cca..169f530f 100644
--- a/x/issuer/keeper/grpc_query.go
+++ b/x/issuer/keeper/grpc_query.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
)
var _ types.QueryServer = Keeper{}
diff --git a/x/issuer/keeper/issuer.go b/x/issuer/keeper/issuer.go
index 81893758..41edfd27 100644
--- a/x/issuer/keeper/issuer.go
+++ b/x/issuer/keeper/issuer.go
@@ -3,8 +3,8 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
)
func (k Keeper) SetIssuer(ctx sdk.Context, issuer types.Issuer) {
diff --git a/x/issuer/keeper/keeper.go b/x/issuer/keeper/keeper.go
index 7b7bb48d..4ddd9978 100644
--- a/x/issuer/keeper/keeper.go
+++ b/x/issuer/keeper/keeper.go
@@ -8,7 +8,7 @@ import (
bank "github.com/cosmos/cosmos-sdk/x/bank/keeper"
"github.com/tendermint/tendermint/libs/log"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
)
// UnmarshalFn is a generic function to unmarshal bytes
diff --git a/x/issuer/keeper/keeper_test.go b/x/issuer/keeper/keeper_test.go
index ec670db4..848f2024 100644
--- a/x/issuer/keeper/keeper_test.go
+++ b/x/issuer/keeper/keeper_test.go
@@ -9,7 +9,7 @@ import (
"github.com/rs/zerolog/log"
"github.com/stretchr/testify/suite"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
"github.com/cosmos/cosmos-sdk/codec"
ct "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/crypto/hd"
@@ -18,12 +18,12 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
- didkeeper "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- regkeeper "github.com/allinbits/cosmos-cash/v2/x/regulator/keeper"
- regtypes "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
- vckeeper "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/keeper"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didkeeper "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ regkeeper "github.com/allinbits/cosmos-cash/v3/x/regulator/keeper"
+ regtypes "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
+ vckeeper "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/keeper"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
"github.com/cosmos/cosmos-sdk/baseapp"
server "github.com/cosmos/cosmos-sdk/server"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
diff --git a/x/issuer/keeper/msg_server.go b/x/issuer/keeper/msg_server.go
index 09e4cec7..095f1438 100644
--- a/x/issuer/keeper/msg_server.go
+++ b/x/issuer/keeper/msg_server.go
@@ -6,9 +6,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
type msgServer struct {
diff --git a/x/issuer/keeper/msg_server_test.go b/x/issuer/keeper/msg_server_test.go
index 6e98c50b..1a551005 100644
--- a/x/issuer/keeper/msg_server_test.go
+++ b/x/issuer/keeper/msg_server_test.go
@@ -4,9 +4,9 @@ import (
"fmt"
"time"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
diff --git a/x/issuer/keeper/query.go b/x/issuer/keeper/query.go
index 5fbd1e72..92869c31 100644
--- a/x/issuer/keeper/query.go
+++ b/x/issuer/keeper/query.go
@@ -6,7 +6,7 @@ import ( // this line is used by starport scaffolding # 1
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
abci "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
)
//nolint
diff --git a/x/issuer/module.go b/x/issuer/module.go
index 79e03363..c67bf5e4 100644
--- a/x/issuer/module.go
+++ b/x/issuer/module.go
@@ -13,9 +13,9 @@ import ( // this line is used by starport scaffolding # 1
"github.com/spf13/cobra"
abci "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/client/cli"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/keeper"
- "github.com/allinbits/cosmos-cash/v2/x/issuer/types"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/client/cli"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/keeper"
+ "github.com/allinbits/cosmos-cash/v3/x/issuer/types"
)
var (
diff --git a/x/issuer/module_test.go b/x/issuer/module_test.go
index b8fbf9c2..8da4026a 100644
--- a/x/issuer/module_test.go
+++ b/x/issuer/module_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/require"
abcitypes "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/app"
+ "github.com/allinbits/cosmos-cash/v3/app"
"github.com/tendermint/tendermint/libs/log"
"github.com/cosmos/cosmos-sdk/simapp"
diff --git a/x/issuer/types/expected_keepers.go b/x/issuer/types/expected_keepers.go
index e57adf9b..0234a1f4 100644
--- a/x/issuer/types/expected_keepers.go
+++ b/x/issuer/types/expected_keepers.go
@@ -3,8 +3,8 @@ package types
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// DidKeeper defines the expected did keeper functions
diff --git a/x/issuer/types/msg.go b/x/issuer/types/msg.go
index 3634ceac..08fc28f7 100644
--- a/x/issuer/types/msg.go
+++ b/x/issuer/types/msg.go
@@ -4,8 +4,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// msg types
diff --git a/x/issuer/types/tx.pb.go b/x/issuer/types/tx.pb.go
index b69ab087..6e4fcd84 100644
--- a/x/issuer/types/tx.pb.go
+++ b/x/issuer/types/tx.pb.go
@@ -6,7 +6,7 @@ package types
import (
context "context"
fmt "fmt"
- types "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ types "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
_ "github.com/gogo/protobuf/gogoproto"
grpc1 "github.com/gogo/protobuf/grpc"
proto "github.com/gogo/protobuf/proto"
diff --git a/x/regulator/client/cli/query.go b/x/regulator/client/cli/query.go
index 63ea2bf2..1522eb03 100644
--- a/x/regulator/client/cli/query.go
+++ b/x/regulator/client/cli/query.go
@@ -9,7 +9,7 @@ import (
"github.com/spf13/cobra"
// sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/regulator/client/cli/tx.go b/x/regulator/client/cli/tx.go
index 6e7bcf3f..6c242043 100644
--- a/x/regulator/client/cli/tx.go
+++ b/x/regulator/client/cli/tx.go
@@ -12,9 +12,9 @@ import (
"github.com/spf13/cobra"
// "github.com/cosmos/cosmos-sdk/client/flags"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
var (
diff --git a/x/regulator/genesis.go b/x/regulator/genesis.go
index e7f093f2..d7657b57 100644
--- a/x/regulator/genesis.go
+++ b/x/regulator/genesis.go
@@ -3,8 +3,8 @@ package regulator
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/keeper"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/keeper"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
)
// DefaultGenesis returns the default issuer genesis state
diff --git a/x/regulator/keeper/grpc_query.go b/x/regulator/keeper/grpc_query.go
index 6d5ee839..983223db 100644
--- a/x/regulator/keeper/grpc_query.go
+++ b/x/regulator/keeper/grpc_query.go
@@ -1,7 +1,7 @@
package keeper
import (
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
)
var _ types.QueryServer = Keeper{}
diff --git a/x/regulator/keeper/keeper.go b/x/regulator/keeper/keeper.go
index abc303ce..a396650a 100644
--- a/x/regulator/keeper/keeper.go
+++ b/x/regulator/keeper/keeper.go
@@ -10,8 +10,8 @@ import (
bank "github.com/cosmos/cosmos-sdk/x/bank/keeper"
"github.com/tendermint/tendermint/libs/log"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
type (
diff --git a/x/regulator/keeper/keeper_test.go b/x/regulator/keeper/keeper_test.go
index 9d14584f..9e53e2ce 100644
--- a/x/regulator/keeper/keeper_test.go
+++ b/x/regulator/keeper/keeper_test.go
@@ -3,7 +3,7 @@ package keeper
import (
"testing"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
"github.com/cosmos/cosmos-sdk/codec"
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
"github.com/cosmos/cosmos-sdk/store"
@@ -13,10 +13,10 @@ import (
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
- didkeeper "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- vckeeper "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/keeper"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didkeeper "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ vckeeper "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/keeper"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
"github.com/cosmos/cosmos-sdk/baseapp"
ct "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/crypto/hd"
diff --git a/x/regulator/keeper/msg_server.go b/x/regulator/keeper/msg_server.go
index e5c2354d..9f756e34 100644
--- a/x/regulator/keeper/msg_server.go
+++ b/x/regulator/keeper/msg_server.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
type msgServer struct {
diff --git a/x/regulator/keeper/msg_server_test.go b/x/regulator/keeper/msg_server_test.go
index 05577ab8..e626c97e 100644
--- a/x/regulator/keeper/msg_server_test.go
+++ b/x/regulator/keeper/msg_server_test.go
@@ -4,9 +4,9 @@ import (
"fmt"
"time"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
diff --git a/x/regulator/module.go b/x/regulator/module.go
index d693d5c7..546d9153 100644
--- a/x/regulator/module.go
+++ b/x/regulator/module.go
@@ -16,9 +16,9 @@ import (
"github.com/spf13/cobra"
abci "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/client/cli"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/keeper"
- "github.com/allinbits/cosmos-cash/v2/x/regulator/types"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/client/cli"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/keeper"
+ "github.com/allinbits/cosmos-cash/v3/x/regulator/types"
)
var (
diff --git a/x/regulator/types/expected_keepers.go b/x/regulator/types/expected_keepers.go
index 602f67de..e261e231 100644
--- a/x/regulator/types/expected_keepers.go
+++ b/x/regulator/types/expected_keepers.go
@@ -3,8 +3,8 @@ package types
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// DidKeeper defines the expected did keeper functions
diff --git a/x/regulator/types/msg.go b/x/regulator/types/msg.go
index e66f3425..750035d3 100644
--- a/x/regulator/types/msg.go
+++ b/x/regulator/types/msg.go
@@ -4,7 +4,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- vctypes "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ vctypes "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// define message types
diff --git a/x/regulator/types/tx.pb.go b/x/regulator/types/tx.pb.go
index 78f1d51a..6f30d5d6 100644
--- a/x/regulator/types/tx.pb.go
+++ b/x/regulator/types/tx.pb.go
@@ -6,7 +6,7 @@ package types
import (
context "context"
fmt "fmt"
- types "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ types "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
_ "github.com/gogo/protobuf/gogoproto"
grpc1 "github.com/gogo/protobuf/grpc"
proto "github.com/gogo/protobuf/proto"
diff --git a/x/verifiable-credential/client/cli/cli_test.go b/x/verifiable-credential/client/cli/cli_test.go
index 8775311a..4560ebc7 100644
--- a/x/verifiable-credential/client/cli/cli_test.go
+++ b/x/verifiable-credential/client/cli/cli_test.go
@@ -8,13 +8,13 @@ import (
"github.com/stretchr/testify/suite"
tmcli "github.com/tendermint/tendermint/libs/cli"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/client/cli"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/client/cli"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/network"
- "github.com/allinbits/cosmos-cash/v2/app"
- "github.com/allinbits/cosmos-cash/v2/app/params"
+ "github.com/allinbits/cosmos-cash/v3/app"
+ "github.com/allinbits/cosmos-cash/v3/app/params"
"github.com/cosmos/cosmos-sdk/baseapp"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/simapp"
diff --git a/x/verifiable-credential/client/cli/query.go b/x/verifiable-credential/client/cli/query.go
index 717763ae..fb4e0ed5 100644
--- a/x/verifiable-credential/client/cli/query.go
+++ b/x/verifiable-credential/client/cli/query.go
@@ -9,7 +9,7 @@ import (
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/spf13/cobra"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/verifiable-credential/client/cli/tx.go b/x/verifiable-credential/client/cli/tx.go
index 5d98cf19..ad2d06cf 100644
--- a/x/verifiable-credential/client/cli/tx.go
+++ b/x/verifiable-credential/client/cli/tx.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/tx"
"github.com/spf13/cobra"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/verifiable-credential/keeper/grpc_query.go b/x/verifiable-credential/keeper/grpc_query.go
index c5adcd5d..93b7dee2 100644
--- a/x/verifiable-credential/keeper/grpc_query.go
+++ b/x/verifiable-credential/keeper/grpc_query.go
@@ -7,7 +7,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
var _ types.QueryServer = Keeper{}
diff --git a/x/verifiable-credential/keeper/grpc_query_test.go b/x/verifiable-credential/keeper/grpc_query_test.go
index 561bcd12..96b0d750 100644
--- a/x/verifiable-credential/keeper/grpc_query_test.go
+++ b/x/verifiable-credential/keeper/grpc_query_test.go
@@ -4,7 +4,7 @@ import (
"context"
"fmt"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
func (suite *KeeperTestSuite) TestGRPCQueryVerifiableCredentials() {
diff --git a/x/verifiable-credential/keeper/keeper.go b/x/verifiable-credential/keeper/keeper.go
index b5342415..85bb32e6 100644
--- a/x/verifiable-credential/keeper/keeper.go
+++ b/x/verifiable-credential/keeper/keeper.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/tendermint/tendermint/libs/log"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// UnmarshalFn is a generic function to unmarshal bytes
diff --git a/x/verifiable-credential/keeper/keeper_test.go b/x/verifiable-credential/keeper/keeper_test.go
index 04e37cb1..40272396 100644
--- a/x/verifiable-credential/keeper/keeper_test.go
+++ b/x/verifiable-credential/keeper/keeper_test.go
@@ -7,9 +7,9 @@ import (
"github.com/cosmos/cosmos-sdk/server"
"github.com/stretchr/testify/suite"
- didkeeper "github.com/allinbits/cosmos-cash/v2/x/did/keeper"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didkeeper "github.com/allinbits/cosmos-cash/v3/x/did/keeper"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/codec"
ct "github.com/cosmos/cosmos-sdk/codec/types"
diff --git a/x/verifiable-credential/keeper/msg_server.go b/x/verifiable-credential/keeper/msg_server.go
index 758d1d8d..66f94880 100644
--- a/x/verifiable-credential/keeper/msg_server.go
+++ b/x/verifiable-credential/keeper/msg_server.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
type msgServer struct {
diff --git a/x/verifiable-credential/keeper/msg_server_test.go b/x/verifiable-credential/keeper/msg_server_test.go
index 516fb19a..3fac3714 100644
--- a/x/verifiable-credential/keeper/msg_server_test.go
+++ b/x/verifiable-credential/keeper/msg_server_test.go
@@ -4,8 +4,8 @@ import (
"fmt"
"time"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
diff --git a/x/verifiable-credential/keeper/verifiable-credential.go b/x/verifiable-credential/keeper/verifiable-credential.go
index dae00b34..9056a8f6 100644
--- a/x/verifiable-credential/keeper/verifiable-credential.go
+++ b/x/verifiable-credential/keeper/verifiable-credential.go
@@ -4,8 +4,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
// SetVerifiableCredential commit a verifiable credential to the storage
diff --git a/x/verifiable-credential/keeper/verifiable-credential_test.go b/x/verifiable-credential/keeper/verifiable-credential_test.go
index 7ec3a23b..43a65078 100644
--- a/x/verifiable-credential/keeper/verifiable-credential_test.go
+++ b/x/verifiable-credential/keeper/verifiable-credential_test.go
@@ -3,7 +3,7 @@ package keeper
import (
"fmt"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
func (suite *KeeperTestSuite) TestVerifiableCredentialsKeeperSetAndGet() {
diff --git a/x/verifiable-credential/module.go b/x/verifiable-credential/module.go
index 0e676bd4..124ec759 100644
--- a/x/verifiable-credential/module.go
+++ b/x/verifiable-credential/module.go
@@ -13,9 +13,9 @@ import ( // this line is used by starport scaffolding # 1
"github.com/spf13/cobra"
abci "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/client/cli"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/keeper"
- "github.com/allinbits/cosmos-cash/v2/x/verifiable-credential/types"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/client/cli"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/keeper"
+ "github.com/allinbits/cosmos-cash/v3/x/verifiable-credential/types"
)
var (
diff --git a/x/verifiable-credential/module_test.go b/x/verifiable-credential/module_test.go
index 8669c458..bee3dd25 100644
--- a/x/verifiable-credential/module_test.go
+++ b/x/verifiable-credential/module_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/require"
abcitypes "github.com/tendermint/tendermint/abci/types"
- "github.com/allinbits/cosmos-cash/v2/app"
+ "github.com/allinbits/cosmos-cash/v3/app"
"github.com/tendermint/tendermint/libs/log"
"github.com/cosmos/cosmos-sdk/simapp"
diff --git a/x/verifiable-credential/types/expected_keepers.go b/x/verifiable-credential/types/expected_keepers.go
index 6f701a0c..63f4a226 100644
--- a/x/verifiable-credential/types/expected_keepers.go
+++ b/x/verifiable-credential/types/expected_keepers.go
@@ -4,7 +4,7 @@ import (
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
// DidKeeper defines the expected did keeper functions
diff --git a/x/verifiable-credential/types/verifiable-credential.go b/x/verifiable-credential/types/verifiable-credential.go
index 7647032b..7c9d5fc6 100644
--- a/x/verifiable-credential/types/verifiable-credential.go
+++ b/x/verifiable-credential/types/verifiable-credential.go
@@ -8,7 +8,7 @@ import (
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- didtypes "github.com/allinbits/cosmos-cash/v2/x/did/types"
+ didtypes "github.com/allinbits/cosmos-cash/v3/x/did/types"
)
// Defines the accepted credential types
diff --git a/x/verifiable-credential/types/verifiable-credential.pb.go b/x/verifiable-credential/types/verifiable-credential.pb.go
index 0630b5ff..039ff80f 100644
--- a/x/verifiable-credential/types/verifiable-credential.pb.go
+++ b/x/verifiable-credential/types/verifiable-credential.pb.go
@@ -429,7 +429,7 @@ func (m *RegulatorCredentialSubject) GetCountry() string {
}
// RegistrationCredentialSubject is used to identify a business entity
-// https://github.com/allinbits/cosmos-cash/v2/blob/main/docs/Explanation/ADR/adr-005-registration-credential.md
+// https://github.com/allinbits/cosmos-cash/v3/blob/main/docs/Explanation/ADR/adr-005-registration-credential.md
type RegistrationCredentialSubject struct {
// The value of id represents the ID of the credential_subject
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`