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

Add Grpc gateway annotations #6918

Merged
merged 101 commits into from
Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
9a943bb
grpc for bank module
atheeshp Aug 2, 2020
52465d3
edit module.go
atheeshp Aug 2, 2020
84735ee
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 2, 2020
4da61f0
added annotations for x/auth query proto
atheeshp Aug 2, 2020
dd41bf4
generated gw file
atheeshp Aug 2, 2020
3264244
added grpc gateway for x/staking query proto
atheeshp Aug 2, 2020
50a582c
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 3, 2020
304725d
added annotations for evidence
atheeshp Aug 3, 2020
0019542
added annotations for gov query proto
atheeshp Aug 3, 2020
c198157
added annotations
atheeshp Aug 3, 2020
e95f786
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 3, 2020
4e6efef
added annotations for slashing module
atheeshp Aug 3, 2020
fe8861d
updated annotations
atheeshp Aug 3, 2020
8c8e775
added annotations for staking module
atheeshp Aug 3, 2020
1fe80df
added annotations for upgrade query
atheeshp Aug 3, 2020
94d0554
annotations added for x/ibc/channel query proto
atheeshp Aug 3, 2020
ad64f11
added annotations for ibc/connection query proto
atheeshp Aug 3, 2020
6e54f0b
updated annotations
atheeshp Aug 3, 2020
4093561
updated annotations
atheeshp Aug 3, 2020
c312b28
annotation changes
atheeshp Aug 3, 2020
ce21f9f
ommitted ibc module
atheeshp Aug 3, 2020
5fdce6e
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 3, 2020
77563b2
updated go.mod
atheeshp Aug 3, 2020
4c1c261
fixed lint issue
atheeshp Aug 3, 2020
2599d09
review changes
atheeshp Aug 3, 2020
8f17e57
review changes
atheeshp Aug 3, 2020
48398ce
review changes
atheeshp Aug 4, 2020
19abdd3
review changes
atheeshp Aug 4, 2020
125f3b8
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 4, 2020
113d3be
go sum changes
atheeshp Aug 4, 2020
03620b4
updated annotations
atheeshp Aug 4, 2020
a52869f
annotation changes
atheeshp Aug 4, 2020
e291450
Merge branch 'master' into atheesh/5921-grpc-gateway
atheeshp Aug 4, 2020
2fc5628
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 4, 2020
bc4cd94
Merge branch 'atheesh/5921-grpc-gateway' of github.com:cosmos/cosmos-…
atheeshp Aug 4, 2020
1513c4b
Merge branch 'master' into atheesh/5921-grpc-gateway
sahith-narahari Aug 4, 2020
e490f26
Merge branch 'master' into atheesh/5921-grpc-gateway
atheeshp Aug 5, 2020
324d1c2
Fix proto lint issues
anilcse Aug 5, 2020
2581419
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 6, 2020
9bac410
review changes
atheeshp Aug 6, 2020
5e9fbc6
Merge branch 'atheesh/5921-grpc-gateway' of github.com:cosmos/cosmos-…
atheeshp Aug 6, 2020
3510d26
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 6, 2020
0834305
review changes
atheeshp Aug 6, 2020
ab817d5
Merge branch 'master' into atheesh/5921-grpc-gateway
atheeshp Aug 7, 2020
2a98fd2
review changes
atheeshp Aug 7, 2020
d3b50bf
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 7, 2020
02939dd
Merge branch 'atheesh/5921-grpc-gateway' of github.com:cosmos/cosmos-…
atheeshp Aug 7, 2020
e0bb1b4
Merge branch 'master' into atheesh/5921-grpc-gateway
atheeshp Aug 9, 2020
f213e41
Merge branch 'atheesh/5921-grpc-gateway' of github.com:cosmos/cosmos-…
atheeshp Aug 10, 2020
b3d0732
discussion changes
atheeshp Aug 10, 2020
059d8c7
review changes
atheeshp Aug 10, 2020
bb499d5
grpc for bank module
atheeshp Aug 2, 2020
3922b15
edit module.go
atheeshp Aug 2, 2020
41c731c
added annotations for x/auth query proto
atheeshp Aug 2, 2020
41a6044
generated gw file
atheeshp Aug 2, 2020
25f0009
added grpc gateway for x/staking query proto
atheeshp Aug 2, 2020
05bf4df
added annotations for evidence
atheeshp Aug 3, 2020
60e367a
added annotations for gov query proto
atheeshp Aug 3, 2020
4ed79e8
added annotations
atheeshp Aug 3, 2020
bcd82c3
added annotations for slashing module
atheeshp Aug 3, 2020
5c8e539
updated annotations
atheeshp Aug 3, 2020
baf8832
added annotations for staking module
atheeshp Aug 3, 2020
c576dbc
added annotations for upgrade query
atheeshp Aug 3, 2020
616df4b
annotations added for x/ibc/channel query proto
atheeshp Aug 3, 2020
51ded63
added annotations for ibc/connection query proto
atheeshp Aug 3, 2020
bfc8e89
updated annotations
atheeshp Aug 3, 2020
10b6495
updated annotations
atheeshp Aug 3, 2020
2ba6755
annotation changes
atheeshp Aug 3, 2020
4a9cec7
ommitted ibc module
atheeshp Aug 3, 2020
4515b54
updated go.mod
atheeshp Aug 3, 2020
5348be2
fixed lint issue
atheeshp Aug 3, 2020
da15459
review changes
atheeshp Aug 3, 2020
4b808eb
review changes
atheeshp Aug 3, 2020
98a0875
review changes
atheeshp Aug 4, 2020
adec92e
review changes
atheeshp Aug 4, 2020
2e2a86c
go sum changes
atheeshp Aug 4, 2020
c1eedf8
updated annotations
atheeshp Aug 4, 2020
324e271
annotation changes
atheeshp Aug 4, 2020
a856b65
Fix proto lint issues
anilcse Aug 5, 2020
df85474
review changes
atheeshp Aug 6, 2020
e32ae7c
review changes
atheeshp Aug 6, 2020
9946434
review changes
atheeshp Aug 7, 2020
031b8a6
discussion changes
atheeshp Aug 10, 2020
7a10390
review changes
atheeshp Aug 10, 2020
eef029c
Merge branch 'atheesh/5921-grpc-gateway' of github.com:cosmos/cosmos-…
atheeshp Aug 10, 2020
f9d68a4
fixed conflicts
atheeshp Aug 10, 2020
cb31884
review changes
atheeshp Aug 10, 2020
2491736
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 11, 2020
8930fb4
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 11, 2020
811c6bf
updated gw files
atheeshp Aug 11, 2020
6284436
lint
atheeshp Aug 11, 2020
52a0a2d
lint
atheeshp Aug 11, 2020
c661334
lint
atheeshp Aug 11, 2020
6d8dfaa
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 12, 2020
83e3965
added missing annotations
atheeshp Aug 12, 2020
f9be33c
review changes
atheeshp Aug 12, 2020
879249e
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 12, 2020
e4d9d9d
review changes
atheeshp Aug 12, 2020
873848b
review changes
atheeshp Aug 12, 2020
25ac9bd
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
atheeshp Aug 14, 2020
aa9f6ad
review changes
atheeshp Aug 14, 2020
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
Prev Previous commit
Next Next commit
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/59…
…21-grpc-gateway
  • Loading branch information
