Skip to content

Conversation

@StephenButtolph
Copy link
Contributor

Why this should be merged

This is a continuation of our switch to proto. All nodes in the network (after v1.10 activates) will ignore the most significant bit in the message length, so we can remove the explicit setting of it. We still need to ignore the most significant bit until everyone in the network no longer sets it (adopts this update) which will only be guaranteed after the following network upgrade (v1.11).

How this works

Stops setting the MSB in the message length.

How this was tested

CI

@StephenButtolph StephenButtolph self-assigned this Apr 13, 2023
@StephenButtolph StephenButtolph added the DO NOT MERGE This PR must not be merged in its current state label Apr 13, 2023
@StephenButtolph StephenButtolph marked this pull request as draft April 13, 2023 18:53
@StephenButtolph
Copy link
Contributor Author

This must not be merged until after Cortina activates.

@StephenButtolph StephenButtolph marked this pull request as ready for review April 13, 2023 19:00
@StephenButtolph StephenButtolph added cleanup Code quality improvement networking This involves networking labels Apr 13, 2023
@StephenButtolph StephenButtolph removed the DO NOT MERGE This PR must not be merged in its current state label Apr 25, 2023
Copy link
Contributor

@gyuho gyuho left a comment

Choose a reason for hiding this comment

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

🔥

@StephenButtolph StephenButtolph merged commit 8095dba into dev Apr 25, 2023
@StephenButtolph StephenButtolph deleted the remove-bit-write-msg-len branch April 25, 2023 16:33
maru-ava pushed a commit to maru-ava/avalanchego that referenced this pull request Nov 4, 2025
Co-authored-by: Austin Larson <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code quality improvement networking This involves networking

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants