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

feat: implement ABCI Query via gRPC #11642

Merged
merged 38 commits into from
Apr 25, 2022
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4c00b1f
updates
alexanderbez Apr 14, 2022
5f7dffb
updates
alexanderbez Apr 14, 2022
0f4e432
proto gen
alexanderbez Apr 15, 2022
1009f37
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 15, 2022
d145f20
updates
alexanderbez Apr 16, 2022
68aef98
updates
alexanderbez Apr 16, 2022
b1f80e3
updates
alexanderbez Apr 17, 2022
d5ee2bc
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 17, 2022
3958fd6
cl++
alexanderbez Apr 17, 2022
a6d242e
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 18, 2022
06f23f6
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 18, 2022
a551ca5
Update proto/cosmos/base/tendermint/v1beta1/query.proto
alexanderbez Apr 19, 2022
fdae2b8
cl++
alexanderbez Apr 19, 2022
3519291
updates
alexanderbez Apr 19, 2022
614ca7d
Merge branch 'bez/grpc-abci-query' of github.com:cosmos/cosmos-sdk in…
alexanderbez Apr 19, 2022
2ac3255
updates
alexanderbez Apr 19, 2022
dc2d795
Update client/grpc/tmservice/service_test.go
alexanderbez Apr 19, 2022
3d2e72f
Update client/grpc/tmservice/service_test.go
alexanderbez Apr 19, 2022
d9944c7
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 19, 2022
d653cf3
updates
alexanderbez Apr 19, 2022
8902935
Merge branch 'bez/grpc-abci-query' of github.com:cosmos/cosmos-sdk in…
alexanderbez Apr 19, 2022
ab61f4f
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 19, 2022
e50155a
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 19, 2022
dc4bc1a
updates
alexanderbez Apr 19, 2022
cbe8f23
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 19, 2022
2f0b84b
updates
alexanderbez Apr 20, 2022
0d4664b
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 20, 2022
60ea824
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 20, 2022
aee4a16
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 21, 2022
19a1a68
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 21, 2022
9f36a46
Merge branch 'master' into bez/grpc-abci-query
alexanderbez Apr 21, 2022
11f9bf9
updates
alexanderbez Apr 22, 2022
22c3d68
updates
alexanderbez Apr 22, 2022
b8fb75a
Merge branch 'main' into bez/grpc-abci-query
alexanderbez Apr 25, 2022
e0176f6
Merge branch 'main' into bez/grpc-abci-query
alexanderbez Apr 25, 2022
0b86641
Merge branch 'main' into bez/grpc-abci-query
alexanderbez Apr 25, 2022
a851151
updates
alexanderbez Apr 25, 2022
f5a5508
Merge branch 'main' into bez/grpc-abci-query
alexanderbez Apr 25, 2022
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
updates
  • Loading branch information
alexanderbez committed Apr 19, 2022
commit 3519291a82b7f1f19342081f65a607491baab450
7 changes: 7 additions & 0 deletions proto/cosmos/base/tendermint/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,17 @@ service Service {
rpc GetNodeInfo(GetNodeInfoRequest) returns (GetNodeInfoResponse) {
option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/node_info";
}

// GetSyncing queries node syncing.
rpc GetSyncing(GetSyncingRequest) returns (GetSyncingResponse) {
option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/syncing";
}

// GetLatestBlock returns the latest block.
rpc GetLatestBlock(GetLatestBlockRequest) returns (GetLatestBlockResponse) {
option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/latest";
}

// GetBlockByHeight queries block for given height.
rpc GetBlockByHeight(GetBlockByHeightRequest) returns (GetBlockByHeightResponse) {
option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/{height}";
Expand All @@ -35,11 +38,15 @@ service Service {
rpc GetLatestValidatorSet(GetLatestValidatorSetRequest) returns (GetLatestValidatorSetResponse) {
option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/latest";
}

// GetValidatorSetByHeight queries validator-set at a given height.
rpc GetValidatorSetByHeight(GetValidatorSetByHeightRequest) returns (GetValidatorSetByHeightResponse) {
option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/{height}";
}

// ABCIQuery defines a query that proxies an ABCI query request to Tendermint.
alexanderbez marked this conversation as resolved.
Show resolved Hide resolved
//
// Since: cosmos-sdk 0.46
rpc ABCIQuery(ABCIQueryRequest) returns (ABCIQueryResponse) {
option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/abci_query";
}
Expand Down