From d4eed021c8b16210e82dbaa7687fc671b6ea5a90 Mon Sep 17 00:00:00 2001 From: Julian Strobl Date: Thu, 21 Sep 2023 17:37:57 +0200 Subject: [PATCH] [go.mod] Switch module to github.com (#86) This is the quasi-standard and fixes the error below: ``` $ go get -u github.com/planetmint/planetmint-go@v0.1.0 go: github.com/planetmint/planetmint-go@v0.1.0: parsing go.mod: module declares its path as: planetmint-go but was required as: github.com/planetmint/planetmint-go ``` Signed-off-by: Julian Strobl --- app/ante/ante.go | 4 +- app/ante/expected_keepers.go | 2 +- app/app.go | 24 +++---- app/encoding.go | 2 +- app/simulation_test.go | 2 +- cmd/planetmint-god/cmd/config.go | 2 +- cmd/planetmint-god/cmd/root.go | 6 +- cmd/planetmint-god/main.go | 4 +- docs/static/openapi.yml | 10 +-- go.mod | 2 +- proto/planetmintgo/asset/asset.proto | 2 +- proto/planetmintgo/asset/genesis.proto | 2 +- proto/planetmintgo/asset/params.proto | 2 +- proto/planetmintgo/asset/query.proto | 4 +- proto/planetmintgo/asset/tx.proto | 2 +- proto/planetmintgo/dao/genesis.proto | 2 +- proto/planetmintgo/dao/params.proto | 2 +- proto/planetmintgo/dao/query.proto | 4 +- proto/planetmintgo/dao/tx.proto | 2 +- proto/planetmintgo/machine/genesis.proto | 2 +- proto/planetmintgo/machine/machine.proto | 2 +- proto/planetmintgo/machine/params.proto | 2 +- proto/planetmintgo/machine/query.proto | 8 +-- proto/planetmintgo/machine/trust_anchor.proto | 2 +- proto/planetmintgo/machine/tx.proto | 2 +- tests/e2e/asset/cli_test.go | 2 +- tests/e2e/asset/rest.go | 6 +- tests/e2e/asset/suite.go | 13 ++-- tests/e2e/dao/cli_test.go | 2 +- tests/e2e/dao/suite.go | 8 +-- tests/e2e/machine/cli_test.go | 2 +- tests/e2e/machine/rest.go | 8 +-- tests/e2e/machine/suite.go | 8 +-- testutil/cli/cmd.go | 2 +- testutil/keeper/asset.go | 10 +-- testutil/keeper/dao.go | 4 +- testutil/keeper/machine.go | 4 +- testutil/network/network.go | 2 +- testutil/sample/sample.go | 4 +- x/asset/client/cli/query.go | 2 +- x/asset/client/cli/query_params.go | 2 +- x/asset/client/cli/tx.go | 2 +- x/asset/client/cli/tx_notarize_asset.go | 2 +- x/asset/genesis.go | 4 +- x/asset/genesis_test.go | 8 +-- x/asset/keeper/asset.go | 2 +- x/asset/keeper/asset_test.go | 6 +- x/asset/keeper/keeper.go | 2 +- x/asset/keeper/msg_server.go | 2 +- x/asset/keeper/msg_server_notarize_asset.go | 4 +- x/asset/keeper/msg_server_test.go | 10 +-- x/asset/keeper/params.go | 2 +- x/asset/keeper/params_test.go | 4 +- x/asset/keeper/query.go | 2 +- x/asset/keeper/query_params.go | 2 +- x/asset/keeper/query_params_test.go | 4 +- x/asset/module.go | 6 +- x/asset/module_simulation.go | 6 +- x/asset/simulation/notarize_asset.go | 4 +- x/asset/testutil/expected_keepers_mock.go | 2 +- x/asset/types/asset.pb.go | 11 +-- x/asset/types/expected_keepers.go | 2 +- x/asset/types/genesis.pb.go | 11 +-- x/asset/types/genesis_test.go | 2 +- x/asset/types/message_notarize_asset_test.go | 2 +- x/asset/types/params.pb.go | 11 +-- x/asset/types/query.pb.go | 40 +++++------ x/asset/types/query.pb.gw.go | 2 +- x/asset/types/tx.pb.go | 11 +-- x/dao/abci.go | 2 +- x/dao/client/cli/query.go | 2 +- x/dao/client/cli/query_params.go | 2 +- x/dao/client/cli/tx.go | 2 +- x/dao/genesis.go | 4 +- x/dao/genesis_test.go | 8 +-- x/dao/keeper/keeper.go | 4 +- x/dao/keeper/msg_server.go | 2 +- x/dao/keeper/msg_server_test.go | 6 +- x/dao/keeper/params.go | 2 +- x/dao/keeper/params_test.go | 4 +- x/dao/keeper/query.go | 2 +- x/dao/keeper/query_params.go | 2 +- x/dao/keeper/query_params_test.go | 4 +- x/dao/module.go | 6 +- x/dao/module_simulation.go | 6 +- x/dao/types/genesis.pb.go | 10 +-- x/dao/types/genesis_test.go | 2 +- x/dao/types/params.pb.go | 11 +-- x/dao/types/query.pb.go | 40 +++++------ x/dao/types/query.pb.gw.go | 2 +- x/dao/types/tx.pb.go | 10 +-- x/machine/client/cli/query.go | 2 +- .../cli/query_get_machine_by_public_key.go | 2 +- .../cli/query_get_trust_anchor_status.go | 2 +- x/machine/client/cli/query_params.go | 2 +- x/machine/client/cli/tx.go | 2 +- x/machine/client/cli/tx_attest_machine.go | 2 +- .../client/cli/tx_register_trust_anchor.go | 2 +- x/machine/genesis.go | 4 +- x/machine/genesis_test.go | 8 +-- x/machine/keeper/issue_response.go | 2 +- x/machine/keeper/keeper.go | 2 +- x/machine/keeper/machine.go | 2 +- x/machine/keeper/machine_test.go | 6 +- x/machine/keeper/msg_server.go | 2 +- x/machine/keeper/msg_server_attest_machine.go | 6 +- .../msg_server_register_trust_anchor.go | 2 +- x/machine/keeper/msg_server_test.go | 8 +-- x/machine/keeper/params.go | 2 +- x/machine/keeper/params_test.go | 4 +- x/machine/keeper/query.go | 2 +- .../keeper/query_get_machine_by_public_key.go | 2 +- .../query_get_machine_by_public_key_test.go | 4 +- .../keeper/query_get_trust_anchor_status.go | 2 +- .../query_get_trust_anchor_status_test.go | 4 +- x/machine/keeper/query_params.go | 2 +- x/machine/keeper/query_params_test.go | 4 +- x/machine/keeper/trust_anchor.go | 2 +- x/machine/keeper/trust_anchor_test.go | 6 +- x/machine/module.go | 6 +- x/machine/module_simulation.go | 6 +- x/machine/simulation/attest_machine.go | 4 +- x/machine/simulation/register_trust_anchor.go | 4 +- x/machine/types/genesis.pb.go | 11 +-- x/machine/types/genesis_test.go | 2 +- x/machine/types/machine.pb.go | 55 +++++++-------- x/machine/types/params.pb.go | 13 ++-- x/machine/types/query.pb.go | 68 +++++++++---------- x/machine/types/query.pb.gw.go | 6 +- x/machine/types/trust_anchor.pb.go | 11 +-- x/machine/types/tx.pb.go | 42 ++++++------ 131 files changed, 402 insertions(+), 392 deletions(-) diff --git a/app/ante/ante.go b/app/ante/ante.go index 26bb8f7..e696a53 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -1,8 +1,8 @@ package ante import ( - assettypes "planetmint-go/x/asset/types" - machinetypes "planetmint-go/x/machine/types" + assettypes "github.com/planetmint/planetmint-go/x/asset/types" + machinetypes "github.com/planetmint/planetmint-go/x/machine/types" errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/app/ante/expected_keepers.go b/app/ante/expected_keepers.go index 1fefa2f..75092d0 100644 --- a/app/ante/expected_keepers.go +++ b/app/ante/expected_keepers.go @@ -1,7 +1,7 @@ package ante import ( - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/app/app.go b/app/app.go index 5cd68e9..947707f 100644 --- a/app/app.go +++ b/app/app.go @@ -109,23 +109,23 @@ import ( ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" "github.com/spf13/cast" - machinemodule "planetmint-go/x/machine" - machinemodulekeeper "planetmint-go/x/machine/keeper" - machinemoduletypes "planetmint-go/x/machine/types" + machinemodule "github.com/planetmint/planetmint-go/x/machine" + machinemodulekeeper "github.com/planetmint/planetmint-go/x/machine/keeper" + machinemoduletypes "github.com/planetmint/planetmint-go/x/machine/types" - assetmodule "planetmint-go/x/asset" - assetmodulekeeper "planetmint-go/x/asset/keeper" - assetmoduletypes "planetmint-go/x/asset/types" + assetmodule "github.com/planetmint/planetmint-go/x/asset" + assetmodulekeeper "github.com/planetmint/planetmint-go/x/asset/keeper" + assetmoduletypes "github.com/planetmint/planetmint-go/x/asset/types" - daomodule "planetmint-go/x/dao" - daomodulekeeper "planetmint-go/x/dao/keeper" - daomoduletypes "planetmint-go/x/dao/types" + daomodule "github.com/planetmint/planetmint-go/x/dao" + daomodulekeeper "github.com/planetmint/planetmint-go/x/dao/keeper" + daomoduletypes "github.com/planetmint/planetmint-go/x/dao/types" // this line is used by starport scaffolding # stargate/app/moduleImport - pmante "planetmint-go/app/ante" - appparams "planetmint-go/app/params" - "planetmint-go/docs" + pmante "github.com/planetmint/planetmint-go/app/ante" + appparams "github.com/planetmint/planetmint-go/app/params" + "github.com/planetmint/planetmint-go/docs" ) const ( diff --git a/app/encoding.go b/app/encoding.go index 2ca0fb7..edcc0b3 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/std" "github.com/cosmos/cosmos-sdk/x/auth/tx" - "planetmint-go/app/params" + "github.com/planetmint/planetmint-go/app/params" ) // makeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/app/simulation_test.go b/app/simulation_test.go index de6c7ac..9e6aba5 100644 --- a/app/simulation_test.go +++ b/app/simulation_test.go @@ -36,7 +36,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - "planetmint-go/app" + "github.com/planetmint/planetmint-go/app" ) const SIMULATION_SETUP_FAILED = "simulation setup failed" diff --git a/cmd/planetmint-god/cmd/config.go b/cmd/planetmint-god/cmd/config.go index 0fe5e57..a3e874e 100644 --- a/cmd/planetmint-god/cmd/config.go +++ b/cmd/planetmint-god/cmd/config.go @@ -3,7 +3,7 @@ package cmd import ( sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/app" + "github.com/planetmint/planetmint-go/app" ) func initSDKConfig() *sdk.Config { diff --git a/cmd/planetmint-god/cmd/root.go b/cmd/planetmint-god/cmd/root.go index ebbc481..716492c 100644 --- a/cmd/planetmint-god/cmd/root.go +++ b/cmd/planetmint-god/cmd/root.go @@ -39,9 +39,9 @@ import ( // this line is used by starport scaffolding # root/moduleImport - "planetmint-go/app" - appparams "planetmint-go/app/params" - planetmintconfig "planetmint-go/config" + "github.com/planetmint/planetmint-go/app" + appparams "github.com/planetmint/planetmint-go/app/params" + planetmintconfig "github.com/planetmint/planetmint-go/config" ) // NewRootCmd creates a new root command for a Cosmos SDK application diff --git a/cmd/planetmint-god/main.go b/cmd/planetmint-god/main.go index cc24efa..0cea326 100644 --- a/cmd/planetmint-god/main.go +++ b/cmd/planetmint-god/main.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "planetmint-go/app" - "planetmint-go/cmd/planetmint-god/cmd" + "github.com/planetmint/planetmint-go/app" + "github.com/planetmint/planetmint-go/cmd/planetmint-god/cmd" ) func main() { diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index 8e7b4cd..03bee49 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -46437,7 +46437,7 @@ paths: } tags: - Query - /planetmint-go/asset/params: + /github.com/planetmint/planetmint-go/asset/params: get: summary: Parameters queries the parameters of the module. operationId: PlanetmintgoAssetParams @@ -46473,7 +46473,7 @@ paths: additionalProperties: {} tags: - Query - /planetmint-go/dao/params: + /github.com/planetmint/planetmint-go/dao/params: get: summary: Parameters queries the parameters of the module. operationId: PlanetmintgoDaoParams @@ -46509,7 +46509,7 @@ paths: additionalProperties: {} tags: - Query - /planetmint-go/machine/get_machine_by_public_key/{publicKey}: + /github.com/planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}: get: summary: Queries a list of GetMachineByPublicKey items. operationId: PlanetmintgoMachineGetMachineByPublicKey @@ -46583,7 +46583,7 @@ paths: type: string tags: - Query - /planetmint-go/machine/get_trust_anchor_status/{machineid}: + /github.com/planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}: get: summary: Queries a list of GetTrustAnchorStatus items. operationId: PlanetmintgoMachineGetTrustAnchorStatus @@ -46622,7 +46622,7 @@ paths: type: string tags: - Query - /planetmint-go/machine/params: + /github.com/planetmint/planetmint-go/machine/params: get: summary: Parameters queries the parameters of the module. operationId: PlanetmintgoMachineParams diff --git a/go.mod b/go.mod index 6fc5555..83d8e25 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module planetmint-go +module github.com/planetmint/planetmint-go go 1.19 diff --git a/proto/planetmintgo/asset/asset.proto b/proto/planetmintgo/asset/asset.proto index d31010e..2bcc7d6 100644 --- a/proto/planetmintgo/asset/asset.proto +++ b/proto/planetmintgo/asset/asset.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package planetmintgo.asset; -option go_package = "planetmint-go/x/asset/types"; +option go_package = "github.com/planetmint/planetmint-go/x/asset/types"; message Asset { diff --git a/proto/planetmintgo/asset/genesis.proto b/proto/planetmintgo/asset/genesis.proto index 287a0ba..5959847 100644 --- a/proto/planetmintgo/asset/genesis.proto +++ b/proto/planetmintgo/asset/genesis.proto @@ -4,7 +4,7 @@ package planetmintgo.asset; import "gogoproto/gogo.proto"; import "planetmintgo/asset/params.proto"; -option go_package = "planetmint-go/x/asset/types"; +option go_package = "github.com/planetmint/planetmint-go/x/asset/types"; // GenesisState defines the asset module's genesis state. message GenesisState { diff --git a/proto/planetmintgo/asset/params.proto b/proto/planetmintgo/asset/params.proto index 72276ae..078edb7 100644 --- a/proto/planetmintgo/asset/params.proto +++ b/proto/planetmintgo/asset/params.proto @@ -3,7 +3,7 @@ package planetmintgo.asset; import "gogoproto/gogo.proto"; -option go_package = "planetmint-go/x/asset/types"; +option go_package = "github.com/planetmint/planetmint-go/x/asset/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/planetmintgo/asset/query.proto b/proto/planetmintgo/asset/query.proto index 3cbcd78..c919655 100644 --- a/proto/planetmintgo/asset/query.proto +++ b/proto/planetmintgo/asset/query.proto @@ -6,13 +6,13 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "planetmintgo/asset/params.proto"; -option go_package = "planetmint-go/x/asset/types"; +option go_package = "github.com/planetmint/planetmint-go/x/asset/types"; // Query defines the gRPC querier service. service Query { // Parameters queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/planetmint-go/asset/params"; + option (google.api.http).get = "/github.com/planetmint/planetmint-go/asset/params"; } } diff --git a/proto/planetmintgo/asset/tx.proto b/proto/planetmintgo/asset/tx.proto index 5ee3e45..cf2e879 100644 --- a/proto/planetmintgo/asset/tx.proto +++ b/proto/planetmintgo/asset/tx.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package planetmintgo.asset; -option go_package = "planetmint-go/x/asset/types"; +option go_package = "github.com/planetmint/planetmint-go/x/asset/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/planetmintgo/dao/genesis.proto b/proto/planetmintgo/dao/genesis.proto index 105c5fd..66aaa53 100644 --- a/proto/planetmintgo/dao/genesis.proto +++ b/proto/planetmintgo/dao/genesis.proto @@ -4,7 +4,7 @@ package planetmintgo.dao; import "gogoproto/gogo.proto"; import "planetmintgo/dao/params.proto"; -option go_package = "planetmint-go/x/dao/types"; +option go_package = "github.com/planetmint/planetmint-go/x/dao/types"; // GenesisState defines the dao module's genesis state. message GenesisState { diff --git a/proto/planetmintgo/dao/params.proto b/proto/planetmintgo/dao/params.proto index b820d0c..bda97fd 100644 --- a/proto/planetmintgo/dao/params.proto +++ b/proto/planetmintgo/dao/params.proto @@ -3,7 +3,7 @@ package planetmintgo.dao; import "gogoproto/gogo.proto"; -option go_package = "planetmint-go/x/dao/types"; +option go_package = "github.com/planetmint/planetmint-go/x/dao/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/planetmintgo/dao/query.proto b/proto/planetmintgo/dao/query.proto index aa61f0a..f27bb69 100644 --- a/proto/planetmintgo/dao/query.proto +++ b/proto/planetmintgo/dao/query.proto @@ -6,13 +6,13 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "planetmintgo/dao/params.proto"; -option go_package = "planetmint-go/x/dao/types"; +option go_package = "github.com/planetmint/planetmint-go/x/dao/types"; // Query defines the gRPC querier service. service Query { // Parameters queries the parameters of the module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/planetmint-go/dao/params"; + option (google.api.http).get = "/github.com/planetmint/planetmint-go/dao/params"; } } diff --git a/proto/planetmintgo/dao/tx.proto b/proto/planetmintgo/dao/tx.proto index 1fc9159..8d411b8 100644 --- a/proto/planetmintgo/dao/tx.proto +++ b/proto/planetmintgo/dao/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package planetmintgo.dao; -option go_package = "planetmint-go/x/dao/types"; +option go_package = "github.com/planetmint/planetmint-go/x/dao/types"; // Msg defines the Msg service. service Msg {} \ No newline at end of file diff --git a/proto/planetmintgo/machine/genesis.proto b/proto/planetmintgo/machine/genesis.proto index 3d905f2..7095656 100644 --- a/proto/planetmintgo/machine/genesis.proto +++ b/proto/planetmintgo/machine/genesis.proto @@ -4,7 +4,7 @@ package planetmintgo.machine; import "gogoproto/gogo.proto"; import "planetmintgo/machine/params.proto"; -option go_package = "planetmint-go/x/machine/types"; +option go_package = "github.com/planetmint/planetmint-go/x/machine/types"; // GenesisState defines the machine module's genesis state. message GenesisState { diff --git a/proto/planetmintgo/machine/machine.proto b/proto/planetmintgo/machine/machine.proto index 2c8d000..387929b 100644 --- a/proto/planetmintgo/machine/machine.proto +++ b/proto/planetmintgo/machine/machine.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package planetmintgo.machine; -option go_package = "planetmint-go/x/machine/types"; +option go_package = "github.com/planetmint/planetmint-go/x/machine/types"; message Machine { diff --git a/proto/planetmintgo/machine/params.proto b/proto/planetmintgo/machine/params.proto index 85e0c1d..78da7eb 100644 --- a/proto/planetmintgo/machine/params.proto +++ b/proto/planetmintgo/machine/params.proto @@ -3,7 +3,7 @@ package planetmintgo.machine; import "gogoproto/gogo.proto"; -option go_package = "planetmint-go/x/machine/types"; +option go_package = "github.com/planetmint/planetmint-go/x/machine/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/planetmintgo/machine/query.proto b/proto/planetmintgo/machine/query.proto index 343f628..9118474 100644 --- a/proto/planetmintgo/machine/query.proto +++ b/proto/planetmintgo/machine/query.proto @@ -8,26 +8,26 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "planetmintgo/machine/params.proto"; import "planetmintgo/machine/machine.proto"; -option go_package = "planetmint-go/x/machine/types"; +option go_package = "github.com/planetmint/planetmint-go/x/machine/types"; // Query defines the gRPC querier service. service Query { // Parameters queries the parameters of the module. rpc Params (QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/planetmint-go/machine/params"; + option (google.api.http).get = "/github.com/planetmint/planetmint-go/machine/params"; } // Queries a list of GetMachineByPublicKey items. rpc GetMachineByPublicKey (QueryGetMachineByPublicKeyRequest) returns (QueryGetMachineByPublicKeyResponse) { - option (google.api.http).get = "/planetmint-go/machine/get_machine_by_public_key/{publicKey}"; + option (google.api.http).get = "/github.com/planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}"; } // Queries a list of GetTrustAnchorStatus items. rpc GetTrustAnchorStatus (QueryGetTrustAnchorStatusRequest) returns (QueryGetTrustAnchorStatusResponse) { - option (google.api.http).get = "/planetmint-go/machine/get_trust_anchor_status/{machineid}"; + option (google.api.http).get = "/github.com/planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}"; } } diff --git a/proto/planetmintgo/machine/trust_anchor.proto b/proto/planetmintgo/machine/trust_anchor.proto index 2f5d84c..a853510 100644 --- a/proto/planetmintgo/machine/trust_anchor.proto +++ b/proto/planetmintgo/machine/trust_anchor.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package planetmintgo.machine; -option go_package = "planetmint-go/x/machine/types"; +option go_package = "github.com/planetmint/planetmint-go/x/machine/types"; message TrustAnchor { string pubkey = 1; diff --git a/proto/planetmintgo/machine/tx.proto b/proto/planetmintgo/machine/tx.proto index 595e7ee..fcc214d 100644 --- a/proto/planetmintgo/machine/tx.proto +++ b/proto/planetmintgo/machine/tx.proto @@ -5,7 +5,7 @@ package planetmintgo.machine; import "planetmintgo/machine/machine.proto"; import "planetmintgo/machine/trust_anchor.proto"; -option go_package = "planetmint-go/x/machine/types"; +option go_package = "github.com/planetmint/planetmint-go/x/machine/types"; // Msg defines the Msg service. service Msg { diff --git a/tests/e2e/asset/cli_test.go b/tests/e2e/asset/cli_test.go index 950d764..b253bc0 100644 --- a/tests/e2e/asset/cli_test.go +++ b/tests/e2e/asset/cli_test.go @@ -1,7 +1,7 @@ package asset import ( - "planetmint-go/testutil/network" + "github.com/planetmint/planetmint-go/testutil/network" "testing" "github.com/stretchr/testify/suite" diff --git a/tests/e2e/asset/rest.go b/tests/e2e/asset/rest.go index 0b36658..e348aa2 100644 --- a/tests/e2e/asset/rest.go +++ b/tests/e2e/asset/rest.go @@ -3,12 +3,12 @@ package asset import ( "encoding/hex" "fmt" - "planetmint-go/testutil" - "planetmint-go/testutil/sample" + "github.com/planetmint/planetmint-go/testutil" + "github.com/planetmint/planetmint-go/testutil/sample" "github.com/btcsuite/btcd/btcutil/hdkeychain" - assettypes "planetmint-go/x/asset/types" + assettypes "github.com/planetmint/planetmint-go/x/asset/types" txtypes "github.com/cosmos/cosmos-sdk/types/tx" ) diff --git a/tests/e2e/asset/suite.go b/tests/e2e/asset/suite.go index 40fe66a..4632056 100644 --- a/tests/e2e/asset/suite.go +++ b/tests/e2e/asset/suite.go @@ -4,13 +4,14 @@ import ( "encoding/hex" "encoding/json" "fmt" - "planetmint-go/config" - "planetmint-go/testutil/network" - "planetmint-go/testutil/sample" - clitestutil "planetmint-go/testutil/cli" - assetcli "planetmint-go/x/asset/client/cli" - machinecli "planetmint-go/x/machine/client/cli" + "github.com/planetmint/planetmint-go/config" + "github.com/planetmint/planetmint-go/testutil/network" + "github.com/planetmint/planetmint-go/testutil/sample" + + clitestutil "github.com/planetmint/planetmint-go/testutil/cli" + assetcli "github.com/planetmint/planetmint-go/x/asset/client/cli" + machinecli "github.com/planetmint/planetmint-go/x/machine/client/cli" "github.com/btcsuite/btcd/btcutil/hdkeychain" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/tests/e2e/dao/cli_test.go b/tests/e2e/dao/cli_test.go index bd02179..b835205 100644 --- a/tests/e2e/dao/cli_test.go +++ b/tests/e2e/dao/cli_test.go @@ -1,7 +1,7 @@ package dao import ( - "planetmint-go/testutil/network" + "github.com/planetmint/planetmint-go/testutil/network" "testing" "github.com/stretchr/testify/suite" diff --git a/tests/e2e/dao/suite.go b/tests/e2e/dao/suite.go index 14d5470..7dc5900 100644 --- a/tests/e2e/dao/suite.go +++ b/tests/e2e/dao/suite.go @@ -2,15 +2,15 @@ package dao import ( "fmt" - "planetmint-go/config" - "planetmint-go/testutil/network" - "planetmint-go/testutil/sample" + "github.com/planetmint/planetmint-go/config" + "github.com/planetmint/planetmint-go/testutil/network" + "github.com/planetmint/planetmint-go/testutil/sample" "cosmossdk.io/math" "github.com/cosmos/cosmos-sdk/client/flags" sdk "github.com/cosmos/cosmos-sdk/types" - clitestutil "planetmint-go/testutil/cli" + clitestutil "github.com/planetmint/planetmint-go/testutil/cli" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" bank "github.com/cosmos/cosmos-sdk/x/bank/client/cli" diff --git a/tests/e2e/machine/cli_test.go b/tests/e2e/machine/cli_test.go index 4f289e6..28d895a 100644 --- a/tests/e2e/machine/cli_test.go +++ b/tests/e2e/machine/cli_test.go @@ -1,7 +1,7 @@ package machine import ( - "planetmint-go/testutil/network" + "github.com/planetmint/planetmint-go/testutil/network" "testing" "github.com/stretchr/testify/suite" diff --git a/tests/e2e/machine/rest.go b/tests/e2e/machine/rest.go index e3e5bc1..ea85a3f 100644 --- a/tests/e2e/machine/rest.go +++ b/tests/e2e/machine/rest.go @@ -2,9 +2,9 @@ package machine import ( "fmt" - "planetmint-go/testutil" - "planetmint-go/testutil/sample" - machinetypes "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/testutil" + "github.com/planetmint/planetmint-go/testutil/sample" + machinetypes "github.com/planetmint/planetmint-go/x/machine/types" txtypes "github.com/cosmos/cosmos-sdk/types/tx" ) @@ -58,7 +58,7 @@ func (s *E2ETestSuite) TestAttestMachineREST() { s.Require().NoError(err) s.Require().Equal(uint32(0), txRes.TxResponse.Code) - queryMachineUrl := fmt.Sprintf("%s/planetmint-go/machine/get_machine_by_public_key/%s", baseURL, pubKey) + queryMachineUrl := fmt.Sprintf("%s/github.com/planetmint/planetmint-go/machine/get_machine_by_public_key/%s", baseURL, pubKey) queryMachineRes, err := testutil.GetRequest(queryMachineUrl) s.Require().NoError(err) diff --git a/tests/e2e/machine/suite.go b/tests/e2e/machine/suite.go index 18669f4..f666f31 100644 --- a/tests/e2e/machine/suite.go +++ b/tests/e2e/machine/suite.go @@ -3,10 +3,10 @@ package machine import ( "encoding/json" "fmt" - clitestutil "planetmint-go/testutil/cli" - "planetmint-go/testutil/network" - "planetmint-go/testutil/sample" - machinecli "planetmint-go/x/machine/client/cli" + clitestutil "github.com/planetmint/planetmint-go/testutil/cli" + "github.com/planetmint/planetmint-go/testutil/network" + "github.com/planetmint/planetmint-go/testutil/sample" + machinecli "github.com/planetmint/planetmint-go/x/machine/client/cli" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/crypto/hd" diff --git a/testutil/cli/cmd.go b/testutil/cli/cmd.go index ee876fa..a49d0fa 100644 --- a/testutil/cli/cmd.go +++ b/testutil/cli/cmd.go @@ -3,7 +3,7 @@ package cli import ( "context" "encoding/json" - "planetmint-go/testutil" + "github.com/planetmint/planetmint-go/testutil" "regexp" "github.com/cosmos/cosmos-sdk/testutil/network" diff --git a/testutil/keeper/asset.go b/testutil/keeper/asset.go index c2a7b69..ed33fea 100644 --- a/testutil/keeper/asset.go +++ b/testutil/keeper/asset.go @@ -3,12 +3,12 @@ package keeper import ( "testing" - "planetmint-go/config" - "planetmint-go/testutil/sample" - "planetmint-go/x/asset/keeper" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/config" + "github.com/planetmint/planetmint-go/testutil/sample" + "github.com/planetmint/planetmint-go/x/asset/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" - assettestutils "planetmint-go/x/asset/testutil" + assettestutils "github.com/planetmint/planetmint-go/x/asset/testutil" tmdb "github.com/cometbft/cometbft-db" "github.com/cometbft/cometbft/libs/log" diff --git a/testutil/keeper/dao.go b/testutil/keeper/dao.go index c1c0dac..cb687c4 100644 --- a/testutil/keeper/dao.go +++ b/testutil/keeper/dao.go @@ -12,9 +12,9 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/planetmint/planetmint-go/x/dao/keeper" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/stretchr/testify/require" - "planetmint-go/x/dao/keeper" - "planetmint-go/x/dao/types" ) func DaoKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/machine.go b/testutil/keeper/machine.go index 8458ae0..b924805 100644 --- a/testutil/keeper/machine.go +++ b/testutil/keeper/machine.go @@ -3,8 +3,8 @@ package keeper import ( "testing" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" tmdb "github.com/cometbft/cometbft-db" "github.com/cometbft/cometbft/libs/log" diff --git a/testutil/network/network.go b/testutil/network/network.go index 2ce22f5..4374c36 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -17,7 +17,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/stretchr/testify/require" - "planetmint-go/app" + "github.com/planetmint/planetmint-go/app" ) type ( diff --git a/testutil/sample/sample.go b/testutil/sample/sample.go index f889fd1..0c88220 100644 --- a/testutil/sample/sample.go +++ b/testutil/sample/sample.go @@ -4,8 +4,8 @@ import ( "encoding/hex" "fmt" - "planetmint-go/config" - machinetypes "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/config" + machinetypes "github.com/planetmint/planetmint-go/x/machine/types" "github.com/btcsuite/btcd/btcutil/hdkeychain" "github.com/btcsuite/btcd/chaincfg" diff --git a/x/asset/client/cli/query.go b/x/asset/client/cli/query.go index b213374..3602afb 100644 --- a/x/asset/client/cli/query.go +++ b/x/asset/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/asset/client/cli/query_params.go b/x/asset/client/cli/query_params.go index dafb62a..2be743f 100644 --- a/x/asset/client/cli/query_params.go +++ b/x/asset/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/asset/client/cli/tx.go b/x/asset/client/cli/tx.go index cd65396..7339651 100644 --- a/x/asset/client/cli/tx.go +++ b/x/asset/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" ) var ( diff --git a/x/asset/client/cli/tx_notarize_asset.go b/x/asset/client/cli/tx_notarize_asset.go index 3e259bf..9640226 100644 --- a/x/asset/client/cli/tx_notarize_asset.go +++ b/x/asset/client/cli/tx_notarize_asset.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/planetmint/planetmint-go/x/asset/types" "github.com/spf13/cobra" - "planetmint-go/x/asset/types" ) var _ = strconv.Itoa(0) diff --git a/x/asset/genesis.go b/x/asset/genesis.go index 6a47d20..49ebc08 100644 --- a/x/asset/genesis.go +++ b/x/asset/genesis.go @@ -2,8 +2,8 @@ package asset import ( sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/asset/keeper" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/asset/genesis_test.go b/x/asset/genesis_test.go index f0c174c..eb4a7ea 100644 --- a/x/asset/genesis_test.go +++ b/x/asset/genesis_test.go @@ -3,11 +3,11 @@ package asset_test import ( "testing" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/testutil/nullify" + "github.com/planetmint/planetmint-go/x/asset" + "github.com/planetmint/planetmint-go/x/asset/types" "github.com/stretchr/testify/require" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/testutil/nullify" - "planetmint-go/x/asset" - "planetmint-go/x/asset/types" ) func TestGenesis(t *testing.T) { diff --git a/x/asset/keeper/asset.go b/x/asset/keeper/asset.go index 573ed2e..ef42cb6 100644 --- a/x/asset/keeper/asset.go +++ b/x/asset/keeper/asset.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/asset/keeper/asset_test.go b/x/asset/keeper/asset_test.go index 28ff3c0..499c05d 100644 --- a/x/asset/keeper/asset_test.go +++ b/x/asset/keeper/asset_test.go @@ -5,9 +5,9 @@ import ( "strconv" "testing" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/x/asset/keeper" - "planetmint-go/x/asset/types" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/asset/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/assert" diff --git a/x/asset/keeper/keeper.go b/x/asset/keeper/keeper.go index 4c3508d..5947f40 100644 --- a/x/asset/keeper/keeper.go +++ b/x/asset/keeper/keeper.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" ) type ( diff --git a/x/asset/keeper/msg_server.go b/x/asset/keeper/msg_server.go index b0d87b7..c81c99a 100644 --- a/x/asset/keeper/msg_server.go +++ b/x/asset/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" ) type msgServer struct { diff --git a/x/asset/keeper/msg_server_notarize_asset.go b/x/asset/keeper/msg_server_notarize_asset.go index abb5434..4581789 100644 --- a/x/asset/keeper/msg_server_notarize_asset.go +++ b/x/asset/keeper/msg_server_notarize_asset.go @@ -4,8 +4,8 @@ import ( "context" "errors" - "planetmint-go/util" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/util" + "github.com/planetmint/planetmint-go/x/asset/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/asset/keeper/msg_server_test.go b/x/asset/keeper/msg_server_test.go index 1a6c45e..6f078e6 100644 --- a/x/asset/keeper/msg_server_test.go +++ b/x/asset/keeper/msg_server_test.go @@ -5,11 +5,11 @@ import ( "encoding/hex" "testing" - "planetmint-go/config" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/testutil/sample" - "planetmint-go/x/asset/keeper" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/config" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/testutil/sample" + "github.com/planetmint/planetmint-go/x/asset/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" "github.com/btcsuite/btcd/btcutil/hdkeychain" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/asset/keeper/params.go b/x/asset/keeper/params.go index b0fc7d5..71fefb2 100644 --- a/x/asset/keeper/params.go +++ b/x/asset/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" ) // GetParams get all parameters as types.Params diff --git a/x/asset/keeper/params_test.go b/x/asset/keeper/params_test.go index 4490675..05b5d2d 100644 --- a/x/asset/keeper/params_test.go +++ b/x/asset/keeper/params_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "testing" + testkeeper "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" "github.com/stretchr/testify/require" - testkeeper "planetmint-go/testutil/keeper" - "planetmint-go/x/asset/types" ) func TestGetParams(t *testing.T) { diff --git a/x/asset/keeper/query.go b/x/asset/keeper/query.go index ac3eb43..753388c 100644 --- a/x/asset/keeper/query.go +++ b/x/asset/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/asset/keeper/query_params.go b/x/asset/keeper/query_params.go index a4bb38c..694cf20 100644 --- a/x/asset/keeper/query_params.go +++ b/x/asset/keeper/query_params.go @@ -4,9 +4,9 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/planetmint/planetmint-go/x/asset/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "planetmint-go/x/asset/types" ) func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/asset/keeper/query_params_test.go b/x/asset/keeper/query_params_test.go index 0fbe337..87ec382 100644 --- a/x/asset/keeper/query_params_test.go +++ b/x/asset/keeper/query_params_test.go @@ -4,9 +4,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" + testkeeper "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" "github.com/stretchr/testify/require" - testkeeper "planetmint-go/testutil/keeper" - "planetmint-go/x/asset/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/asset/module.go b/x/asset/module.go index 6bbec2c..c3ab823 100644 --- a/x/asset/module.go +++ b/x/asset/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "planetmint-go/x/asset/client/cli" - "planetmint-go/x/asset/keeper" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/client/cli" + "github.com/planetmint/planetmint-go/x/asset/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" ) var ( diff --git a/x/asset/module_simulation.go b/x/asset/module_simulation.go index 04a1171..106359e 100644 --- a/x/asset/module_simulation.go +++ b/x/asset/module_simulation.go @@ -8,9 +8,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "planetmint-go/testutil/sample" - assetsimulation "planetmint-go/x/asset/simulation" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/testutil/sample" + assetsimulation "github.com/planetmint/planetmint-go/x/asset/simulation" + "github.com/planetmint/planetmint-go/x/asset/types" ) // avoid unused import issue diff --git a/x/asset/simulation/notarize_asset.go b/x/asset/simulation/notarize_asset.go index f65f182..3189111 100644 --- a/x/asset/simulation/notarize_asset.go +++ b/x/asset/simulation/notarize_asset.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "planetmint-go/x/asset/keeper" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/keeper" + "github.com/planetmint/planetmint-go/x/asset/types" ) func SimulateMsgNotarizeAsset( diff --git a/x/asset/testutil/expected_keepers_mock.go b/x/asset/testutil/expected_keepers_mock.go index b47675d..73c1d5d 100644 --- a/x/asset/testutil/expected_keepers_mock.go +++ b/x/asset/testutil/expected_keepers_mock.go @@ -5,7 +5,7 @@ package testutil import ( - types1 "planetmint-go/x/machine/types" + types1 "github.com/planetmint/planetmint-go/x/machine/types" reflect "reflect" types "github.com/cosmos/cosmos-sdk/types" diff --git a/x/asset/types/asset.pb.go b/x/asset/types/asset.pb.go index ce33644..1c2d41b 100644 --- a/x/asset/types/asset.pb.go +++ b/x/asset/types/asset.pb.go @@ -89,18 +89,19 @@ func init() { func init() { proto.RegisterFile("planetmintgo/asset/asset.proto", fileDescriptor_03dd37a25f684e6e) } var fileDescriptor_03dd37a25f684e6e = []byte{ - // 166 bytes of a gzipped FileDescriptorProto + // 179 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0x4f, 0x2c, 0x2e, 0x4e, 0x2d, 0x81, 0x90, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x42, 0xc8, 0xf2, 0x7a, 0x60, 0x19, 0xa5, 0x40, 0x2e, 0x56, 0x47, 0x10, 0x43, 0x48, 0x88, 0x8b, 0x25, 0x23, 0xb1, 0x38, 0x43, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0xcc, 0x16, 0x92, 0xe1, 0xe2, 0x2c, 0xce, 0x4c, 0xcf, 0x4b, 0x2c, 0x29, 0x2d, 0x4a, 0x95, 0x60, 0x02, 0x4b, 0x20, 0x04, 0x84, 0xc4, 0xb8, 0xd8, 0x0a, 0x4a, 0x93, 0xb2, 0x53, - 0x2b, 0x25, 0x98, 0xc1, 0x52, 0x50, 0x9e, 0x93, 0xe9, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, + 0x2b, 0x25, 0x98, 0xc1, 0x52, 0x50, 0x9e, 0x93, 0xf7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, - 0xcb, 0x31, 0x44, 0x49, 0x23, 0x1c, 0xa0, 0x9b, 0x9e, 0xaf, 0x5f, 0x01, 0x75, 0x63, 0x49, 0x65, - 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x91, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x35, - 0x90, 0xe0, 0xc6, 0x00, 0x00, 0x00, + 0xcb, 0x31, 0x44, 0x19, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x23, + 0xdc, 0x82, 0xc4, 0xd4, 0x4d, 0xcf, 0xd7, 0xaf, 0x80, 0xba, 0xbc, 0xa4, 0xb2, 0x20, 0xb5, 0x38, + 0x89, 0x0d, 0xec, 0x74, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xe4, 0xfc, 0x55, 0xdc, + 0x00, 0x00, 0x00, } func (m *Asset) Marshal() (dAtA []byte, err error) { diff --git a/x/asset/types/expected_keepers.go b/x/asset/types/expected_keepers.go index 46de2f1..1d7ab8a 100644 --- a/x/asset/types/expected_keepers.go +++ b/x/asset/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - machinetypes "planetmint-go/x/machine/types" + machinetypes "github.com/planetmint/planetmint-go/x/machine/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/x/asset/types/genesis.pb.go b/x/asset/types/genesis.pb.go index b889737..bfc3ff4 100644 --- a/x/asset/types/genesis.pb.go +++ b/x/asset/types/genesis.pb.go @@ -75,7 +75,7 @@ func init() { func init() { proto.RegisterFile("planetmintgo/asset/genesis.proto", fileDescriptor_419cf47a856cde82) } var fileDescriptor_419cf47a856cde82 = []byte{ - // 181 bytes of a gzipped FileDescriptorProto + // 194 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0x4f, 0x2c, 0x2e, 0x4e, 0x2d, 0xd1, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x42, 0x56, @@ -83,11 +83,12 @@ var fileDescriptor_419cf47a856cde82 = []byte{ 0xa5, 0xe4, 0xb1, 0x98, 0x55, 0x90, 0x58, 0x94, 0x98, 0x0b, 0x35, 0x4a, 0xc9, 0x83, 0x8b, 0xc7, 0x1d, 0x62, 0x76, 0x70, 0x49, 0x62, 0x49, 0xaa, 0x90, 0x05, 0x17, 0x1b, 0x44, 0x5e, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x4a, 0x0f, 0xd3, 0x2e, 0xbd, 0x00, 0xb0, 0x0a, 0x27, 0x96, 0x13, - 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0xea, 0x9d, 0x4c, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, + 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0xea, 0x9d, 0xbc, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, - 0x8e, 0x21, 0x4a, 0x1a, 0x61, 0x84, 0x6e, 0x7a, 0xbe, 0x7e, 0x05, 0xd4, 0x1d, 0x25, 0x95, 0x05, - 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x77, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfb, 0x6f, 0x0f, - 0x6a, 0xf6, 0x00, 0x00, 0x00, + 0x8e, 0x21, 0xca, 0x30, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x61, + 0x1a, 0x12, 0x53, 0x37, 0x3d, 0x5f, 0xbf, 0x02, 0xea, 0xba, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, + 0x36, 0xb0, 0xeb, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x16, 0xce, 0x42, 0x0c, 0x01, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/asset/types/genesis_test.go b/x/asset/types/genesis_test.go index c61c9af..640586e 100644 --- a/x/asset/types/genesis_test.go +++ b/x/asset/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "planetmint-go/x/asset/types" + "github.com/planetmint/planetmint-go/x/asset/types" "github.com/stretchr/testify/require" ) diff --git a/x/asset/types/message_notarize_asset_test.go b/x/asset/types/message_notarize_asset_test.go index f194565..fe61c68 100644 --- a/x/asset/types/message_notarize_asset_test.go +++ b/x/asset/types/message_notarize_asset_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - "planetmint-go/testutil/sample" + "github.com/planetmint/planetmint-go/testutil/sample" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" diff --git a/x/asset/types/params.pb.go b/x/asset/types/params.pb.go index 99d71c3..bb6307f 100644 --- a/x/asset/types/params.pb.go +++ b/x/asset/types/params.pb.go @@ -66,16 +66,17 @@ func init() { func init() { proto.RegisterFile("planetmintgo/asset/params.proto", fileDescriptor_155e455f6ba362d5) } var fileDescriptor_155e455f6ba362d5 = []byte{ - // 139 bytes of a gzipped FileDescriptorProto + // 152 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0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d8, 0xc0, 0x76, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, + 0x56, 0x29, 0xd1, 0x61, 0xb0, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/asset/types/query.pb.go b/x/asset/types/query.pb.go index 51947b1..fd9cd90 100644 --- a/x/asset/types/query.pb.go +++ b/x/asset/types/query.pb.go @@ -121,26 +121,26 @@ func init() { func init() { proto.RegisterFile("planetmintgo/asset/query.proto", fileDescriptor_5832a953a81817c0) } var fileDescriptor_5832a953a81817c0 = []byte{ - // 290 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0x03, 0x31, - 0x14, 0xc7, 0x2f, 0xa2, 0x1d, 0xe2, 0x16, 0x3b, 0xc8, 0x55, 0x53, 0x39, 0x41, 0x45, 0xf0, 0x42, - 0x2b, 0x82, 0x73, 0xbf, 0x80, 0xda, 0xd1, 0x2d, 0x27, 0x21, 0x1c, 0xf4, 0xf2, 0xd2, 0x7b, 0xa9, - 0xd8, 0xc5, 0xc1, 0xc5, 0x55, 0xf0, 0x4b, 0x75, 0x2c, 0xb8, 0x38, 0x89, 0xdc, 0xf9, 0x41, 0xa4, - 0xc9, 0x81, 0xd6, 0x16, 0xdc, 0x8e, 0xf7, 0xff, 0xfd, 0xde, 0xfd, 0x5f, 0x28, 0xb7, 0x23, 0x69, - 0x94, 0x2b, 0x72, 0xe3, 0x34, 0x08, 0x89, 0xa8, 0x9c, 0x18, 0x4f, 0x54, 0x39, 0x4d, 0x6d, 0x09, - 0x0e, 0x18, 0xfb, 0x9d, 0xa7, 0x3e, 0x8f, 0xdb, 0x1a, 0x34, 0xf8, 0x58, 0x2c, 0xbe, 0x02, 0x19, - 0xef, 0x69, 0x00, 0x3d, 0x52, 0x42, 0xda, 0x5c, 0x48, 0x63, 0xc0, 0x49, 0x97, 0x83, 0xc1, 0x26, - 0x3d, 0xbd, 0x03, 0x2c, 0x00, 0x45, 0x26, 0x51, 0x85, 0x1f, 0x88, 0xfb, 0x5e, 0xa6, 0x9c, 0xec, - 0x09, 0x2b, 0x75, 0x6e, 0x3c, 0xdc, 0xb0, 0xdd, 0x35, 0x9d, 0xac, 0x2c, 0x65, 0xd1, 0x2c, 0x4b, - 0xda, 0x94, 0xdd, 0x2c, 0x56, 0x5c, 0xfb, 0xe1, 0x50, 0x8d, 0x27, 0x0a, 0x5d, 0x72, 0x45, 0x77, - 0x96, 0xa6, 0x68, 0xc1, 0xa0, 0x62, 0x97, 0xb4, 0x15, 0xe4, 0x5d, 0x72, 0x40, 0x4e, 0xb6, 0xfb, - 0x71, 0xba, 0x7a, 0x52, 0x1a, 0x9c, 0xc1, 0xe6, 0xec, 0xa3, 0x1b, 0x0d, 0x1b, 0xbe, 0xff, 0x4c, - 0xe8, 0x96, 0xdf, 0xc8, 0x1e, 0x69, 0x2b, 0x10, 0xec, 0x68, 0x9d, 0xbd, 0x5a, 0x26, 0x3e, 0xfe, - 0x97, 0x0b, 0xf5, 0x92, 0xc3, 0xa7, 0xb7, 0xaf, 0xd7, 0x8d, 0x7d, 0xd6, 0x11, 0x3f, 0xc2, 0xd9, - 0x9f, 0xb3, 0x07, 0x17, 0xb3, 0x8a, 0x93, 0x79, 0xc5, 0xc9, 0x67, 0xc5, 0xc9, 0x4b, 0xcd, 0xa3, - 0x79, 0xcd, 0xa3, 0xf7, 0x9a, 0x47, 0xb7, 0x9d, 0x65, 0xeb, 0xa1, 0xf1, 0xdc, 0xd4, 0x2a, 0xcc, - 0x5a, 0xfe, 0xb9, 0xce, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x70, 0x5a, 0x0b, 0x62, 0xe5, 0x01, - 0x00, 0x00, + // 302 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0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0xfd, 0x52, 0xe2, 0x3d, 0x83, 0xed, 0xd9, 0x47, 0x37, 0x18, 0xb6, 0x7c, 0xef, + 0x15, 0xe1, 0x1d, 0x97, 0x48, 0x5e, 0x10, 0x0e, 0x3d, 0x42, 0x8e, 0xd6, 0xd9, 0x57, 0xdb, 0x44, + 0xc7, 0xff, 0x72, 0xbe, 0x5f, 0x7c, 0xf1, 0xf8, 0xf6, 0xf5, 0xbc, 0xd5, 0x27, 0x29, 0x93, 0xb9, + 0xbd, 0xab, 0xb2, 0x64, 0x04, 0x05, 0xfb, 0xf1, 0x2e, 0x8d, 0x67, 0x7f, 0xae, 0x31, 0xb8, 0x9c, + 0xd5, 0x14, 0xcd, 0x6b, 0x8a, 0x3e, 0x6b, 0x8a, 0x9e, 0x1a, 0x1a, 0xcc, 0x1b, 0x1a, 0xbc, 0x37, + 0x34, 0xb8, 0x4d, 0x37, 0xc9, 0x7a, 0x68, 0xd3, 0xec, 0x54, 0x0b, 0x93, 0x85, 0xee, 0xb6, 0xfd, + 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x8d, 0x19, 0xe9, 0x12, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/asset/types/query.pb.gw.go b/x/asset/types/query.pb.gw.go index affeb2c..250658f 100644 --- a/x/asset/types/query.pb.gw.go +++ b/x/asset/types/query.pb.gw.go @@ -145,7 +145,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint-go", "asset", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"github.com", "planetmint", "planetmint-go", "asset", "params"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/asset/types/tx.pb.go b/x/asset/types/tx.pb.go index 0767379..2a39239 100644 --- a/x/asset/types/tx.pb.go +++ b/x/asset/types/tx.pb.go @@ -139,7 +139,7 @@ func init() { func init() { proto.RegisterFile("planetmintgo/asset/tx.proto", fileDescriptor_1b35a44a96ae014b) } var fileDescriptor_1b35a44a96ae014b = []byte{ - // 235 bytes of a gzipped FileDescriptorProto + // 249 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0x4f, 0x2c, 0x2e, 0x4e, 0x2d, 0xd1, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x42, 0x96, 0xd4, 0x03, 0x4b, 0x2a, 0x95, @@ -150,11 +150,12 @@ var fileDescriptor_1b35a44a96ae014b = []byte{ 0x0c, 0x96, 0x40, 0x08, 0x08, 0x89, 0x71, 0xb1, 0x15, 0x94, 0x26, 0x79, 0xa7, 0x56, 0x4a, 0xb0, 0x80, 0xa5, 0xa0, 0x3c, 0x25, 0x29, 0x2e, 0x09, 0x74, 0x7b, 0x83, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0xb2, 0xb8, 0x98, 0x7d, 0x8b, 0xd3, 0x85, 0x92, 0xb9, 0x78, 0x51, 0xdd, 0xa5, - 0xa2, 0x87, 0xe9, 0x01, 0x3d, 0x74, 0x53, 0xa4, 0x74, 0x88, 0x51, 0x05, 0xb3, 0xcb, 0xc9, 0xf4, + 0xa2, 0x87, 0xe9, 0x01, 0x3d, 0x74, 0x53, 0xa4, 0x74, 0x88, 0x51, 0x05, 0xb3, 0xcb, 0xc9, 0xfb, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, - 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x90, 0x82, 0x52, 0x37, 0x3d, 0x5f, - 0xbf, 0x02, 0x16, 0x9a, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, 0x10, 0x35, 0x06, 0x04, 0x00, - 0x00, 0xff, 0xff, 0x96, 0xd8, 0x0d, 0x33, 0x70, 0x01, 0x00, 0x00, + 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, + 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x11, 0x26, 0x22, 0x31, 0x75, 0xd3, 0xf3, 0xf5, 0x2b, 0x60, + 0x61, 0x5c, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x67, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x74, 0x66, 0x6a, 0x3f, 0x86, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/dao/abci.go b/x/dao/abci.go index 7e7167d..09f7f1c 100644 --- a/x/dao/abci.go +++ b/x/dao/abci.go @@ -1,7 +1,7 @@ package dao import ( - "planetmint-go/x/dao/keeper" + "github.com/planetmint/planetmint-go/x/dao/keeper" abci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/dao/client/cli/query.go b/x/dao/client/cli/query.go index 1a19b61..d19c29d 100644 --- a/x/dao/client/cli/query.go +++ b/x/dao/client/cli/query.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/dao/client/cli/query_params.go b/x/dao/client/cli/query_params.go index 8a44d23..891b256 100644 --- a/x/dao/client/cli/query_params.go +++ b/x/dao/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/dao/client/cli/tx.go b/x/dao/client/cli/tx.go index bbc8fe7..3b2b9ae 100644 --- a/x/dao/client/cli/tx.go +++ b/x/dao/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/types" ) var ( diff --git a/x/dao/genesis.go b/x/dao/genesis.go index f56c7f8..13fd352 100644 --- a/x/dao/genesis.go +++ b/x/dao/genesis.go @@ -2,8 +2,8 @@ package dao import ( sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/dao/keeper" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/keeper" + "github.com/planetmint/planetmint-go/x/dao/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/dao/genesis_test.go b/x/dao/genesis_test.go index 1944e40..7695486 100644 --- a/x/dao/genesis_test.go +++ b/x/dao/genesis_test.go @@ -3,11 +3,11 @@ package dao_test import ( "testing" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/testutil/nullify" + "github.com/planetmint/planetmint-go/x/dao" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/stretchr/testify/require" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/testutil/nullify" - "planetmint-go/x/dao" - "planetmint-go/x/dao/types" ) func TestGenesis(t *testing.T) { diff --git a/x/dao/keeper/keeper.go b/x/dao/keeper/keeper.go index 0d3afd2..32b287a 100644 --- a/x/dao/keeper/keeper.go +++ b/x/dao/keeper/keeper.go @@ -12,8 +12,8 @@ import ( disttypes "github.com/cosmos/cosmos-sdk/x/distribution/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "planetmint-go/config" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/config" + "github.com/planetmint/planetmint-go/x/dao/types" ) type ( diff --git a/x/dao/keeper/msg_server.go b/x/dao/keeper/msg_server.go index 1bd6e33..6e2f946 100644 --- a/x/dao/keeper/msg_server.go +++ b/x/dao/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/types" ) type msgServer struct { diff --git a/x/dao/keeper/msg_server_test.go b/x/dao/keeper/msg_server_test.go index f8bdc7e..0036e8e 100644 --- a/x/dao/keeper/msg_server_test.go +++ b/x/dao/keeper/msg_server_test.go @@ -5,10 +5,10 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/dao/keeper" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/stretchr/testify/require" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/x/dao/keeper" - "planetmint-go/x/dao/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/dao/keeper/params.go b/x/dao/keeper/params.go index 66f2c20..9bb3d4e 100644 --- a/x/dao/keeper/params.go +++ b/x/dao/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/types" ) // GetParams get all parameters as types.Params diff --git a/x/dao/keeper/params_test.go b/x/dao/keeper/params_test.go index 60329c4..0bfc6d9 100644 --- a/x/dao/keeper/params_test.go +++ b/x/dao/keeper/params_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "testing" + testkeeper "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/stretchr/testify/require" - testkeeper "planetmint-go/testutil/keeper" - "planetmint-go/x/dao/types" ) func TestGetParams(t *testing.T) { diff --git a/x/dao/keeper/query.go b/x/dao/keeper/query.go index 7a14572..d4b56cc 100644 --- a/x/dao/keeper/query.go +++ b/x/dao/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/dao/keeper/query_params.go b/x/dao/keeper/query_params.go index 50144bb..a9cf973 100644 --- a/x/dao/keeper/query_params.go +++ b/x/dao/keeper/query_params.go @@ -4,9 +4,9 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/planetmint/planetmint-go/x/dao/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "planetmint-go/x/dao/types" ) func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/dao/keeper/query_params_test.go b/x/dao/keeper/query_params_test.go index f492998..e166d47 100644 --- a/x/dao/keeper/query_params_test.go +++ b/x/dao/keeper/query_params_test.go @@ -4,9 +4,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" + testkeeper "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/stretchr/testify/require" - testkeeper "planetmint-go/testutil/keeper" - "planetmint-go/x/dao/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/dao/module.go b/x/dao/module.go index 356beac..b89c096 100644 --- a/x/dao/module.go +++ b/x/dao/module.go @@ -12,9 +12,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "planetmint-go/x/dao/client/cli" - "planetmint-go/x/dao/keeper" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/x/dao/client/cli" + "github.com/planetmint/planetmint-go/x/dao/keeper" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/dao/module_simulation.go b/x/dao/module_simulation.go index ba4d5b1..ea4b046 100644 --- a/x/dao/module_simulation.go +++ b/x/dao/module_simulation.go @@ -3,9 +3,9 @@ package dao import ( "math/rand" - "planetmint-go/testutil/sample" - daosimulation "planetmint-go/x/dao/simulation" - "planetmint-go/x/dao/types" + "github.com/planetmint/planetmint-go/testutil/sample" + daosimulation "github.com/planetmint/planetmint-go/x/dao/simulation" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/dao/types/genesis.pb.go b/x/dao/types/genesis.pb.go index bc4b02b..7686f0f 100644 --- a/x/dao/types/genesis.pb.go +++ b/x/dao/types/genesis.pb.go @@ -75,7 +75,7 @@ func init() { func init() { proto.RegisterFile("planetmintgo/dao/genesis.proto", fileDescriptor_cae3132315bdc9f8) } var fileDescriptor_cae3132315bdc9f8 = []byte{ - // 180 bytes of a gzipped FileDescriptorProto + // 192 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0x4f, 0x49, 0xcc, 0xd7, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x96, 0xd7, 0x4b, @@ -83,11 +83,11 @@ var fileDescriptor_cae3132315bdc9f8 = []byte{ 0xb2, 0x18, 0xe6, 0x14, 0x24, 0x16, 0x25, 0xe6, 0x42, 0x8d, 0x51, 0x72, 0xe3, 0xe2, 0x71, 0x87, 0x98, 0x1b, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0x64, 0xc6, 0xc5, 0x06, 0x91, 0x97, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x92, 0xd0, 0x43, 0xb7, 0x47, 0x2f, 0x00, 0x2c, 0xef, 0xc4, 0x72, 0xe2, 0x9e, - 0x3c, 0x43, 0x10, 0x54, 0xb5, 0x93, 0xf1, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, + 0x3c, 0x43, 0x10, 0x54, 0xb5, 0x93, 0xe7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, - 0x44, 0x49, 0x22, 0x0c, 0xd0, 0x4d, 0xcf, 0xd7, 0xaf, 0x00, 0xbb, 0xa1, 0xa4, 0xb2, 0x20, 0xb5, - 0x38, 0x89, 0x0d, 0xec, 0x06, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x6a, 0x86, 0x44, - 0xec, 0x00, 0x00, 0x00, + 0x44, 0xe9, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x23, 0xcc, 0x42, + 0x62, 0xea, 0xa6, 0xe7, 0xeb, 0x57, 0x80, 0x5d, 0x56, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, + 0x76, 0x99, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x23, 0x6c, 0x19, 0x02, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/dao/types/genesis_test.go b/x/dao/types/genesis_test.go index 92d79fd..5fd9c75 100644 --- a/x/dao/types/genesis_test.go +++ b/x/dao/types/genesis_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" + "github.com/planetmint/planetmint-go/x/dao/types" "github.com/stretchr/testify/require" - "planetmint-go/x/dao/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/dao/types/params.pb.go b/x/dao/types/params.pb.go index 57ac512..d888c01 100644 --- a/x/dao/types/params.pb.go +++ b/x/dao/types/params.pb.go @@ -66,16 +66,17 @@ func init() { func init() { proto.RegisterFile("planetmintgo/dao/params.proto", fileDescriptor_a58575036b3ad531) } var fileDescriptor_a58575036b3ad531 = []byte{ - // 138 bytes of a gzipped FileDescriptorProto + // 151 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2d, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0x4f, 0x49, 0xcc, 0xd7, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x96, 0xd6, 0x4b, 0x49, 0xcc, 0x97, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x4b, 0xea, 0x83, 0x58, 0x10, 0x75, 0x4a, 0x7c, - 0x5c, 0x6c, 0x01, 0x60, 0x7d, 0x56, 0x2c, 0x33, 0x16, 0xc8, 0x33, 0x38, 0x19, 0x9f, 0x78, 0x24, + 0x5c, 0x6c, 0x01, 0x60, 0x7d, 0x56, 0x2c, 0x33, 0x16, 0xc8, 0x33, 0x38, 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, - 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x24, 0xc2, 0x44, 0xdd, 0xf4, 0x7c, 0xfd, 0x0a, - 0xb0, 0x9d, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xb3, 0x8c, 0x01, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x0a, 0x81, 0x96, 0x2f, 0x94, 0x00, 0x00, 0x00, + 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, + 0x72, 0x7e, 0xae, 0x3e, 0xc2, 0x70, 0x24, 0xa6, 0x6e, 0x7a, 0xbe, 0x7e, 0x05, 0xd8, 0x25, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x1b, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x41, + 0x65, 0x38, 0xbf, 0xaa, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/dao/types/query.pb.go b/x/dao/types/query.pb.go index 6abc3cd..3b7670a 100644 --- a/x/dao/types/query.pb.go +++ b/x/dao/types/query.pb.go @@ -121,26 +121,26 @@ func init() { func init() { proto.RegisterFile("planetmintgo/dao/query.proto", fileDescriptor_07bad0eeb5b27724) } var fileDescriptor_07bad0eeb5b27724 = []byte{ - // 290 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x29, 0xc8, 0x49, 0xcc, - 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0x4f, 0x49, 0xcc, 0xd7, 0x2f, 0x2c, 0x4d, - 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x96, 0xd5, 0x4b, 0x49, 0xcc, - 0x97, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x4b, 0xea, 0x83, 0x58, 0x10, 0x75, 0x52, 0x32, 0xe9, - 0xf9, 0xf9, 0xe9, 0x39, 0xa9, 0xfa, 0x89, 0x05, 0x99, 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x89,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, 0xac, 0xab, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, - 0x0d, 0x1c, 0x48, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8b, 0xac, 0x64, 0x90, 0xd5, 0x01, - 0x00, 0x00, + // 301 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0x03, 0x31, + 0x14, 0xc7, 0x2f, 0xa2, 0x1d, 0xe2, 0x22, 0xb1, 0x43, 0x29, 0x35, 0xca, 0xa1, 0x20, 0x82, 0x17, + 0xae, 0x82, 0xee, 0xdd, 0x1c, 0x04, 0xed, 0xe8, 0x96, 0x6b, 0x43, 0x3c, 0xe8, 0xe5, 0xa5, 0x97, + 0x9c, 0xd8, 0xd5, 0x0f, 0x20, 0x82, 0x8b, 0x1f, 0xa9, 0x63, 0xc1, 0xc5, 0x49, 0xe4, 0xce, 0x0f, + 0x22, 0x4d, 0x0e, 0x6c, 0xbd, 0x41, 0xb7, 0xf0, 0xde, 0xef, 0xff, 0xe3, 0x9f, 0x87, 0x7b, 0x7a, + 0xc2, 0x95, 0xb0, 0x59, 0xaa, 0xac, 0x04, 0x36, 0xe6, 0xc0, 0xa6, 0x85, 0xc8, 0x67, 0x91, 0xce, + 0xc1, 0x02, 0xd9, 0x59, 0xdd, 0x46, 0x63, 0x0e, 0xdd, 0xb6, 0x04, 0x09, 0x6e, 0xc9, 0x96, 0x2f, + 0xcf, 0x75, 0x7b, 0x12, 0x40, 0x4e, 0x04, 0xe3, 0x3a, 0x65, 0x5c, 0x29, 0xb0, 0xdc, 0xa6, 0xa0, + 0x4c, 0xbd, 0x3d, 0x19, 0x81, 0xc9, 0xc0, 0xb0, 0x84, 0x1b, 0xe1, 0xf5, 0xec, 0x3e, 0x4e, 0x84, + 0xe5, 0x31, 0xd3, 0x5c, 0xa6, 0xca, 0xc1, 0x35, 0xbb, 0xd7, 0xe8, 0xa3, 0x79, 0xce, 0xb3, 0x5a, + 0x15, 0xb6, 0x31, 0xb9, 0x59, 0x0a, 0xae, 0xdd, 0x70, 0x28, 0xa6, 0x85, 0x30, 0x36, 0xbc, 0xc2, + 0xbb, 0x6b, 0x53, 0xa3, 0x41, 0x19, 0x41, 0xce, 0x71, 0xcb, 0x87, 0x3b, 0xe8, 0x00, 0x1d, 0x6f, + 0xf7, 0x3b, 0xd1, 0xef, 0xef, 0x44, 0x3e, 0x31, 0xd8, 0x9c, 0x7f, 0xec, 0x07, 0xc3, 0x9a, 0xee, + 0xbf, 0x22, 0xbc, 0xe5, 0x7c, 0xe4, 0x09, 0xe1, 0x96, 0x47, 0xc8, 0x61, 0x33, 0xdc, 0x6c, 0xd2, + 0x3d, 0xfa, 0x83, 0xf2, 0xcd, 0xc2, 0x8b, 0xc7, 0xb7, 0xaf, 0x97, 0x8d, 0x98, 0x30, 0x26, 0x53, + 0x7b, 0x57, 0x24, 0xd1, 0x08, 0x32, 0xf6, 0x93, 0x5c, 0x79, 0x9e, 0xae, 0x5d, 0x61, 0x70, 0x39, + 0x2f, 0x29, 0x5a, 0x94, 0x14, 0x7d, 0x96, 0x14, 0x3d, 0x57, 0x34, 0x58, 0x54, 0x34, 0x78, 0xaf, + 0x68, 0x70, 0xfb, 0x2f, 0xd3, 0x83, 0x73, 0xd9, 0x99, 0x16, 0x26, 0x69, 0xb9, 0x8b, 0x9e, 0x7d, + 0x07, 0x00, 0x00, 0xff, 0xff, 0x20, 0xd5, 0xef, 0x17, 0x02, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/dao/types/query.pb.gw.go b/x/dao/types/query.pb.gw.go index 02e40c9..e840581 100644 --- a/x/dao/types/query.pb.gw.go +++ b/x/dao/types/query.pb.gw.go @@ -145,7 +145,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint-go", "dao", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"github.com", "planetmint", "planetmint-go", "dao", "params"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/dao/types/tx.pb.go b/x/dao/types/tx.pb.go index ea1feab..3289fbe 100644 --- a/x/dao/types/tx.pb.go +++ b/x/dao/types/tx.pb.go @@ -26,15 +26,15 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("planetmintgo/dao/tx.proto", fileDescriptor_7117c47dbc1828c7) } var fileDescriptor_7117c47dbc1828c7 = []byte{ - // 113 bytes of a gzipped FileDescriptorProto + // 127 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2c, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0x4f, 0x49, 0xcc, 0xd7, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x96, 0xd2, 0x4b, 0x49, 0xcc, 0x37, 0x62, 0xe5, - 0x62, 0xf6, 0x2d, 0x4e, 0x77, 0x32, 0x3e, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, + 0x62, 0xf6, 0x2d, 0x4e, 0x77, 0xf2, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, - 0x28, 0x24, 0xd3, 0x74, 0xd3, 0xf3, 0xf5, 0x2b, 0x20, 0x06, 0x56, 0x16, 0xa4, 0x16, 0x27, 0xb1, - 0x81, 0x0d, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x41, 0x8a, 0x85, 0xdb, 0x71, 0x00, 0x00, - 0x00, + 0x28, 0xfd, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x84, 0x6e, 0x24, + 0xa6, 0x6e, 0x7a, 0xbe, 0x7e, 0x05, 0xc4, 0x9a, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x55, + 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x38, 0xd4, 0x79, 0xef, 0x87, 0x00, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/machine/client/cli/query.go b/x/machine/client/cli/query.go index d2e36e7..e0520f7 100644 --- a/x/machine/client/cli/query.go +++ b/x/machine/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/machine/client/cli/query_get_machine_by_public_key.go b/x/machine/client/cli/query_get_machine_by_public_key.go index 3b95d3c..9da0ad7 100644 --- a/x/machine/client/cli/query_get_machine_by_public_key.go +++ b/x/machine/client/cli/query_get_machine_by_public_key.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/spf13/cobra" - "planetmint-go/x/machine/types" ) var _ = strconv.Itoa(0) diff --git a/x/machine/client/cli/query_get_trust_anchor_status.go b/x/machine/client/cli/query_get_trust_anchor_status.go index ac78ebc..ee579e3 100644 --- a/x/machine/client/cli/query_get_trust_anchor_status.go +++ b/x/machine/client/cli/query_get_trust_anchor_status.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/spf13/cobra" - "planetmint-go/x/machine/types" ) var _ = strconv.Itoa(0) diff --git a/x/machine/client/cli/query_params.go b/x/machine/client/cli/query_params.go index 7f3ab82..655c7ce 100644 --- a/x/machine/client/cli/query_params.go +++ b/x/machine/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/machine/client/cli/tx.go b/x/machine/client/cli/tx.go index 6b36d67..972942a 100644 --- a/x/machine/client/cli/tx.go +++ b/x/machine/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" ) var ( diff --git a/x/machine/client/cli/tx_attest_machine.go b/x/machine/client/cli/tx_attest_machine.go index 860b623..ff8c1fe 100644 --- a/x/machine/client/cli/tx_attest_machine.go +++ b/x/machine/client/cli/tx_attest_machine.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/spf13/cobra" - "planetmint-go/x/machine/types" ) var _ = strconv.Itoa(0) diff --git a/x/machine/client/cli/tx_register_trust_anchor.go b/x/machine/client/cli/tx_register_trust_anchor.go index 832484a..889e3f2 100644 --- a/x/machine/client/cli/tx_register_trust_anchor.go +++ b/x/machine/client/cli/tx_register_trust_anchor.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/spf13/cobra" - "planetmint-go/x/machine/types" ) var _ = strconv.Itoa(0) diff --git a/x/machine/genesis.go b/x/machine/genesis.go index 32a0589..0a3aa5a 100644 --- a/x/machine/genesis.go +++ b/x/machine/genesis.go @@ -2,8 +2,8 @@ package machine import ( sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/machine/genesis_test.go b/x/machine/genesis_test.go index e73c0ad..af31716 100644 --- a/x/machine/genesis_test.go +++ b/x/machine/genesis_test.go @@ -3,11 +3,11 @@ package machine_test import ( "testing" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/testutil/nullify" + "github.com/planetmint/planetmint-go/x/machine" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/stretchr/testify/require" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/testutil/nullify" - "planetmint-go/x/machine" - "planetmint-go/x/machine/types" ) func TestGenesis(t *testing.T) { diff --git a/x/machine/keeper/issue_response.go b/x/machine/keeper/issue_response.go index 398c7cd..66a9ae8 100644 --- a/x/machine/keeper/issue_response.go +++ b/x/machine/keeper/issue_response.go @@ -1,7 +1,7 @@ package keeper import ( - config "planetmint-go/config" + config "github.com/planetmint/planetmint-go/config" "strconv" "github.com/cometbft/cometbft/libs/log" diff --git a/x/machine/keeper/keeper.go b/x/machine/keeper/keeper.go index 5d01ef6..192b53a 100644 --- a/x/machine/keeper/keeper.go +++ b/x/machine/keeper/keeper.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" ) type ( diff --git a/x/machine/keeper/machine.go b/x/machine/keeper/machine.go index 8626eb2..b473f94 100644 --- a/x/machine/keeper/machine.go +++ b/x/machine/keeper/machine.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/machine/keeper/machine_test.go b/x/machine/keeper/machine_test.go index 19d7dd7..71fc53f 100644 --- a/x/machine/keeper/machine_test.go +++ b/x/machine/keeper/machine_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/assert" diff --git a/x/machine/keeper/msg_server.go b/x/machine/keeper/msg_server.go index fe65d8c..5213331 100644 --- a/x/machine/keeper/msg_server.go +++ b/x/machine/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" ) type msgServer struct { diff --git a/x/machine/keeper/msg_server_attest_machine.go b/x/machine/keeper/msg_server_attest_machine.go index ca94772..10e05f9 100644 --- a/x/machine/keeper/msg_server_attest_machine.go +++ b/x/machine/keeper/msg_server_attest_machine.go @@ -5,9 +5,9 @@ import ( "errors" "strconv" - config "planetmint-go/config" - "planetmint-go/util" - "planetmint-go/x/machine/types" + config "github.com/planetmint/planetmint-go/config" + "github.com/planetmint/planetmint-go/util" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/btcsuite/btcd/btcutil/hdkeychain" "github.com/btcsuite/btcd/chaincfg" diff --git a/x/machine/keeper/msg_server_register_trust_anchor.go b/x/machine/keeper/msg_server_register_trust_anchor.go index b11a3cf..1b686e6 100644 --- a/x/machine/keeper/msg_server_register_trust_anchor.go +++ b/x/machine/keeper/msg_server_register_trust_anchor.go @@ -5,7 +5,7 @@ import ( "encoding/hex" "errors" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/machine/keeper/msg_server_test.go b/x/machine/keeper/msg_server_test.go index 09889ba..16c4d08 100644 --- a/x/machine/keeper/msg_server_test.go +++ b/x/machine/keeper/msg_server_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" - "planetmint-go/testutil/sample" + "github.com/planetmint/planetmint-go/testutil/sample" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/assert" diff --git a/x/machine/keeper/params.go b/x/machine/keeper/params.go index cef9f60..3b8d724 100644 --- a/x/machine/keeper/params.go +++ b/x/machine/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" ) // GetParams get all parameters as types.Params diff --git a/x/machine/keeper/params_test.go b/x/machine/keeper/params_test.go index b80fe2f..3dfbd91 100644 --- a/x/machine/keeper/params_test.go +++ b/x/machine/keeper/params_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "testing" + testkeeper "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/stretchr/testify/require" - testkeeper "planetmint-go/testutil/keeper" - "planetmint-go/x/machine/types" ) func TestGetParams(t *testing.T) { diff --git a/x/machine/keeper/query.go b/x/machine/keeper/query.go index f313cde..e0667f0 100644 --- a/x/machine/keeper/query.go +++ b/x/machine/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/machine/keeper/query_get_machine_by_public_key.go b/x/machine/keeper/query_get_machine_by_public_key.go index 5effa15..cdfcd30 100644 --- a/x/machine/keeper/query_get_machine_by_public_key.go +++ b/x/machine/keeper/query_get_machine_by_public_key.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" diff --git a/x/machine/keeper/query_get_machine_by_public_key_test.go b/x/machine/keeper/query_get_machine_by_public_key_test.go index d981c4b..6650bdb 100644 --- a/x/machine/keeper/query_get_machine_by_public_key_test.go +++ b/x/machine/keeper/query_get_machine_by_public_key_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/x/machine/types" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" "testing" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/machine/keeper/query_get_trust_anchor_status.go b/x/machine/keeper/query_get_trust_anchor_status.go index b0ae23f..a04c36a 100644 --- a/x/machine/keeper/query_get_trust_anchor_status.go +++ b/x/machine/keeper/query_get_trust_anchor_status.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" diff --git a/x/machine/keeper/query_get_trust_anchor_status_test.go b/x/machine/keeper/query_get_trust_anchor_status_test.go index 03e2b38..b00795c 100644 --- a/x/machine/keeper/query_get_trust_anchor_status_test.go +++ b/x/machine/keeper/query_get_trust_anchor_status_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - keepertest "planetmint-go/testutil/keeper" - "planetmint-go/x/machine/types" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" "testing" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/machine/keeper/query_params.go b/x/machine/keeper/query_params.go index 3c7d7d0..234f712 100644 --- a/x/machine/keeper/query_params.go +++ b/x/machine/keeper/query_params.go @@ -4,9 +4,9 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/planetmint/planetmint-go/x/machine/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "planetmint-go/x/machine/types" ) func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/machine/keeper/query_params_test.go b/x/machine/keeper/query_params_test.go index c67b8ab..9de503b 100644 --- a/x/machine/keeper/query_params_test.go +++ b/x/machine/keeper/query_params_test.go @@ -4,9 +4,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" + testkeeper "github.com/planetmint/planetmint-go/testutil/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/stretchr/testify/require" - testkeeper "planetmint-go/testutil/keeper" - "planetmint-go/x/machine/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/machine/keeper/trust_anchor.go b/x/machine/keeper/trust_anchor.go index cfe9c43..691088a 100644 --- a/x/machine/keeper/trust_anchor.go +++ b/x/machine/keeper/trust_anchor.go @@ -3,7 +3,7 @@ package keeper import ( "encoding/hex" "errors" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/machine/keeper/trust_anchor_test.go b/x/machine/keeper/trust_anchor_test.go index 78c0903..ddf1036 100644 --- a/x/machine/keeper/trust_anchor_test.go +++ b/x/machine/keeper/trust_anchor_test.go @@ -6,10 +6,10 @@ import ( "strings" "testing" - keepertest "planetmint-go/testutil/keeper" + keepertest "github.com/planetmint/planetmint-go/testutil/keeper" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/assert" diff --git a/x/machine/module.go b/x/machine/module.go index 5789e6f..8e574d9 100644 --- a/x/machine/module.go +++ b/x/machine/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "planetmint-go/x/machine/client/cli" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/client/cli" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" ) var ( diff --git a/x/machine/module_simulation.go b/x/machine/module_simulation.go index 0c247fc..1330ef9 100644 --- a/x/machine/module_simulation.go +++ b/x/machine/module_simulation.go @@ -8,9 +8,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "planetmint-go/testutil/sample" - machinesimulation "planetmint-go/x/machine/simulation" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/testutil/sample" + machinesimulation "github.com/planetmint/planetmint-go/x/machine/simulation" + "github.com/planetmint/planetmint-go/x/machine/types" ) // avoid unused import issue diff --git a/x/machine/simulation/attest_machine.go b/x/machine/simulation/attest_machine.go index 5be378f..1fccdeb 100644 --- a/x/machine/simulation/attest_machine.go +++ b/x/machine/simulation/attest_machine.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" ) func SimulateMsgAttestMachine( diff --git a/x/machine/simulation/register_trust_anchor.go b/x/machine/simulation/register_trust_anchor.go index 83a43c4..d341128 100644 --- a/x/machine/simulation/register_trust_anchor.go +++ b/x/machine/simulation/register_trust_anchor.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "planetmint-go/x/machine/keeper" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/keeper" + "github.com/planetmint/planetmint-go/x/machine/types" ) func SimulateMsgRegisterTrustAnchor( diff --git a/x/machine/types/genesis.pb.go b/x/machine/types/genesis.pb.go index 8ac2d24..fcbf370 100644 --- a/x/machine/types/genesis.pb.go +++ b/x/machine/types/genesis.pb.go @@ -77,7 +77,7 @@ func init() { } var fileDescriptor_ff4782a784da7bea = []byte{ - // 183 bytes of a gzipped FileDescriptorProto + // 196 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2a, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0xcf, 0x4d, 0x4c, 0xce, 0xc8, 0xcc, 0x4b, 0xd5, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, @@ -85,11 +85,12 @@ var fileDescriptor_ff4782a784da7bea = []byte{ 0x41, 0xd4, 0x4a, 0x29, 0x62, 0x35, 0xaf, 0x20, 0xb1, 0x28, 0x31, 0x17, 0x6a, 0x9c, 0x92, 0x17, 0x17, 0x8f, 0x3b, 0xc4, 0xfc, 0xe0, 0x92, 0xc4, 0x92, 0x54, 0x21, 0x2b, 0x2e, 0x36, 0x88, 0xbc, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x8c, 0x1e, 0x36, 0xfb, 0xf4, 0x02, 0xc0, 0x6a, 0x9c, - 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xea, 0x70, 0x32, 0x3f, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, + 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xea, 0x70, 0xf2, 0x3d, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, - 0xc6, 0x63, 0x39, 0x86, 0x28, 0x59, 0x84, 0x21, 0xba, 0xe9, 0xf9, 0xfa, 0x15, 0x70, 0xb7, 0x94, - 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xdd, 0x62, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xb9, - 0x05, 0x71, 0xdc, 0x00, 0x01, 0x00, 0x00, + 0xc6, 0x63, 0x39, 0x86, 0x28, 0xe3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, + 0x7d, 0x84, 0x79, 0x48, 0x4c, 0xdd, 0xf4, 0x7c, 0xfd, 0x0a, 0xb8, 0x0b, 0x4b, 0x2a, 0x0b, 0x52, + 0x8b, 0x93, 0xd8, 0xc0, 0x2e, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x01, 0x43, 0x69, 0x14, + 0x16, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/machine/types/genesis_test.go b/x/machine/types/genesis_test.go index 849027d..a6e552f 100644 --- a/x/machine/types/genesis_test.go +++ b/x/machine/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "planetmint-go/x/machine/types" + "github.com/planetmint/planetmint-go/x/machine/types" "github.com/stretchr/testify/require" ) diff --git a/x/machine/types/machine.pb.go b/x/machine/types/machine.pb.go index ebca5cb..91ad70f 100644 --- a/x/machine/types/machine.pb.go +++ b/x/machine/types/machine.pb.go @@ -293,33 +293,34 @@ func init() { } var fileDescriptor_1bb279745bef7c4b = []byte{ - // 415 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x3d, 0x4f, 0xe3, 0x40, - 0x10, 0xcd, 0xc6, 0xb9, 0xc4, 0x9e, 0xe4, 0x74, 0xb9, 0xd5, 0xe9, 0xb4, 0xc5, 0x9d, 0x65, 0xb9, - 0xb2, 0x4e, 0x77, 0x8e, 0x74, 0x14, 0x48, 0x94, 0x90, 0x26, 0x12, 0x91, 0x90, 0xe9, 0xe8, 0x16, - 0x7b, 0x31, 0x2b, 0xe2, 0xb5, 0xb1, 0xd7, 0x28, 0x48, 0xfc, 0x03, 0x28, 0xf8, 0x59, 0x94, 0x29, - 0x29, 0x51, 0xf2, 0x47, 0x90, 0xd7, 0x1f, 0x21, 0x1f, 0x05, 0x95, 0xe7, 0xbd, 0x79, 0xbb, 0xe3, - 0x7d, 0x6f, 0xc0, 0x4e, 0x66, 0x54, 0x30, 0x19, 0x71, 0x21, 0xc3, 0x78, 0x14, 0x51, 0xff, 0x9a, - 0x0b, 0x56, 0x7f, 0xdd, 0x24, 0x8d, 0x65, 0x8c, 0x7f, 0x7c, 0xd4, 0xb8, 0x55, 0xcf, 0x7e, 0xd4, - 0xa0, 0x37, 0x2d, 0x6b, 0x8c, 0xa1, 0x23, 0x68, 0xc4, 0x08, 0xb2, 0x90, 0x63, 0x78, 0xaa, 0xc6, - 0x3f, 0xa1, 0x2b, 0xb9, 0x7f, 0xc3, 0x52, 0xd2, 0x56, 0x6c, 0x85, 0x0a, 0x3e, 0x88, 0x23, 0xca, - 0x05, 0xd1, 0x4a, 0xbe, 0x44, 0x98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0x7a, 0x32, 0x19, 0xab, 0xa0, 0x0c, 0x6f, - 0xb7, 0x61, 0x3f, 0xc0, 0xa0, 0xda, 0x8d, 0x89, 0x08, 0xd8, 0x7c, 0xd3, 0x3c, 0xb4, 0x6d, 0xde, - 0xbe, 0xa8, 0xda, 0x9f, 0x8c, 0x4a, 0xdb, 0x8d, 0xea, 0xf8, 0xf0, 0x65, 0x69, 0xa2, 0xc5, 0xd2, - 0x44, 0x6f, 0x4b, 0x13, 0x3d, 0xaf, 0xcc, 0xd6, 0x62, 0x65, 0xb6, 0x5e, 0x57, 0x66, 0xeb, 0xe2, - 0xf7, 0x3a, 0x93, 0x7f, 0x61, 0x3c, 0x9a, 0x37, 0x1b, 0x5f, 0x98, 0x9e, 0x5d, 0x76, 0xd5, 0xc2, - 0x1f, 0xbc, 0x07, 0x00, 0x00, 0xff, 0xff, 0xec, 0xa8, 0x9d, 0xcd, 0x16, 0x03, 0x00, 0x00, + // 423 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x3f, 0x8f, 0xd3, 0x30, + 0x1c, 0xad, 0x9b, 0xd2, 0x26, 0xbf, 0x16, 0x51, 0x2c, 0x84, 0x3c, 0xa0, 0x28, 0xca, 0x14, 0x21, + 0x48, 0x25, 0xba, 0x31, 0x42, 0x97, 0x4a, 0x54, 0x42, 0x61, 0x63, 0x73, 0x13, 0x93, 0x5a, 0x34, + 0x76, 0x48, 0x1c, 0x54, 0x24, 0xbe, 0xc1, 0xdd, 0x70, 0x1f, 0xeb, 0xc6, 0x8e, 0x37, 0x9e, 0xda, + 0x2f, 0x72, 0x8a, 0xf3, 0xa7, 0x7f, 0x87, 0x9b, 0xf2, 0xde, 0xfb, 0x3d, 0xdb, 0xc9, 0x7b, 0x31, + 0xb8, 0xe9, 0x9a, 0x0a, 0xa6, 0x12, 0x2e, 0x54, 0x2c, 0x27, 0x09, 0x0d, 0x57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, 0x13, 0xf7, 0x16, 0x81, 0xd9, 0x6c, 0x8d, 0xc7, 0x60, 0xc4, 0x69, 0x5e, 0xb7, + 0x51, 0x42, 0x1d, 0x3a, 0xfb, 0xcb, 0x43, 0xd6, 0x94, 0x51, 0x31, 0xec, 0xc1, 0x2b, 0x9a, 0xe7, + 0x4c, 0xcd, 0xd8, 0x2f, 0x2e, 0xb8, 0x2a, 0x83, 0xac, 0x5a, 0x39, 0x97, 0xf1, 0x07, 0x78, 0x4d, + 0xa3, 0x48, 0x63, 0xba, 0x9e, 0x51, 0x45, 0xbf, 0xce, 0x67, 0xba, 0x28, 0x2b, 0xb8, 0x1c, 0xb8, + 0xff, 0x61, 0x54, 0xff, 0x1b, 0x73, 0x11, 0xb1, 0xcd, 0x69, 0x78, 0xe8, 0x3c, 0xbc, 0x6b, 0x55, + 0x75, 0x9f, 0x59, 0x95, 0x71, 0x59, 0xd5, 0x97, 0xc5, 0xfd, 0xce, 0x46, 0xdb, 0x9d, 0x8d, 0x1e, + 0x77, 0x36, 0xba, 0xdb, 0xdb, 0x9d, 0xed, 0xde, 0xee, 0x3c, 0xec, 0xed, 0xce, 0xcf, 0x69, 0xcc, + 0xd5, 0xaa, 0x58, 0xfa, 0xa1, 0x4c, 0x26, 0x87, 0x7a, 0x8e, 0xe0, 0xc7, 0x58, 0x4e, 0x36, 0xed, + 0x3d, 0x28, 0xab, 0xc8, 0x97, 0x7d, 0x7d, 0x0d, 0xa6, 0x4f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe7, + 0xdd, 0x90, 0x62, 0x2c, 0x03, 0x00, 0x00, } func (m *Machine) Marshal() (dAtA []byte, err error) { diff --git a/x/machine/types/params.pb.go b/x/machine/types/params.pb.go index 25e3c97..882a999 100644 --- a/x/machine/types/params.pb.go +++ b/x/machine/types/params.pb.go @@ -66,16 +66,17 @@ func init() { func init() { proto.RegisterFile("planetmintgo/machine/params.proto", fileDescriptor_84cd778d65e6639c) } var fileDescriptor_84cd778d65e6639c = []byte{ - // 141 bytes of a gzipped FileDescriptorProto + // 154 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2c, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0xcf, 0x4d, 0x4c, 0xce, 0xc8, 0xcc, 0x4b, 0xd5, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x41, 0x56, 0xa2, 0x07, 0x55, 0x22, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x56, 0xa0, 0x0f, 0x62, 0x41, - 0xd4, 0x2a, 0xf1, 0x71, 0xb1, 0x05, 0x80, 0xf5, 0x5a, 0xb1, 0xcc, 0x58, 0x20, 0xcf, 0xe0, 0x64, - 0x7e, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, - 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xb2, 0x08, 0x53, 0x75, 0xd3, - 0xf3, 0xf5, 0x2b, 0xe0, 0x76, 0x97, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xcd, 0x33, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x9a, 0xb4, 0x7a, 0xa0, 0x00, 0x00, 0x00, + 0xd4, 0x2a, 0xf1, 0x71, 0xb1, 0x05, 0x80, 0xf5, 0x5a, 0xb1, 0xcc, 0x58, 0x20, 0xcf, 0xe0, 0xe4, + 0x7b, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, + 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xc6, 0xe9, 0x99, 0x25, 0x19, + 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x08, 0x0b, 0x90, 0x98, 0xba, 0xe9, 0xf9, 0xfa, 0x15, + 0x70, 0x17, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x6d, 0x31, 0x06, 0x04, 0x00, 0x00, + 0xff, 0xff, 0x96, 0x1b, 0x82, 0xfc, 0xb6, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/machine/types/query.pb.go b/x/machine/types/query.pb.go index 61d7d8d..fb7a8fb 100644 --- a/x/machine/types/query.pb.go +++ b/x/machine/types/query.pb.go @@ -309,40 +309,40 @@ func init() { func init() { proto.RegisterFile("planetmintgo/machine/query.proto", fileDescriptor_bf7841d43d757203) } var fileDescriptor_bf7841d43d757203 = []byte{ - // 516 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xc1, 0x6a, 0xd4, 0x40, - 0x18, 0xc7, 0x77, 0x4a, 0x5d, 0xed, 0xf4, 0x36, 0xae, 0x50, 0xc2, 0x6e, 0x9a, 0x0e, 0x08, 0xab, - 0xe0, 0x0e, 0xad, 0xe0, 0x4a, 0x29, 0x62, 0x17, 0xc1, 0x83, 0x08, 0x6d, 0xf4, 0x24, 0x48, 0x98, - 0xa4, 0x43, 0x3a, 0xb8, 0x3b, 0x93, 0x66, 0x26, 0xc5, 0x50, 0x7a, 0x11, 0x1f, 0x40, 0xf0, 0x41, - 0x7c, 0x8d, 0x82, 0x97, 0x05, 0x2f, 0x9e, 0x44, 0x76, 0x7d, 0x10, 0xd9, 0xc9, 0x64, 0x77, 0x4b, - 0xd3, 0xd0, 0x9e, 0x32, 0x7c, 0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x79, 0xf4, 0xcc, 0x1d, 0x50, 0x63, 0x0f, 0x94, 0xf1, 0x93, 0xb3, 0xf9, 0x4a, 0x9d, - 0x0f, 0xfa, 0x17, 0x13, 0x17, 0x8c, 0x27, 0x2e, 0xf8, 0x3b, 0x71, 0xc1, 0xb7, 0xa9, 0xdb, 0x18, - 0x4f, 0xdd, 0xc6, 0xef, 0xa9, 0xdb, 0xf8, 0xd0, 0xb9, 0x1c, 0xfa, 0x79, 0x1e, 0xab, 0xf3, 0x84, - 0xa9, 0xb0, 0x69, 0xfe, 0x11, 0x4f, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x61, 0xd3, 0x10, - 0x04, 0x05, 0x00, 0x00, + // 524 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcf, 0x6a, 0xd4, 0x40, + 0x1c, 0xde, 0x94, 0x5a, 0xed, 0xf4, 0x36, 0xae, 0x50, 0xc2, 0x1a, 0xd3, 0x39, 0xad, 0x82, 0x19, + 0xda, 0x45, 0x57, 0xf4, 0x62, 0xf7, 0xe2, 0x41, 0x0a, 0xdb, 0xd8, 0x83, 0x14, 0x24, 0x4c, 0xd2, + 0x21, 0x3b, 0xb8, 0x99, 0x49, 0x33, 0x93, 0x62, 0x28, 0xbd, 0xf8, 0x04, 0x82, 0x37, 0x9f, 0xa8, + 0xc7, 0x82, 0x17, 0x4f, 0xa2, 0xbb, 0xe2, 0xdd, 0x37, 0x90, 0x9d, 0x4c, 0x76, 0x57, 0x1a, 0x43, + 0xf7, 0x94, 0xe1, 0x97, 0xef, 0xf7, 0xfd, 0xc9, 0x7c, 0x04, 0xb8, 0xe9, 0x98, 0x70, 0xaa, 0x12, + 0xc6, 0x55, 0x2c, 0x70, 0x42, 0xa2, 0x11, 0xe3, 0x14, 0x9f, 0xe6, 0x34, 0x2b, 0xbc, 0x34, 0x13, + 0x4a, 0xc0, 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 0x1f, 0x13, 0xc7, 0xfa, 0x34, 0x75, 0x5a, 0x57, 0x53, 0xa7, 0xf5, 0x6d, 0xea, 0xb4, 0x8e, 0x7b, + 0x37, 0x91, 0xfa, 0x30, 0x17, 0x53, 0x45, 0x4a, 0x65, 0xb8, 0xa1, 0xff, 0x3d, 0xbd, 0xbf, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xc0, 0xb6, 0xdb, 0x5a, 0x5c, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/machine/types/query.pb.gw.go b/x/machine/types/query.pb.gw.go index 5b81d0f..053272f 100644 --- a/x/machine/types/query.pb.gw.go +++ b/x/machine/types/query.pb.gw.go @@ -339,11 +339,11 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint-go", "machine", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"github.com", "planetmint", "planetmint-go", "machine", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetMachineByPublicKey_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint-go", "machine", "get_machine_by_public_key", "publicKey"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetMachineByPublicKey_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"github.com", "planetmint", "planetmint-go", "machine", "get_machine_by_public_key", "publicKey"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetTrustAnchorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint-go", "machine", "get_trust_anchor_status", "machineid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetTrustAnchorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"github.com", "planetmint", "planetmint-go", "machine", "get_trust_anchor_status", "machineid"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/machine/types/trust_anchor.pb.go b/x/machine/types/trust_anchor.pb.go index 57b7b73..4a8838a 100644 --- a/x/machine/types/trust_anchor.pb.go +++ b/x/machine/types/trust_anchor.pb.go @@ -75,17 +75,18 @@ func init() { } var fileDescriptor_c743aa40c45e7aac = []byte{ - // 149 bytes of a gzipped FileDescriptorProto + // 162 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2f, 0xc8, 0x49, 0xcc, 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0xcf, 0x4d, 0x4c, 0xce, 0xc8, 0xcc, 0x4b, 0xd5, 0x2f, 0x29, 0x2a, 0x2d, 0x2e, 0x89, 0x4f, 0xcc, 0x4b, 0xce, 0xc8, 0x2f, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x41, 0x56, 0xa8, 0x07, 0x55, 0xa8, 0xa4, 0xca, 0xc5, 0x1d, 0x02, 0x52, 0xeb, 0x08, 0x56, 0x2a, 0x24, 0xc6, 0xc5, 0x56, 0x50, 0x9a, 0x94, 0x9d, 0x5a, 0x29, 0xc1, - 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0xe5, 0x39, 0x99, 0x9f, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, + 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0xe5, 0x39, 0xf9, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, - 0xb1, 0x1c, 0x43, 0x94, 0x2c, 0xc2, 0x58, 0xdd, 0xf4, 0x7c, 0xfd, 0x0a, 0x84, 0x13, 0x2a, 0x0b, - 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x96, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x05, 0x42, 0xb6, - 0x02, 0xa7, 0x00, 0x00, 0x00, + 0xb1, 0x1c, 0x43, 0x94, 0x71, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, + 0xc2, 0x06, 0x24, 0xa6, 0x6e, 0x7a, 0xbe, 0x7e, 0x05, 0xc2, 0x61, 0x95, 0x05, 0xa9, 0xc5, 0x49, + 0x6c, 0x60, 0x27, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa8, 0xfb, 0x63, 0xed, 0xbd, 0x00, + 0x00, 0x00, } func (m *TrustAnchor) Marshal() (dAtA []byte, err error) { diff --git a/x/machine/types/tx.pb.go b/x/machine/types/tx.pb.go index 49773e2..c4b60c6 100644 --- a/x/machine/types/tx.pb.go +++ b/x/machine/types/tx.pb.go @@ -213,27 +213,27 @@ func init() { func init() { proto.RegisterFile("planetmintgo/machine/tx.proto", fileDescriptor_85ac37e5c8e5251d) } var fileDescriptor_85ac37e5c8e5251d = []byte{ - // 305 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2d, 0xc8, 0x49, 0xcc, - 0x4b, 0x2d, 0xc9, 0xcd, 0xcc, 0x2b, 0x49, 0xcf, 0xd7, 0xcf, 0x4d, 0x4c, 0xce, 0xc8, 0xcc, 0x4b, - 0xd5, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x41, 0x96, 0xd6, 0x83, 0x4a, - 0x4b, 0x29, 0x61, 0xd5, 0x04, 0xa5, 0x21, 0x3a, 0xa5, 0xd4, 0xb1, 0x1b, 0x5c, 0x54, 0x5a, 0x5c, - 0x12, 0x9f, 0x98, 0x97, 0x9c, 0x91, 0x5f, 0x04, 0x51, 0xa8, 0x94, 0xca, 0x25, 0xe0, 0x5b, 0x9c, - 0xee, 0x58, 0x52, 0x92, 0x5a, 0x5c, 0xe2, 0x0b, 0x51, 0x26, 0x24, 0xc1, 0xc5, 0x9e, 0x5c, 0x94, - 0x9a, 0x58, 0x92, 0x5f, 0x24, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0xe3, 0x0a, 0x99, 0x73, - 0xb1, 0x43, 0xcd, 0x92, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x36, 0x92, 0xd5, 0xc3, 0xe6, 0x44, 0x3d, - 0xa8, 0x49, 0x41, 0x30, 0xd5, 0x4a, 0x52, 0x5c, 0x12, 0xe8, 0xd6, 0x04, 0xa5, 0x16, 0x17, 0xe4, - 0xe7, 0x15, 0xa7, 0x2a, 0x95, 0x73, 0x89, 0xf9, 0x16, 0xa7, 0x07, 0xa5, 0xa6, 0x67, 0x16, 0x97, - 0xa4, 0x16, 0x85, 0x80, 0xdc, 0xe8, 0x08, 0x76, 0x22, 0x1e, 0x87, 0x38, 0x73, 0x71, 0x97, 0x20, - 0x14, 0x42, 0x1d, 0xa3, 0x88, 0xdd, 0x31, 0x48, 0x26, 0x06, 0x21, 0xeb, 0x52, 0x52, 0xe0, 0x92, - 0xc3, 0x6e, 0x31, 0xcc, 0x69, 0x46, 0x2f, 0x19, 0xb9, 0x98, 0x7d, 0x8b, 0xd3, 0x85, 0xd2, 0xb9, - 0x78, 0x51, 0x83, 0x48, 0x0d, 0x87, 0xbf, 0xd1, 0xfc, 0x28, 0xa5, 0x47, 0x9c, 0x3a, 0x98, 0x85, - 0x42, 0x95, 0x5c, 0xc2, 0xd8, 0x02, 0x42, 0x07, 0xa7, 0x31, 0x58, 0x54, 0x4b, 0x99, 0x90, 0xa2, - 0x1a, 0x66, 0xb5, 0x93, 0xf9, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, - 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x21, - 0xa5, 0x52, 0xdd, 0xf4, 0x7c, 0xfd, 0x0a, 0x44, 0x7a, 0xaa, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, - 0xa7, 0x24, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0xa7, 0x9c, 0x05, 0xcd, 0x02, 0x00, - 0x00, + // 316 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x4a, 0xc3, 0x40, + 0x10, 0x86, 0xbb, 0x0a, 0x16, 0xa7, 0x08, 0x12, 0x45, 0x42, 0xa0, 0x4b, 0xcd, 0x41, 0x7b, 0xd0, + 0x0d, 0xb4, 0x82, 0xe7, 0xea, 0x39, 0x97, 0xe0, 0xc9, 0x8b, 0xa4, 0x61, 0xd9, 0x04, 0x4c, 0x36, + 0xec, 0x4e, 0xb1, 0x7d, 0x0b, 0x1f, 0xcb, 0x63, 0x8f, 0x1e, 0x25, 0x39, 0xf9, 0x16, 0x62, 0x93, + 0x90, 0x58, 0xb6, 0xa2, 0xa7, 0x64, 0x99, 0x7f, 0xfe, 0xff, 0x9b, 0x61, 0x60, 0x98, 0x3f, 0x87, + 0x19, 0xc7, 0x34, 0xc9, 0x50, 0x48, 0x2f, 0x0d, 0xa3, 0x38, 0xc9, 0xb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xef, 0x71, 0x2a, 0x12, 0x8c, 0x17, 0x73, 0x16, 0xc9, 0xd4, 0x6b, 0x9d, 0x3b, 0xbf, + 0xd7, 0x42, 0x7a, 0xcb, 0xf6, 0xca, 0x56, 0x39, 0xd7, 0xf3, 0x83, 0xcd, 0x7d, 0x4d, 0xbf, 0x02, + 0x00, 0x00, 0xff, 0xff, 0x3d, 0xee, 0xa4, 0x4d, 0xe3, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used.