atheeshp committed Aug 11, 2020
commit 2491736a2a4340811069d64e920fb26e42849bf0
2 changes: 1 addition & 1 deletion proto/cosmos/auth/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package cosmos.auth.v1beta1;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "google/api/annotations.proto";
import "cosmos/auth/auth.proto";
import "cosmos/auth/v1beta1/auth.proto";
import "cosmos_proto/cosmos.proto";

option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";
Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/bank/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cosmos.bank.v1beta1;

import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "google/api/annotations.proto";
import "cosmos/base/v1beta1/coin.proto";

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

Expand Down
4 changes: 2 additions & 2 deletions proto/cosmos/distribution/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cosmos.distribution.v1beta1;

import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/distribution/distribution.proto";
import "google/api/annotations.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/distribution/v1beta1/distribution.proto";

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

Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/gov/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cosmos.gov.v1beta1;

import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/gov/gov.proto";
import "google/api/annotations.proto";
import "cosmos/gov/v1beta1/gov.proto";

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

Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/mint/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ syntax = "proto3";
package cosmos.mint.v1beta1;

import "gogoproto/gogo.proto";
import "cosmos/mint/mint.proto";
import "google/api/annotations.proto";
import "cosmos/mint/v1beta1/mint.proto";

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

Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/params/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ syntax = "proto3";
package cosmos.params.v1beta1;

