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

IF: switch variant index of new get_blocks_request_v1 #2381

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

spoonincode
Copy link
Member

@spoonincode spoonincode commented Apr 4, 2024

The order of message types in the state_request variant is part of the binary protocol. I suggest we add the new get_blocks_request_v1 to the end. Otherwise, unmodified ship clients that both use get_blocks_ack_request_v0 and do not consume the ABI from the websocket endpoint (I believe abieos or eos-go based readers) will misbehave.

@heifner heifner changed the title switch variant index of new get_blocks_request_v1 IF :switch variant index of new get_blocks_request_v1 Apr 4, 2024
@heifner heifner changed the title IF :switch variant index of new get_blocks_request_v1 IF: switch variant index of new get_blocks_request_v1 Apr 4, 2024
Copy link
Member

@linh2931 linh2931 left a comment

Choose a reason for hiding this comment

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

Thanks for catching this.

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