feat: add tiered attestation scoring#1440
Merged
shariqnaiyer merged 6 commits intoJul 5, 2026
Merged
Conversation
Collaborator
|
Please make this modular as per |
Collaborator
|
I will leave the architecture of how you want to select the strategy up to your judgement |
Collaborator
Author
|
great, thanks. Will follow the modular 👍 |
perfogic
force-pushed
the
feat/tiered-attestation-scoring
branch
2 times, most recently
from
June 18, 2026 01:37
4bb9c0b to
965131d
Compare
perfogic
marked this pull request as ready for review
June 18, 2026 03:11
perfogic
requested review from
Kayden-ML,
KolbyML and
shariqnaiyer
as code owners
June 18, 2026 03:11
Collaborator
|
@perfogic please rebase |
perfogic
force-pushed
the
feat/tiered-attestation-scoring
branch
from
June 24, 2026 14:34
7183d93 to
872965a
Compare
perfogic
force-pushed
the
feat/tiered-attestation-scoring
branch
from
June 25, 2026 10:33
afea767 to
17f9a3d
Compare
Kayden-ML
approved these changes
Jul 5, 2026
Collaborator
Author
|
@Kayden-ML Thanks for reviewing, i ran |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was wrong?
Closes #1437. Ream only had the round-based block builder. leanSpec #1149 adds a tiered selection strategy that prioritizes attestations by
Finalize>Justify>Build.What has been done
--block-production <round-based|tiered>flag (defaultround-based) to pick the strategy at runtime.What need to know
build_blockdispatches on the strategy; seeselect_tieredandseal_block.aggregated_payloadsas global state.on_blockstores proofs by(validator_id, data_root), soselect_tieredrebuilds the proof pool before scoring.select_proofs_for_coverage; proof selection/compaction are delegated toselect_aggregated_proofs+compact_aggregated_proofs. Because of that,select_tieredemits the full proof union while scoring/projection use onlynew_voters.To-Do