import "gogoproto/gogo.proto";
import "cosmos/params/params.proto";
import "google/api/annotations.proto";
import "cosmos/params/v1beta1/params.proto";

option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal";

Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/slashing/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cosmos.slashing.v1beta1;

import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/slashing/slashing.proto";
import "google/api/annotations.proto";
import "cosmos/slashing/v1beta1/slashing.proto";

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

Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/staking/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cosmos.staking.v1beta1;

import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/staking/staking.proto";
import "google/api/annotations.proto";
import "cosmos/staking/v1beta1/staking.proto";

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

Expand Down
2 changes: 1 addition & 1 deletion proto/cosmos/upgrade/v1beta1/query.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = "proto3";
package cosmos.upgrade.v1beta1;

import "cosmos/upgrade/upgrade.proto";
import "google/api/annotations.proto";
import "cosmos/upgrade/v1beta1/upgrade.proto";

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

Expand Down
14 changes: 9 additions & 5 deletions proto/ibc/channel/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "gogoproto/gogo.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "ibc/channel/channel.proto";
import "google/api/annotations.proto";
import "google/protobuf/any.proto";

option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/04-channel/types";

Expand All @@ -21,17 +22,19 @@ service Query {
option (google.api.http).get = "/cosmos/ibc/channel/v1beta1/channels";
}

// ConnectionChannels queries all the channels associated with a connection end.
// ConnectionChannels queries all the channels associated with a connection
// end.
rpc ConnectionChannels(QueryConnectionChannelsRequest) returns (QueryConnectionChannelsResponse) {
option (google.api.http).get = "/cosmos/ibc/channel/v1beta1/connections/{connection}/channels";
}

// PacketCommitment queries a stored packet commitment hash.
// ChannelClientState queries for the client state for the channel associated
// with the provided channel identifiers.
rpc PacketCommitment(QueryPacketCommitmentRequest) returns (QueryPacketCommitmentResponse) {
option (google.api.http).get = "/cosmos/ibc/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}";
}

// PacketCommitments returns the all the packet commitments hashes associated with a channel.
// PacketCommitment queries a stored packet commitment hash.
rpc PacketCommitments(QueryPacketCommitmentsRequest) returns (QueryPacketCommitmentsResponse) {
option (google.api.http).get = "/cosmos/ibc/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_commitments";
}
Expand All @@ -41,12 +44,13 @@ service Query {
option (google.api.http).get = "/cosmos/ibc/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}";
}

// UnrelayedPackets returns all the unrelayed IBC packets associated with a channel and sequences.
// UnrelayedPackets returns all the unrelayed IBC packets associated with a
// channel and sequences.
rpc UnrelayedPackets(QueryUnrelayedPacketsRequest) returns (QueryUnrelayedPacketsResponse) {
option (google.api.http).get = "/cosmos/ibc/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/packet_acks/{acknowledgements}/unrelayed_packets";
}

// NextSequenceReceive returns the next receive sequence for a given channel
// NextSequenceReceive returns the next receive sequence for a given channel.
rpc NextSequenceReceive(QueryNextSequenceReceiveRequest) returns (QueryNextSequenceReceiveResponse) {
option (google.api.http).get = "/cosmos/ibc/channel/v1beta1/channels/{channel_id}/ports/{port_id}/next_sequence";
}
Expand Down
55 changes: 26 additions & 29 deletions x/auth/types/query.pb.go

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

76 changes: 36 additions & 40 deletions x/bank/types/query.pb.go

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

Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.