Move proposal/VID-share pairing into Consensus.#4698
Conversation
The coordinator used to join validated proposals with this node's VID share in ad-hoc caches and only hand the completed pair to consensus. Consensus now receives the halves as separate inputs (`Proposal`, `VidShare`), parks the first arrival keyed by (view, payload commitment), and processes the pair when it completes. The coordinator effects formerly performed at pairing time, i.e. persisting the proposal, VID share and state cert, and seeding the VID reconstructor, are driven by a new `ProposalPaired` output. Behavior is unchanged: `ProposalPaired` is emitted before the safety and DRB checks, matching the previous persist-before-checks order, and the parked halves are dropped on pairing and on local view GC exactly as the old caches were.
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. |
|
Claude finished @twittner's task in 3m 12s —— View job Code Review: Move proposal/VID-share pairing into
|
The coordinator used to join validated proposals with this node's VID share in ad-hoc caches and only hand the completed pair to consensus.
Consensusnow receives the halves as separate inputs (Proposal,VidShare), parks the first arrival keyed by (view, payload commitment), and processes the pair when it completes. The coordinator effects formerly performed at pairing time, i.e. persisting the proposal,VID share and state cert, and seeding the VID reconstructor, are driven by a new
ProposalPairedoutput.Behaviour is unchanged:
ProposalPairedis emitted before the safety and DRB checks, matching the previous persist-before-checks order, and the parked halves are dropped on pairing and on local view GC exactly as the old caches were.