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 ccf indicator flag to grpc #1343

Merged
merged 2 commits into from
Jun 1, 2023
Merged

Add ccf indicator flag to grpc #1343

merged 2 commits into from
Jun 1, 2023

Conversation

koko1123
Copy link
Contributor

@koko1123 koko1123 commented May 26, 2023

Creates flag for ccf endcoding

remaining changes are from make format

fixes #2283

@@ -105,6 +105,7 @@ message GetEventsForBlockIDsResponse {
repeated entities.Event events = 3;
}
repeated Result results = 1;
bool is_ccf = 2;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to instead use a more generic: eventEncodingVersion

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great suggestion Janez! 👍

It would be helpful if eventEncodingVersion identifies the combination of encoding format + format version. E.g. if it's an enum then members like:

  • JSON_CDC_V0
  • ...
  • CCF_V0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@@ -14,7 +14,8 @@ message BlockHeader {
google.protobuf.Timestamp timestamp = 4;
bytes payload_hash = 5;
uint64 view = 6;
repeated bytes parent_voter_ids = 7; // deprecated!! value will be empty. replaced by parent_vote_indices
repeated bytes parent_voter_ids =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is some really weird formatting. Is this ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is auto from make format, I'll undo this for pragmatism

@koko1123
Copy link
Contributor Author

koko1123 commented Jun 1, 2023

bors merge

@koko1123 koko1123 merged commit 7c81c74 into master Jun 1, 2023
@koko1123 koko1123 deleted the amlandeep/add-flag-for-ccf branch June 1, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants