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

Staking: Add deprecate_controller_batch AdminOrigin call #2589

Merged
merged 95 commits into from
Dec 12, 2023

Commits on Dec 3, 2023

  1. add deprecate_controller_batch call

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    b7df147 View commit details
    Browse the repository at this point in the history
  2. fix name

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    bb8658d View commit details
    Browse the repository at this point in the history
  3. ledger controller to None

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    ce1b7d7 View commit details
    Browse the repository at this point in the history
  4. MaxControllersInBatch to 10

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    566ecd9 View commit details
    Browse the repository at this point in the history
  5. init deprecate_controller_batch_works test

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    eea28dc View commit details
    Browse the repository at this point in the history
  6. add benchmark boilerplate

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    37bf26d View commit details
    Browse the repository at this point in the history
  7. amend mocks

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    acb3ebe View commit details
    Browse the repository at this point in the history
  8. amend mocks

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    af012b6 View commit details
    Browse the repository at this point in the history
  9. benchmark tidy up

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    68a75bb View commit details
    Browse the repository at this point in the history
  10. start test at account 1001

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    4df272b View commit details
    Browse the repository at this point in the history
  11. some benchmark fixes

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    759f3f4 View commit details
    Browse the repository at this point in the history
  12. benchmarks

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    f72e1e3 View commit details
    Browse the repository at this point in the history
  13. use create_unique_stash_controller

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    d75a2d0 View commit details
    Browse the repository at this point in the history
  14. fmt

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    e8b2898 View commit details
    Browse the repository at this point in the history
  15. fixes

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    8f4fe14 View commit details
    Browse the repository at this point in the history
  16. fixes

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    186966b View commit details
    Browse the repository at this point in the history
  17. introduce i

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    77b90ca View commit details
    Browse the repository at this point in the history
  18. comments, use BoundedVec

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    41df014 View commit details
    Browse the repository at this point in the history
  19. fmt

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    3b3f760 View commit details
    Browse the repository at this point in the history
  20. fix

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    85a2b7d View commit details
    Browse the repository at this point in the history
  21. tidy up benchmarl

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    24738d3 View commit details
    Browse the repository at this point in the history
  22. more fixes

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    e364610 View commit details
    Browse the repository at this point in the history
  23. fix

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    c984419 View commit details
    Browse the repository at this point in the history
  24. amend runtime MaxControllersInBatch

    Ross Bulat committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    1253894 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. rename

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    99ab57d View commit details
    Browse the repository at this point in the history
  2. ".git/.scripts/commands/fmt/fmt.sh"

    command-bot committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    734722a View commit details
    Browse the repository at this point in the history
  3. add type

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ce6462e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fb3f7e View commit details
    Browse the repository at this point in the history
  5. test

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    5d9f1be View commit details
    Browse the repository at this point in the history
  6. use u32

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    3263180 View commit details
    Browse the repository at this point in the history
  7. uncomment

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    16faf72 View commit details
    Browse the repository at this point in the history
  8. try using parameter_types!

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    5dcac5a View commit details
    Browse the repository at this point in the history
  9. Revert "try using parameter_types!"

    This reverts commit 5dcac5a.
    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6b6363f View commit details
    Browse the repository at this point in the history
  10. fix test-runtime

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    85567a9 View commit details
    Browse the repository at this point in the history
  11. fix

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6c56e6c View commit details
    Browse the repository at this point in the history
  12. ".git/.scripts/commands/fmt/fmt.sh"

    command-bot authored and Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6543b95 View commit details
    Browse the repository at this point in the history
  13. test

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    9070a80 View commit details
    Browse the repository at this point in the history
  14. use u32

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ee5b86a View commit details
    Browse the repository at this point in the history
  15. uncomment

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    58f1fd0 View commit details
    Browse the repository at this point in the history
  16. try using parameter_types!

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    791c737 View commit details
    Browse the repository at this point in the history
  17. Revert "try using parameter_types!"

    This reverts commit 5dcac5a.
    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    d4bac69 View commit details
    Browse the repository at this point in the history
  18. fix test-runtime

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    b693da0 View commit details
    Browse the repository at this point in the history
  19. fix

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    e03c74d View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    4972615 View commit details
    Browse the repository at this point in the history
  21. add weights

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    0c1795a View commit details
    Browse the repository at this point in the history
  22. increase westend MaxControllersInDeprecationBatch

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    23343d4 View commit details
    Browse the repository at this point in the history
  23. + westend weights

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    07b51b8 View commit details
    Browse the repository at this point in the history
  24. weights for max controllers

    Ross Bulat committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c91c912 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8c082e8 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    01d9fd0 View commit details
    Browse the repository at this point in the history
  27. ".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtim…

    …e=westend --target_dir=polkadot --pallet=pallet_staking
    command-bot committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    866f388 View commit details
    Browse the repository at this point in the history
  28. ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…

    …=dev --target_dir=substrate --pallet=pallet_staking
    command-bot committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c3e482c View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    b7163b7 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    423a5fb View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. add PostInfo

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    cc807b3 View commit details
    Browse the repository at this point in the history
  2. fmt

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    637d4ea View commit details
    Browse the repository at this point in the history
  3. test full weight scenario

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    6a9a6e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e156276 View commit details
    Browse the repository at this point in the history
  5. add deprecate_controller_batch_works_half_weight

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    376e5e8 View commit details
    Browse the repository at this point in the history
  6. tidy up

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    954835b View commit details
    Browse the repository at this point in the history
  7. more tidy up

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    9247185 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b3527d8 View commit details
    Browse the repository at this point in the history
  9. remove comments

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    32ecfa5 View commit details
    Browse the repository at this point in the history
  10. tidy up benchmark

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    fb7732e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    278373c View commit details
    Browse the repository at this point in the history
  12. rm clone

    Ross Bulat committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    c37c70d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    40b7096 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. address feedback

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    f207395 View commit details
    Browse the repository at this point in the history
  2. feedback

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    87cf4c2 View commit details
    Browse the repository at this point in the history
  3. add DeprecationOrigin

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    ba6e84a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdaf683 View commit details
    Browse the repository at this point in the history
  5. comment

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    224861c View commit details
    Browse the repository at this point in the history
  6. fixes

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    65b7072 View commit details
    Browse the repository at this point in the history
  7. fix

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    2a47ee8 View commit details
    Browse the repository at this point in the history
  8. add DeprecationOrigin to mocks

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4ef7c13 View commit details
    Browse the repository at this point in the history
  9. fix

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    3f8846d View commit details
    Browse the repository at this point in the history
  10. remove duplicate

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    efb8032 View commit details
    Browse the repository at this point in the history
  11. AdminOrigin gains StakingAdmin

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d2f49fe View commit details
    Browse the repository at this point in the history
  12. rm DeprecationOrigin

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    eef8360 View commit details
    Browse the repository at this point in the history
  13. rm DeprecationOrigin

    Ross Bulat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    04833df View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    509c324 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    569067d View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    3fef4c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a67b6cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9d0539 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

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

Commits on Dec 9, 2023

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

Commits on Dec 10, 2023

  1. skip deprecation if still Controller payee

    Ross Bulat committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    0d71005 View commit details
    Browse the repository at this point in the history
  2. ".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtim…

    …e=westend --target_dir=polkadot --pallet=pallet_staking
    command-bot committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    84daf1b View commit details
    Browse the repository at this point in the history
  3. ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…

    …=dev --target_dir=substrate --pallet=pallet_staking
    command-bot committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    5b5dc1a View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

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

Commits on Dec 12, 2023

  1. Update substrate/frame/staking/src/pallet/mod.rs

    Co-authored-by: Gonçalo Pestana <[email protected]>
    Ross Bulat and gpestana authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    bbcefc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6536fba View commit details
    Browse the repository at this point in the history
  3. fix rustdoc

    Ross Bulat committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    9aa3af1 View commit details
    Browse the repository at this point in the history