Skip to content

FCR: thread balances through active validator iteration#99

Merged
dapplion merged 1 commit into
fcrfrom
lh-codex-fcr-balance-comments
Jul 1, 2026
Merged

FCR: thread balances through active validator iteration#99
dapplion merged 1 commit into
fcrfrom
lh-codex-fcr-balance-comments

Conversation

@dapplion

@dapplion dapplion commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • return validator index and balance from unslashed_and_active_indices
  • use the paired balance in get_block_support_between_slots and get_current_target_score
  • keep the current-target epoch filter as vote_epoch == target.epoch

Testing

  • cargo check -p fast_confirmation
  • pre-push make lint hook

@dapplion dapplion merged commit 8885968 into fcr Jul 1, 2026
31 of 32 checks passed
@dapplion dapplion deleted the lh-codex-fcr-balance-comments branch July 1, 2026 23:19
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