Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix proto package and path #2524

Merged
merged 1 commit into from
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
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
49 changes: 0 additions & 49 deletions third_party/proto/cosmos_proto/pagination.proto

This file was deleted.