Skip to content

fix: validate BABE cut-and-choose inputs - #478

Merged
eigmax merged 1 commit into
GOATNetwork:devfrom
VanhGer:fix/circuit-count
Oct 27, 2026
Merged

eigmax merged 1 commit into
GOATNetwork:devfrom
VanhGer:fix/circuit-count

Conversation

@VanhGer

@VanhGer VanhGer commented Oct 27, 2026

Copy link
Copy Markdown
Contributor
  • Verifier ignores CutCircuits unless it selects exactly BABE_M_CC circuits. Previously any non-empty selection went through the expensive opening and soldering, was saved, and then blocked a corrected CutCircuits, leaving the verifier's slot unusable.
  • Check the challenge witness label count before slicing it in recover_a_valid_finalized_messages, so malformed input returns an error instead of panicking.
  • Fix the derive_finalized_indices doc comment: the selection is random, not Fiat-Shamir.

@eigmax
eigmax merged commit 9d45e2d into GOATNetwork:dev Oct 27, 2026
4 checks passed
@VanhGer
VanhGer deleted the fix/circuit-count branch October 27, 2026 03:11
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