Skip to content

Commit

Permalink
fix proto package and path (#2524)
Browse files Browse the repository at this point in the history
  • Loading branch information
SegueII authored Jan 26, 2021
1 parent 9bef4ef commit e82b9c3
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 150 deletions.
5 changes: 1 addition & 4 deletions modules/guardian/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions modules/guardian/types/guardian.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 26 additions & 30 deletions modules/guardian/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 4 additions & 16 deletions modules/guardian/types/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions modules/mint/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions modules/mint/types/mint.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 24 additions & 29 deletions modules/mint/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions proto/guardian/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package irishub.guardian;
import "gogoproto/gogo.proto";
import "guardian/guardian.proto";
import "google/api/annotations.proto";
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";

option go_package = "github.com/irisnet/irishub/modules/guardian/types";

Expand All @@ -19,12 +19,12 @@ service Query {
// QuerySupersRequest is request type for the Query/Supers RPC method
message QuerySupersRequest {
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 1;
cosmos.base.query.v1beta1.PageRequest pagination = 1;
}

// QuerySupersResponse is response type for the Query/Supers RPC method
message QuerySupersResponse {
repeated Super supers = 1 [(gogoproto.nullable) = false];

cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
4 changes: 2 additions & 2 deletions proto/mint/query.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package irishub.mint;

import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "mint/mint.proto";
import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
Expand All @@ -24,5 +24,5 @@ message QueryParamsRequest {
message QueryParamsResponse {
Params params = 1 [ (gogoproto.nullable) = false ];

cosmos.query.PageResponse res = 2;
cosmos.base.query.v1beta1.PageResponse res = 2;
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.query;
package cosmos.base.query.v1beta1;

option go_package = "github.com/cosmos/cosmos-sdk/types/query";

Expand Down
File renamed without changes.
49 changes: 0 additions & 49 deletions third_party/proto/cosmos_proto/pagination.proto

This file was deleted.

0 comments on commit e82b9c3

Please sign in to comment.