Skip to content

Commit

Permalink
Updated docs for messages
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyanaAndrukhiv committed Feb 28, 2024
1 parent fe36ffa commit 1cfc3ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
13 changes: 4 additions & 9 deletions protobuf/flow/access/access.proto
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ message ExecutionResultByIDResponse {
message StartBlock {
// Only one of block_id and block_height may be provided,
// otherwise the last set value as determined by the order in the proto will overwrite all previous ones.
// If neither are provided, the latest sealed block is used.
oneof start_block {
// Block ID of the first block to subscribe.
bytes block_id = 1;
Expand All @@ -465,9 +466,7 @@ message StartBlock {

// The request for SubscribeBlocks
message SubscribeBlocksRequest {
// Only one of block_id and block_height may be provided,
// otherwise the last set value as determined by the order in the proto will overwrite all previous ones.
// If neither are provided, the latest sealed block is used.
// The first block to subscribe.
StartBlock start_block = 1;

// Required block status of the block payload.
Expand All @@ -489,9 +488,7 @@ message SubscribeBlocksResponse {

// The request for SubscribeBlockHeaders
message SubscribeBlockHeadersRequest {
// Only one of block_id and block_height may be provided,
// otherwise the last set value as determined by the order in the proto will overwrite all previous ones.
// If neither are provided, the latest sealed block header is used.
// The first block header to subscribe.
StartBlock start_block_header = 1;

// Required block status of the block payload.
Expand All @@ -510,9 +507,7 @@ message SubscribeBlockHeadersResponse {

// The request for SubscribeBlockDigests
message SubscribeBlockDigestsRequest {
// Only one of block_id and block_height may be provided,
// otherwise the last set value as determined by the order in the proto will overwrite all previous ones.
// If neither are provided, the latest sealed lightweight block is used.
// The first block to subscribe.
StartBlock start_block = 1;

// Required block status of the block payload.
Expand Down
13 changes: 4 additions & 9 deletions protobuf/go/flow/access/access.pb.go

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

0 comments on commit 1cfc3ad

Please sign in to comment.