-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add simple collator election mechanism #1340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
e092644
Introduce simple election to `collator-selection`
georgepisaltu 00a3671
Add new weights fn to runtimes
georgepisaltu dde5418
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu ea0b269
Update `collator-selection` documentation
georgepisaltu 6f1869e
Merge remote-tracking branch 'origin/master' into george/collator-ele…
georgepisaltu 5526ea2
Minor code and docs cleanup
georgepisaltu 06b3c79
Fix doc line wrapping
georgepisaltu c55c8e2
Fix leftover documentation
georgepisaltu 24cae01
Update docs around unchecked arithmetic
georgepisaltu 21988be
Add docs and test for unwraps
georgepisaltu 5a5010e
Merge remote-tracking branch 'origin/master' into george/collator-ele…
georgepisaltu a95d831
Allow clippy absurd comparison in integrity test
georgepisaltu 06ac94a
Fix placement of clippy allow statement
georgepisaltu 8d7a635
Address review comments
georgepisaltu b2985fc
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu ff46963
Add test for identical deposit update
georgepisaltu a2bcc35
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu e1c458e
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu b0747d5
Disallow lowering bids for top candidates
georgepisaltu 1c7883a
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu 967429d
Add weights for asset-hub-rococo
georgepisaltu dea9465
Refactor list pivots into separate functions
georgepisaltu fd146da
Remove unnecessary integrity test assertions
georgepisaltu 0fa7fce
Add `try-state` checks
georgepisaltu 76c02a1
Add ordering doc comment to candidate list
georgepisaltu 24c90cd
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu 1254351
Add weights for bridge hub westend
georgepisaltu 8ac84da
WIP set desired candidates
georgepisaltu 2ce5275
WIP set candidacy bond v2
georgepisaltu 49c8fe5
Add tests to new `set_candidacy_bond`
georgepisaltu 27788ac
Small refactor in `set_candidacy_bond`
georgepisaltu 43d8251
Update `set_candidacy_bond` documentation
georgepisaltu 0ecc480
Fixup kick candidates comment
georgepisaltu bb686f9
Refactor out pivot functions
georgepisaltu 58653af
Fix weights for new `set_candidacy_bond`
georgepisaltu 1a54df2
Make `set_candidacy_bond` bench work
georgepisaltu 4a7beba
Refine `set_candidacy_bond` benchmark
georgepisaltu bba8573
Fix clippy warning in bench
georgepisaltu 772be92
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu 4c14458
Remove duplicated `ensure`
georgepisaltu 524a5aa
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu 35b4b02
Graceful error instead of panic on `try_insert`
georgepisaltu 12dccf4
Update pallet documentation
georgepisaltu 328888a
Merge remote-tracking branch 'origin' into george/collator-election
georgepisaltu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.