AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
113 stars 69 forks source link

IF: switch variant index of new `get_blocks_request_v1` #2381

Closed spoonincode closed 2 months ago

spoonincode commented 2 months ago

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.