Skip to content

votor: replace votor messages with receive and serde fixtures - #139

Open
nishk-jump wants to merge 1 commit into
mainfrom
votor-vote-serde
Open

nishk-jump wants to merge 1 commit into
mainfrom
votor-vote-serde

Conversation

@nishk-jump

@nishk-jump nishk-jump commented Oct 12, 2026 •

Copy link
Copy Markdown

Replace the votor messages with receive, vote serialize and cert serialize fixtures.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 16:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Removed protobuf field names and numbers should be reserved to prevent future wire-format collisions.

1 open finding
What changed in this PR

Replaces the legacy Votor consensus fixtures with vote serialization and deserialization fixtures.

Changes:

  • Defines vote serde inputs, outputs, and wire variants.
  • Adds Nanopb size constraints.
  • Regenerates Rust protobuf bindings.
File Description
proto/​votor.proto Defines the new Votor vote serde fixtures.
proto/​votor.options Configures fixed and maximum field sizes.
src/​generated/​org.solana.sealevel.v1.rs Updates generated Rust bindings.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread proto/votor.proto Outdated
bytes block_hash = 2;
uint64 signer = 3;
/* Exactly 32 bytes */
bytes block_id = 2;

@nishk-jump nishk-jump Oct 13, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I think the clankers just yapping, no harness ever used them, and no fixtures exist for them.

@nishk-jump nishk-jump changed the title votor: replace votor messages with vote serde fixtures votor: replace votor messages with receive and serde fixtures Oct 13, 2026
@nishk-jump nishk-jump changed the title votor: replace votor messages with receive and serde fixtures [WIP] votor: replace votor messages with receive and serde fixtures Oct 13, 2026
@nishk-jump
nishk-jump force-pushed the votor-vote-serde branch 3 times, most recently from 71e0543 to 598faf7 Compare October 13, 2026 19:23
@nishk-jump nishk-jump changed the title [WIP] votor: replace votor messages with receive and serde fixtures votor: replace votor messages with receive and serde fixtures Oct 13, 2026
@nishk-jump
nishk-jump force-pushed the votor-vote-serde branch 3 times, most recently from 305f87f to cec1938 Compare October 13, 2026 22:23
@nishk-jump nishk-jump changed the title votor: replace votor messages with receive and serde fixtures votor: replace votor messages with receive fixtures Oct 13, 2026
@nishk-jump nishk-jump changed the title votor: replace votor messages with receive fixtures votor: replace votor messages with receive and serde fixtures Oct 13, 2026
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.

2 participants