Skip to content

ClaimQueueState cosmetics#10334

Merged
tdimitrov merged 6 commits intoparitytech:alindima/collator-protocol-revamp-collation-managerfrom
serban300:alindima-collation-manager-improvements
Nov 19, 2025
Merged

ClaimQueueState cosmetics#10334
tdimitrov merged 6 commits intoparitytech:alindima/collator-protocol-revamp-collation-managerfrom
serban300:alindima-collation-manager-improvements

Conversation

@serban300
Copy link
Copy Markdown
Contributor

Only some cosmetics and deduplications

@serban300 serban300 self-assigned this Nov 17, 2025
Copy link
Copy Markdown
Contributor

@sandreim sandreim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Handsome code 👍🏼

Copy link
Copy Markdown
Contributor

@tdimitrov tdimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

}
}

fn clone_or_default(&self, known_candidates: &HashSet<CandidateHash>) -> Self {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!!!

hash: None,
claim: c.claim,
claim_queue_len: 1,
claimed: c.claimed.clone_or_default(&candidates_in_view),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tdimitrov tdimitrov merged commit 7abb6f3 into paritytech:alindima/collator-protocol-revamp-collation-manager Nov 19, 2025
169 of 177 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Feb 4, 2026
Implements the `CollationManager` and the new collator protocol
(validator side) subsystem.

Issues #8182 and
#7752.

These are the big remaining parts which would enable us to test the
entire implementation.

TODO:
- [ ] add a couple more unit tests (see the suggestions at the bottom of
the tests file)
- [x] polish the ClaimQueueState and verify if it's sufficiently covered
by unit tests
  - #10334
  - #10368
- [x] add metrics and polish logs -
#10730
- [x] add a CLI parameter for enabling the experimental subsystem (and
remove the compile-time feature) ->
#10285
- [x] implement registered paras update, using
#9055
- [ ] do some manual zombienet tests with v1 protocol version and with
restarting validators (including syncing with warp sync)
- [x] prdoc
- [x] Rollback 
-
03e8915
-
05e1497
These commits were added just to run the CI tests for this PR with the
new experimental protocol

After merging: 
- [ ] versi testing



Uses a slightly modified version of the ClaimQueueState written by
@tdimitrov in #7114.

---------

Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io>
Co-authored-by: Serban Iorga <serban@parity.io>
Co-authored-by: Serban Iorga <serban300@gmail.com>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

4 participants