Commit c24cdcc
committed
feat(grpc): add earliest/latest block height to GetSyncing response
Extend the GetSyncingResponse in cosmos.base.tendermint.v1beta1.Service
to include earliest_block_height and latest_block_height fields.
This enables gRPC clients (like indexers) to discover block availability
without needing to query the CometBFT RPC separately. The fields expose
the same information as the /status RPC endpoint's sync_info.
Changes:
- Add earliest_block_height field to GetSyncingResponse proto
- Add latest_block_height field to GetSyncingResponse proto
- Update service implementation to populate new fields from SyncInfo1 parent 18e85de commit c24cdcc
File tree
3 files changed
+25
-1
lines changed- client/grpc/cmtservice
- proto/cosmos/base/tendermint/v1beta1
3 files changed
+25
-1
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
0 commit comments