Skip to content

Commit

Permalink
Merge pull request #1520 from AndriiDiachuk/endpoints-msg-index-doc-fix
Browse files Browse the repository at this point in the history
[Access] Change SendAndSubscribe endpoint's MessageIndex to start at 0
  • Loading branch information
peterargue authored Nov 6, 2024
2 parents ecc6863 + a0165af commit 46197f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protobuf/flow/executiondata/executiondata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ message SubscribeEventsResponse {
// Timestamp from the block containing the events.
google.protobuf.Timestamp block_timestamp = 4;

// The message index of the response message. Used by the client to ensure they received all messages. Starts from "1".
// The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
uint64 message_index = 5;
}

Expand Down Expand Up @@ -618,7 +618,7 @@ message SubscribeAccountStatusesResponse {
// Block height of the block containing the events.
uint64 block_height = 2;

// The message index of the response message. Used by the client to ensure they received all messages. Starts from "1".
// The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
uint64 message_index = 3;

message Result {
Expand Down

0 comments on commit 46197f5

Please sign in to comment.