From 6aaa5399efaecf4e6532d170c5796cc400fd3729 Mon Sep 17 00:00:00 2001 From: Julian Strobl Date: Thu, 19 Oct 2023 10:39:23 +0200 Subject: [PATCH] Remove /planetmint-go from API paths (#157) * Remove `/planetmint-go` from API paths * Generate protobuf and openapi Signed-off-by: Julian Strobl --- docs/static/openapi.yml | 24 +++---- proto/planetmintgo/asset/query.proto | 6 +- proto/planetmintgo/dao/query.proto | 10 +-- proto/planetmintgo/machine/query.proto | 8 +-- tests/e2e/machine/rest.go | 2 +- x/asset/types/query.pb.go | 73 +++++++++++---------- x/asset/types/query.pb.gw.go | 6 +- x/dao/types/query.pb.go | 89 +++++++++++++------------- x/dao/types/query.pb.gw.go | 10 +-- x/machine/types/query.pb.go | 77 +++++++++++----------- x/machine/types/query.pb.gw.go | 8 +-- 11 files changed, 155 insertions(+), 158 deletions(-) diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index d929722..054ad1c 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -46437,7 +46437,7 @@ paths: } tags: - Query - /planetmint/planetmint-go/asset/get_cids_by_address/{address}/{lookupPeriodInMin}: + /planetmint/asset/get_cids_by_address/{address}/{lookupPeriodInMin}: get: summary: Queries a list of GetCIDsByAddress items. operationId: PlanetmintgoAssetGetCIDsByAddress @@ -46565,7 +46565,7 @@ paths: type: boolean tags: - Query - /planetmint/planetmint-go/asset/get_notarized_asset/{cid}: + /planetmint/asset/get_notarized_asset/{cid}: get: summary: Queries a list of GetNotarizedAsset items. operationId: PlanetmintgoAssetGetNotarizedAsset @@ -46604,7 +46604,7 @@ paths: type: string tags: - Query - /planetmint/planetmint-go/asset/params: + /planetmint/asset/params: get: summary: Parameters queries the parameters of the module. operationId: PlanetmintgoAssetParams @@ -46640,7 +46640,7 @@ paths: additionalProperties: {} tags: - Query - /planetmint/planetmint-go/dao/get_mint_requests_by_hash/{hash}: + /planetmint/dao/get_mint_requests_by_hash/{hash}: get: summary: Queries a list of GetMintRequestsByHash items. operationId: PlanetmintgoDaoGetMintRequestsByHash @@ -46685,7 +46685,7 @@ paths: type: string tags: - Query - /planetmint/planetmint-go/dao/get_reissuance/{blockHeight}: + /planetmint/dao/get_reissuance/{blockHeight}: get: summary: Queries a list of GetReissuance items. operationId: PlanetmintgoDaoGetReissuance @@ -46733,7 +46733,7 @@ paths: format: uint64 tags: - Query - /planetmint/planetmint-go/dao/get_reissuances: + /planetmint/dao/get_reissuances: get: summary: Queries a list of GetReissuances items. operationId: PlanetmintgoDaoGetReissuances @@ -46860,7 +46860,7 @@ paths: type: boolean tags: - Query - /planetmint/planetmint-go/dao/mint_requests_by_address/{address}: + /planetmint/dao/mint_requests_by_address/{address}: get: summary: Queries a list of MintRequestsByAddress items. operationId: PlanetmintgoDaoMintRequestsByAddress @@ -46910,7 +46910,7 @@ paths: type: string tags: - Query - /planetmint/planetmint-go/dao/params: + /planetmint/dao/params: get: summary: Parameters queries the parameters of the module. operationId: PlanetmintgoDaoParams @@ -46946,7 +46946,7 @@ paths: additionalProperties: {} tags: - Query - /planetmint-go/machine/get_machine_by_address/{address}: + /planetmint/machine/get_machine_by_address/{address}: get: summary: Queries a list of GetMachineByAddress items. operationId: PlanetmintgoMachineGetMachineByAddress @@ -47022,7 +47022,7 @@ paths: type: string tags: - Query - /planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}: + /planetmint/machine/get_machine_by_public_key/{publicKey}: get: summary: Queries a list of GetMachineByPublicKey items. operationId: PlanetmintgoMachineGetMachineByPublicKey @@ -47098,7 +47098,7 @@ paths: type: string tags: - Query - /planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}: + /planetmint/machine/get_trust_anchor_status/{machineid}: get: summary: Queries a list of GetTrustAnchorStatus items. operationId: PlanetmintgoMachineGetTrustAnchorStatus @@ -47137,7 +47137,7 @@ paths: type: string tags: - Query - /planetmint/planetmint-go/machine/params: + /planetmint/machine/params: get: summary: Parameters queries the parameters of the module. operationId: PlanetmintgoMachineParams diff --git a/proto/planetmintgo/asset/query.proto b/proto/planetmintgo/asset/query.proto index 89e4c8d..3782e89 100644 --- a/proto/planetmintgo/asset/query.proto +++ b/proto/planetmintgo/asset/query.proto @@ -14,19 +14,19 @@ service Query { // Parameters queries the parameters of the module. rpc Params (QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/asset/params"; + option (google.api.http).get = "/planetmint/asset/params"; } // Queries a list of GetCIDsByAddress items. rpc GetCIDsByAddress (QueryGetCIDsByAddressRequest) returns (QueryGetCIDsByAddressResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/asset/get_cids_by_address/{address}/{lookupPeriodInMin}"; + option (google.api.http).get = "/planetmint/asset/get_cids_by_address/{address}/{lookupPeriodInMin}"; } // Queries a list of GetNotarizedAsset items. rpc GetNotarizedAsset (QueryGetNotarizedAssetRequest) returns (QueryGetNotarizedAssetResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/asset/get_notarized_asset/{cid}"; + option (google.api.http).get = "/planetmint/asset/get_notarized_asset/{cid}"; } } diff --git a/proto/planetmintgo/dao/query.proto b/proto/planetmintgo/dao/query.proto index 9204ed0..568f8a2 100644 --- a/proto/planetmintgo/dao/query.proto +++ b/proto/planetmintgo/dao/query.proto @@ -17,31 +17,31 @@ service Query { // Parameters queries the parameters of the module. rpc Params (QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/dao/params"; + option (google.api.http).get = "/planetmint/dao/params"; } // Queries a list of GetMintRequestsByHash items. rpc GetMintRequestsByHash (QueryGetMintRequestsByHashRequest) returns (QueryGetMintRequestsByHashResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/dao/get_mint_requests_by_hash/{hash}"; + option (google.api.http).get = "/planetmint/dao/get_mint_requests_by_hash/{hash}"; } // Queries a list of MintRequestsByAddress items. rpc MintRequestsByAddress (QueryMintRequestsByAddressRequest) returns (QueryMintRequestsByAddressResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/dao/mint_requests_by_address/{address}"; + option (google.api.http).get = "/planetmint/dao/mint_requests_by_address/{address}"; } // Queries a list of GetReissuance items. rpc GetReissuance (QueryGetReissuanceRequest) returns (QueryGetReissuanceResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/dao/get_reissuance/{blockHeight}"; + option (google.api.http).get = "/planetmint/dao/get_reissuance/{blockHeight}"; } // Queries a list of GetReissuances items. rpc GetReissuances (QueryGetReissuancesRequest) returns (QueryGetReissuancesResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/dao/get_reissuances"; + option (google.api.http).get = "/planetmint/dao/get_reissuances"; } } diff --git a/proto/planetmintgo/machine/query.proto b/proto/planetmintgo/machine/query.proto index c9120c5..d4deed8 100644 --- a/proto/planetmintgo/machine/query.proto +++ b/proto/planetmintgo/machine/query.proto @@ -15,25 +15,25 @@ service Query { // Parameters queries the parameters of the module. rpc Params (QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/machine/params"; + option (google.api.http).get = "/planetmint/machine/params"; } // Queries a list of GetMachineByPublicKey items. rpc GetMachineByPublicKey (QueryGetMachineByPublicKeyRequest) returns (QueryGetMachineByPublicKeyResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}"; + option (google.api.http).get = "/planetmint/machine/get_machine_by_public_key/{publicKey}"; } // Queries a list of GetTrustAnchorStatus items. rpc GetTrustAnchorStatus (QueryGetTrustAnchorStatusRequest) returns (QueryGetTrustAnchorStatusResponse) { - option (google.api.http).get = "/planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}"; + option (google.api.http).get = "/planetmint/machine/get_trust_anchor_status/{machineid}"; } // Queries a list of GetMachineByAddress items. rpc GetMachineByAddress (QueryGetMachineByAddressRequest) returns (QueryGetMachineByAddressResponse) { - option (google.api.http).get = "/planetmint-go/machine/get_machine_by_address/{address}"; + option (google.api.http).get = "/planetmint/machine/get_machine_by_address/{address}"; } } diff --git a/tests/e2e/machine/rest.go b/tests/e2e/machine/rest.go index 0c96e4f..28b198a 100644 --- a/tests/e2e/machine/rest.go +++ b/tests/e2e/machine/rest.go @@ -59,7 +59,7 @@ func (s *E2ETestSuite) TestAttestMachineREST() { s.Require().NoError(err) s.Require().Equal(uint32(0), txRes.TxResponse.Code) - queryMachineUrl := fmt.Sprintf("%s/planetmint/planetmint-go/machine/get_machine_by_public_key/%s", baseURL, pubKey) + queryMachineUrl := fmt.Sprintf("%s/planetmint/machine/get_machine_by_public_key/%s", baseURL, pubKey) queryMachineRes, err := testutil.GetRequest(queryMachineUrl) s.Require().NoError(err) diff --git a/x/asset/types/query.pb.go b/x/asset/types/query.pb.go index e148602..a0ff993 100644 --- a/x/asset/types/query.pb.go +++ b/x/asset/types/query.pb.go @@ -333,43 +333,42 @@ func init() { func init() { proto.RegisterFile("planetmintgo/asset/query.proto", fileDescriptor_5832a953a81817c0) } var fileDescriptor_5832a953a81817c0 = []byte{ - // 561 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xbf, 0x6f, 0x13, 0x31, - 0x14, 0xce, 0xa5, 0x21, 0xa8, 0x66, 0x69, 0x4d, 0x87, 0xe8, 0x54, 0xae, 0xd5, 0x0d, 0x69, 0x84, - 0xc0, 0x26, 0x61, 0x01, 0x31, 0x25, 0x20, 0xaa, 0x8a, 0x5f, 0xe9, 0x31, 0xc1, 0x12, 0x39, 0x39, - 0xeb, 0xb0, 0x48, 0xec, 0xeb, 0xd9, 0x41, 0x84, 0x90, 0x85, 0x8d, 0x0d, 0x89, 0x7f, 0x82, 0x89, - 0xff, 0x80, 0xbd, 0x63, 0x05, 0x0b, 0x13, 0x42, 0x09, 0x7f, 0x08, 0x3a, 0xdb, 0x51, 0x92, 0x5e, - 0x42, 0xe8, 0xf6, 0xce, 0xef, 0xbd, 0xef, 0xfb, 0xde, 0xf7, 0x9e, 0x0e, 0x78, 0x71, 0x97, 0x70, - 0xaa, 0x7a, 0x8c, 0xab, 0x48, 0x60, 0x22, 0x25, 0x55, 0xf8, 0xa4, 0x4f, 0x93, 0x01, 0x8a, 0x13, - 0xa1, 0x04, 0x84, 0xf3, 0x79, 0xa4, 0xf3, 0xee, 0x4e, 0x24, 0x22, 0xa1, 0xd3, 0x38, 0x8d, 0x4c, - 0xa5, 0xbb, 0x1b, 0x09, 0x11, 0x75, 0x29, 0x26, 0x31, 0xc3, 0x84, 0x73, 0xa1, 0x88, 0x62, 0x82, - 0x4b, 0x9b, 0xbd, 0xde, 0x11, 0xb2, 0x27, 0x24, 0x6e, 0x13, 0x49, 0x0d, 0x01, 0x7e, 0x53, 0x6d, - 0x53, 0x45, 0xaa, 0x38, 0x26, 0x11, 0xe3, 0xba, 0xd8, 0xd6, 0xee, 0x2d, 0xd1, 0x14, 0x93, 0x84, - 0xf4, 0x2c, 0x98, 0xbf, 0x03, 0xe0, 0x71, 0x0a, 0xd1, 0xd4, 0x8f, 0x01, 0x3d, 0xe9, 0x53, 0xa9, - 0xfc, 0x67, 0xe0, 0xea, 0xc2, 0xab, 0x8c, 0x05, 0x97, 0x14, 0xde, 0x01, 0x45, 0xd3, 0x5c, 0x72, - 0xf6, 0x9d, 0xca, 0x95, 0x9a, 0x8b, 0xb2, 0x23, 0x21, 0xd3, 0xd3, 0x28, 0x9c, 0xfe, 0xda, 0xcb, - 0x05, 0xb6, 0xde, 0xff, 0xea, 0x80, 0x5d, 0x8d, 0x78, 0x48, 0xd5, 0xfd, 0xa3, 0x07, 0xb2, 0x31, - 0xa8, 0x87, 0x61, 0x42, 0xe5, 0x94, 0x11, 0x96, 0xc0, 0x65, 0x62, 0x5e, 0x34, 0xf6, 0x66, 0x30, - 0xfd, 0x84, 0x37, 0xc0, 0x76, 0x57, 0x88, 0xd7, 0xfd, 0xb8, 0x49, 0x13, 0x26, 0xc2, 0x23, 0xfe, - 0x84, 0xf1, 0x52, 0x7e, 0xdf, 0xa9, 0x14, 0x82,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 0xcc, 0xc1, - 0x8e, 0xe0, 0x37, 0x07, 0x6c, 0x67, 0x96, 0x06, 0xff, 0xa9, 0x71, 0xe9, 0x4d, 0xb8, 0xb5, 0x8b, - 0xb4, 0xd8, 0xb9, 0xea, 0x7a, 0xae, 0x7b, 0xf0, 0xee, 0xff, 0xcc, 0xc5, 0xa7, 0x18, 0x2d, 0xf3, - 0x36, 0xec, 0xb0, 0x70, 0xd4, 0x78, 0x74, 0x3a, 0xf6, 0x9c, 0xb3, 0xb1, 0xe7, 0xfc, 0x1e, 0x7b, - 0xce, 0xa7, 0x89, 0x97, 0x3b, 0x9b, 0x78, 0xb9, 0x9f, 0x13, 0x2f, 0xf7, 0xb2, 0x1a, 0x31, 0xf5, - 0xaa, 0xdf, 0x46, 0x1d, 0xd1, 0x5b, 0x0d, 0xff, 0xd6, 0x12, 0xa8, 0x41, 0x4c, 0x65, 0xbb, 0xa8, - 0xff, 0x4a, 0xb7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xf6, 0xaf, 0x75, 0x4c, 0x05, 0x00, - 0x00, + // 557 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcf, 0x6e, 0xd3, 0x30, + 0x18, 0x6f, 0xda, 0x52, 0x34, 0x73, 0xd9, 0xcc, 0x0e, 0x55, 0x34, 0xb2, 0x2a, 0x87, 0xad, 0x02, + 0x16, 0xd3, 0xee, 0xc2, 0x75, 0x1d, 0x30, 0x4d, 0xe3, 0x4f, 0xc9, 0x91, 0x4b, 0xe5, 0x36, 0x96, + 0xb1, 0x68, 0xed, 0x2c, 0x76, 0x11, 0xa5, 0xf4, 0xc2, 0x13, 0x20, 0xf1, 0x1e, 0xf0, 0x12, 0x1c, + 0x76, 0x9c, 0xc4, 0x85, 0x13, 0x42, 0x2d, 0xaf, 0x81, 0x84, 0x62, 0xbb, 0x6a, 0x43, 0x5a, 0x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x27, 0x5d, 0x77, 0xa7, 0x3b, 0xea, 0xd8, + 0xbc, 0xd0, 0xd8, 0x16, 0x13, 0x34, 0xce, 0xbd, 0xc9, 0x09, 0xfc, 0xea, 0x80, 0xad, 0xdc, 0x5e, + 0xe0, 0x7f, 0x5d, 0xad, 0x5c, 0xbb, 0xdb, 0xbc, 0x0e, 0xc4, 0xde, 0xe4, 0x50, 0xdf, 0xe4, 0x00, + 0xde, 0x5b, 0x7d, 0x13, 0x3e, 0x47, 0x75, 0xcc, 0xd9, 0xb8, 0xc7, 0xa2, 0x49, 0xeb, 0xec, 0x62, + 0xea, 0x39, 0x97, 0x53, 0xcf, 0xf9, 0x35, 0xf5, 0x9c, 0x4f, 0x33, 0xaf, 0x70, 0x39, 0xf3, 0x0a, + 0x3f, 0x66, 0x5e, 0xe1, 0x55, 0x83, 0x32, 0xf5, 0x7a, 0xd8, 0x0d, 0x7a, 0x62, 0xb0, 0x4c, 0xb8, + 0x28, 0x0f, 0xa8, 0x40, 0xef, 0xac, 0x80, 0x1a, 0xc5, 0x44, 0x76, 0x2b, 0xfa, 0x57, 0x73, 0xf8, + 0x37, 0x00, 0x00, 0xff, 0xff, 0x18, 0x24, 0x55, 0x75, 0x21, 0x05, 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 9b5fca5..8a462fb 100644 --- a/x/asset/types/query.pb.gw.go +++ b/x/asset/types/query.pb.gw.go @@ -379,11 +379,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, 2, 3}, []string{"planetmint", "planetmint-go", "asset", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "asset", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetCIDsByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"planetmint", "planetmint-go", "asset", "get_cids_by_address", "address", "lookupPeriodInMin"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetCIDsByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "asset", "get_cids_by_address", "address", "lookupPeriodInMin"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetNotarizedAsset_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "planetmint-go", "asset", "get_notarized_asset", "cid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetNotarizedAsset_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "asset", "get_notarized_asset", "cid"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/dao/types/query.pb.go b/x/dao/types/query.pb.go index 2f62b2c..96fa1b0 100644 --- a/x/dao/types/query.pb.go +++ b/x/dao/types/query.pb.go @@ -489,51 +489,50 @@ func init() { func init() { proto.RegisterFile("planetmintgo/dao/query.proto", fileDescriptor_07bad0eeb5b27724) } var fileDescriptor_07bad0eeb5b27724 = []byte{ - // 690 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x4f, 0x4f, 0xd4, 0x4e, - 0x18, 0xc7, 0xb7, 0x84, 0x1f, 0xe4, 0xf7, 0xa0, 0xc6, 0x8c, 0x90, 0xe0, 0x0a, 0x15, 0x46, 0x44, - 0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, 0x98, 0x3f, 0xde, 0x8c, 0xeb, 0xcb, 0x0b, 0x83, 0x89, 0x0d, 0x76, 0x45, 0x61, 0xaf, - 0xa2, 0x67, 0x17, 0xbf, 0x83, 0x9e, 0x2f, 0xc8, 0x41, 0xe2, 0x12, 0x39, 0x44, 0x47, 0x16, 0x5c, - 0x4b, 0xdb, 0x0f, 0x0d, 0x04, 0x71, 0x3e, 0xf1, 0xc5, 0x01, 0xd5, 0x86, 0xf9, 0xb1, 0x62, 0x26, - 0x68, 0xf1, 0x32, 0xcc, 0xa2, 0xf2, 0xea, 0xf8, 0xd4, 0xb6, 0x4e, 0x4e, 0x6d, 0xeb, 0xd7, 0xa9, - 0x6d, 0x7d, 0x3a, 0xb3, 0x4b, 0x27, 0x67, 0x76, 0xe9, 0xc7, 0x99, 0x5d, 0xda, 0x25, 0x9e, 0x2f, - 0x9b, 0x9d, 0x9a, 0x53, 0xe7, 0xad, 0xfc, 0x94, 0xef, 0x54, 0x52, 0xd9, 0x0d, 0x99, 0xa8, 0x8d, - 0xa8, 0xff, 0xca, 0x95, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x28, 0x60, 0x9e, 0x5a, 0x4a, 0x08, - 0x00, 0x00, + // 687 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x4f, 0x13, 0x41, + 0x14, 0xc7, 0xbb, 0x04, 0x6b, 0x7c, 0xa8, 0x31, 0x23, 0x98, 0x5a, 0x61, 0x81, 0x11, 0xc5, 0x28, + 0xec, 0x48, 0x21, 0x6a, 0x8c, 0xc4, 0xd8, 0x83, 0xe0, 0x81, 0x04, 0xf7, 0xc8, 0xa5, 0x99, 0xb6, + 0x93, 0xed, 0x46, 0xba, 0xb3, 0x74, 0xb6, 0xc6, 0x86, 0x70, 0xf1, 0x13, 0x98, 0x98, 0x78, 0xf6, + 0xe0, 0xa7, 0x30, 0xc6,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, 0x92, 0x72, 0x1e, 0xcd, 0xe6, 0x53, 0x8a, 0xea, 0xab, 0xc3, + 0x63, 0xdb, 0x3a, 0x3a, 0xb6, 0xad, 0xdf, 0xc7, 0xb6, 0xf5, 0xe1, 0xc4, 0x2e, 0x1c, 0x9d, 0xd8, + 0x85, 0x9f, 0x27, 0x76, 0x61, 0x87, 0x78, 0x7e, 0xd4, 0xea, 0xd6, 0x9d, 0x06, 0x6f, 0x9b, 0x45, + 0x06, 0xcb, 0x65, 0x8f, 0x93, 0x77, 0xb2, 0x68, 0xd4, 0x0b, 0x99, 0xa8, 0x17, 0xe5, 0x8f, 0xdc, + 0xea, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xde, 0x16, 0xfc, 0x03, 0x08, 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 f1566ad..0e13ba0 100644 --- a/x/dao/types/query.pb.gw.go +++ b/x/dao/types/query.pb.gw.go @@ -515,15 +515,15 @@ 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, 2, 3}, []string{"planetmint", "planetmint-go", "dao", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "dao", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetMintRequestsByHash_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "planetmint-go", "dao", "get_mint_requests_by_hash", "hash"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetMintRequestsByHash_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "get_mint_requests_by_hash", "hash"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_MintRequestsByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "planetmint-go", "dao", "mint_requests_by_address", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_MintRequestsByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "mint_requests_by_address", "address"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetReissuance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "planetmint-go", "dao", "get_reissuance", "blockHeight"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetReissuance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "get_reissuance", "blockHeight"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetReissuances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"planetmint", "planetmint-go", "dao", "get_reissuances"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetReissuances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "dao", "get_reissuances"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( diff --git a/x/machine/types/query.pb.go b/x/machine/types/query.pb.go index 1cbae3c..3d8dfb8 100644 --- a/x/machine/types/query.pb.go +++ b/x/machine/types/query.pb.go @@ -399,45 +399,44 @@ func init() { func init() { proto.RegisterFile("planetmintgo/machine/query.proto", fileDescriptor_bf7841d43d757203) } var fileDescriptor_bf7841d43d757203 = []byte{ - // 593 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6b, 0x13, 0x41, - 0x18, 0xcd, 0x16, 0x4d, 0xed, 0xf4, 0x36, 0x8d, 0x50, 0x96, 0xb8, 0x4d, 0xe7, 0x14, 0x0b, 0x66, - 0x6c, 0x8b, 0x8d, 0x3f, 0x0e, 0x9a, 0x80, 0x04, 0x91, 0x60, 0x1b, 0x3d, 0x29, 0xb2, 0xcc, 0x6e, - 0x86, 0xcd, 0x60, 0xb2, 0xb3, 0xdd, 0x99, 0x2d, 0x2e, 0x21, 0x17, 0xff, 0x01, 0x05, 0x2f, 0xfe, - 0x43, 0x42, 0x8f, 0x05, 0x41, 0x04, 0x41, 0x24, 0xf1, 0x0f, 0x91, 0xcc, 0xce, 0x26, 0x29, 0xd9, - 0xc6, 0x04, 0x4f, 0x99, 0x7c, 0xfb, 0xde, 0xfb, 0xde, 0x9b, 0xfd, 0xbe, 0x05, 0xa5, 0xa0, 0x4b, - 0x7c, 0x2a, 0x7b, 0xcc, 0x97, 0x1e, 0xc7, 0x3d, 0xe2, 0x76, 0x98, 0x4f, 0xf1, 0x69, 0x44, 0xc3, - 0xb8, 0x12, 0x84, 0x5c, 0x72, 0x58, 0x98, 0x45, 0x54, 0x34, 0xc2, 0x2c, 0x78, 0xdc, 0xe3, 0x0a, - 0x80, 0xc7, 0xa7, 0x04, 0x6b, 0x16, 0x3d, 0xce, 0xbd, 0x2e, 0xc5, 0x24, 0x60, 0x98, 0xf8, 0x3e, - 0x97, 0x44, 0x32, 0xee, 0x0b, 0xfd, 0x74, 0xcf, 0xe5, 0xa2, 0xc7, 0x05, 0x76, 0x88, 0xd0, 0x2d, - 0xf0, 0xd9, 0xbe, 0x43, 0x25, 0xd9, 0xc7, 0x01, 0xf1, 0x98, 0xaf, 0xc0, 0x1a, 0xbb, 0x9b, 0xe9, - 0x2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, 0xb4, 0x8c, - 0x4f, 0x23, 0x2b, 0x77, 0x31, 0xb2, 0x72, 0x3f, 0x46, 0x56, 0xee, 0xf5, 0xa1, 0xc7, 0x64, 0x27, - 0x72, 0x2a, 0x2e, 0xef, 0x5d, 0x7d, 0x65, 0xef, 0x27, 0x9d, 0x64, 0x1c, 0x50, 0xe1, 0xe4, 0xd5, - 0xc7, 0xfb, 0xf0, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x46, 0xcf, 0xd8, 0xf3, 0x9d, 0x06, 0x00, - 0x00, + // 590 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x41, 0x6f, 0x12, 0x41, + 0x18, 0x65, 0x1b, 0x4b, 0xed, 0xf4, 0x36, 0xc5, 0x84, 0x6c, 0x70, 0x4b, 0xe7, 0x84, 0x26, 0x32, + 0x69, 0xab, 0x60, 0xad, 0x89, 0xc2, 0xc5, 0x83, 0x69, 0xd2, 0xa2, 0x27, 0x8d, 0xd9, 0xcc, 0x2e, + 0x93, 0x65, 0x23, 0xec, 0x6c, 0x77, 0x66, 0x1b, 0x37, 0x84, 0x83, 0xfe, 0x02, 0x13, 0xff, 0x91, + 0x27, 0x2e, 0x26, 0x4d, 0xbc, 0x78, 0x32, 0x06, 0xbc, 0xf9, 0x27, 0x0c, 0xb3, 0xb3, 0x40, 0x65, + 0x4a, 0x20, 0x9e, 0x18, 0x3e, 0xde, 0x7b, 0xdf, 0x7b, 0xc3, 0xdb, 0x05, 0xe5, 0xb0, 0x4b, 0x02, + 0x2a, 0x7a, 0x7e, 0x20, 0x3c, 0x86, 0x7b, 0xc4, 0xed, 0xf8, 0x01, 0xc5, 0x17, 0x31, 0x8d, 0x92, + 0x6a, 0x18, 0x31, 0xc1, 0x60, 0x61, 0x1e, 0x51, 0x55, 0x08, 0xb3, 0xe0, 0x31, 0x8f, 0x49, 0x00, + 0x9e, 0x9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, 0x60, 0x57, + 0xd3, 0x40, 0xf8, 0x68, 0xc5, 0xfb, 0xbd, 0x5e, 0x77, 0xb3, 0xb6, 0x2e, 0x4d, 0xe5, 0x78, 0x2a, + 0x73, 0xd4, 0xe0, 0xc3, 0x15, 0xfe, 0x14, 0xf5, 0x00, 0xe1, 0xbe, 0x3a, 0x0c, 0x9a, 0xa7, 0xc3, + 0x91, 0x65, 0x5c, 0x8d, 0x2c, 0xe3, 0xd7, 0xc8, 0x32, 0x3e, 0x8f, 0xad, 0xdc, 0xd5, 0xd8, 0xca, + 0xfd, 0x18, 0x5b, 0xb9, 0x37, 0x47, 0x9e, 0x2f, 0x3a, 0xb1, 0x53, 0x75, 0x59, 0x6f, 0x5e, 0x79, + 0x76, 0x7c, 0xe0, 0x31, 0xfc, 0x61, 0xba, 0x49, 0x24, 0x21, 0xe5, 0x4e, 0x5e, 0xbe, 0x8f, 0x8f, + 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x5d, 0x60, 0x9f, 0x70, 0x06, 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 2f128fc..abf6b4e 100644 --- a/x/machine/types/query.pb.gw.go +++ b/x/machine/types/query.pb.gw.go @@ -436,13 +436,13 @@ 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, 2, 3}, []string{"planetmint", "planetmint-go", "machine", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "machine", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetMachineByPublicKey_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "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, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "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, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "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, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "get_trust_anchor_status", "machineid"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetMachineByAddress_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_address", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetMachineByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "get_machine_by_address", "address"}, "", runtime.AssumeColonVerbOpt(true))) ) var (