Skip to content
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

Add simple collator election mechanism #1340

Merged
merged 44 commits into from
Nov 14, 2023
Merged

Commits on Aug 31, 2023

  1. Introduce simple election to collator-selection

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    e092644 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Add new weights fn to runtimes

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    00a3671 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dde5418 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Update collator-selection documentation

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    ea0b269 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f1869e View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Minor code and docs cleanup

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    5526ea2 View commit details
    Browse the repository at this point in the history
  2. Fix doc line wrapping

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    06b3c79 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Fix leftover documentation

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    c55c8e2 View commit details
    Browse the repository at this point in the history
  2. Update docs around unchecked arithmetic

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    24cae01 View commit details
    Browse the repository at this point in the history
  3. Add docs and test for unwraps

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    21988be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a5010e View commit details
    Browse the repository at this point in the history
  5. Allow clippy absurd comparison in integrity test

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    a95d831 View commit details
    Browse the repository at this point in the history
  6. Fix placement of clippy allow statement

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    06ac94a View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Address review comments

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    8d7a635 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2985fc View commit details
    Browse the repository at this point in the history
  3. Add test for identical deposit update

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    ff46963 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    a2bcc35 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Configuration menu
    Copy the full SHA
    e1c458e View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Disallow lowering bids for top candidates

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b0747d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c7883a View commit details
    Browse the repository at this point in the history
  3. Add weights for asset-hub-rococo

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    967429d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Refactor list pivots into separate functions

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    dea9465 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary integrity test assertions

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    fd146da View commit details
    Browse the repository at this point in the history
  3. Add try-state checks

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    0fa7fce View commit details
    Browse the repository at this point in the history
  4. Add ordering doc comment to candidate list

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    76c02a1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    24c90cd View commit details
    Browse the repository at this point in the history
  6. Add weights for bridge hub westend

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    1254351 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. WIP set desired candidates

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    8ac84da View commit details
    Browse the repository at this point in the history
  2. WIP set candidacy bond v2

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    2ce5275 View commit details
    Browse the repository at this point in the history
  3. Add tests to new set_candidacy_bond

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    49c8fe5 View commit details
    Browse the repository at this point in the history
  4. Small refactor in set_candidacy_bond

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    27788ac View commit details
    Browse the repository at this point in the history
  5. Update set_candidacy_bond documentation

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    43d8251 View commit details
    Browse the repository at this point in the history
  6. Fixup kick candidates comment

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    0ecc480 View commit details
    Browse the repository at this point in the history
  7. Refactor out pivot functions

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    bb686f9 View commit details
    Browse the repository at this point in the history
  8. Fix weights for new set_candidacy_bond

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    58653af View commit details
    Browse the repository at this point in the history
  9. Make set_candidacy_bond bench work

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    1a54df2 View commit details
    Browse the repository at this point in the history
  10. Refine set_candidacy_bond benchmark

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    4a7beba View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Fix clippy warning in bench

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    bba8573 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    772be92 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Remove duplicated ensure

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    4c14458 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    524a5aa View commit details
    Browse the repository at this point in the history
  3. Graceful error instead of panic on try_insert

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    35b4b02 View commit details
    Browse the repository at this point in the history
  4. Update pallet documentation

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    12dccf4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    328888a View commit details
    Browse the repository at this point in the history