Skip to content

🤖 Cover epoch minus two in FCR assignments#104

Open
dapplion wants to merge 1 commit into
fcrfrom
codex/fcr-epoch-minus-two
Open

🤖 Cover epoch minus two in FCR assignments#104
dapplion wants to merge 1 commit into
fcrfrom
codex/fcr-epoch-minus-two

Conversation

@dapplion

@dapplion dapplion commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Links audit/review artifact: #100

Implements FCR-05 from the audit:

  • Extends SlotAssignments coverage to include current_epoch - 2 for reconfirmation empty-slot discount paths.
  • Uses a detached historical committee cache for the extra epoch without mutating the normal previous/current/next state caches.
  • Adds a regression test for epoch-minus-two range coverage.

Validation run locally:

  • cargo fmt --package fast_confirmation --package beacon_chain
  • cargo test -p fast_confirmation --lib
  • cargo check -p beacon_chain
  • git diff --check

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.

1 participant