Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Generate storage info for Pallet Staking #9864

Closed
wants to merge 82 commits into from
Closed

Generate storage info for Pallet Staking #9864

wants to merge 82 commits into from

Commits on Sep 20, 2021

  1. Updating broken website link

    Georges Dib committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    9cb610c View commit details
    Browse the repository at this point in the history
  2. Updating rust example to FRAME 2.0 syntax

    Georges Dib committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    5fba3bb View commit details
    Browse the repository at this point in the history
  3. Start of the implementation of adding storage_info

    to pallet staking.
    Moved MAX_UNLOCKING_CHUNKS from being a constant to being a type
    called `MaxUnlockingChunks`
    Georges Dib committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    6d46910 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. Continuing adding storage_info to pallet staking

    Georges Dib committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    04d55f3 View commit details
    Browse the repository at this point in the history
  2. Implementing MaxEncodedLen on PerThing

    Georges Dib committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    a55274a View commit details
    Browse the repository at this point in the history
  3. Adding force_push to WeakBoundedVec

    Georges Dib committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    578284f View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Continue adding storage_info to staking pallet

    Georges Dib committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    6a2a06e View commit details
    Browse the repository at this point in the history
  2. Implementing PartialOrd on WeakBoundedVec

    Georges Dib committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    97c4c9f View commit details
    Browse the repository at this point in the history
  3. Implementing Ord for WeakBoundedVec

    Georges Dib committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    d6ebf74 View commit details
    Browse the repository at this point in the history
  4. Implementing force_insert on WeakBoundedVec

    Georges Dib committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    7c60ac5 View commit details
    Browse the repository at this point in the history
  5. Implementing truncate on WeakBoundedVec

    Georges Dib committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    1fc848f View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. Moved const MAX_NOMINATIONS to be a type

    `MaxNominations` to allow it to be a bound for a `BoundedVec`
    Georges Dib committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    06830eb View commit details
    Browse the repository at this point in the history
  2. Add drain to BoundedVec and WeakBoundedVec

    Georges Dib committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    df969c6 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Implementing sort_by on WeakBoundedVec

    Georges Dib committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    8b4392a View commit details
    Browse the repository at this point in the history
  2. Implement entry on BoundedBTreeMap

    Georges Dib committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    fc54a66 View commit details
    Browse the repository at this point in the history
  3. Implement last_mut on BoundedVec

    Georges Dib committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    8e358e5 View commit details
    Browse the repository at this point in the history
  4. Implement pop on BoundedVec

    Georges Dib committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    6f10ad3 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2021

  1. Implement iter_mut on BoundedVec

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    d415c3b View commit details
    Browse the repository at this point in the history
  2. Adding storage_info to pallet staking

    pallet compiles!
    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    4563cab View commit details
    Browse the repository at this point in the history
  3. Radical change: moving MaxValidatorsCount from

    storage to being a runtime parameter `MaxNbOfValidators`
    Fixing various other compile errors
    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    7d6c9b6 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' of https://github.com/paritytech/substrate into…

    … staking-storage-info
    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    f0201b9 View commit details
    Browse the repository at this point in the history
  5. Cleanups

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    243e038 View commit details
    Browse the repository at this point in the history
  6. Fixing tests and some refactoring

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    e16f995 View commit details
    Browse the repository at this point in the history
  7. Fixed test cases

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    5604e90 View commit details
    Browse the repository at this point in the history
  8. Fixing docs

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    7473eca View commit details
    Browse the repository at this point in the history
  9. Fixing other pallets' tests

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    55d9d93 View commit details
    Browse the repository at this point in the history
  10. Fixing README

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    37d5d35 View commit details
    Browse the repository at this point in the history
  11. Fixing test benchmarks

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    2dce1f1 View commit details
    Browse the repository at this point in the history
  12. fixing benchmark tests

    Georges Dib committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    68fc710 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2021

  1. Changing naming from Nb to Count nomenclature

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    abe2d61 View commit details
    Browse the repository at this point in the history
  2. Stop globally importing ConstU32 and annotate

    its use accordingly
    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    a8f9dcc View commit details
    Browse the repository at this point in the history
  3. No need for a full description, only scope is

    needed
    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    f8b5e80 View commit details
    Browse the repository at this point in the history
  4. Only scope is needed in message

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    87613b8 View commit details
    Browse the repository at this point in the history
  5. Better documentation punctuation

    Shorter scope message
    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    1230145 View commit details
    Browse the repository at this point in the history
  6. Removing few [pallet::constant]

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    b83cda7 View commit details
    Browse the repository at this point in the history
  7. Making MAX_UNLOCKING_CHUNKS become a runtime

    parameter `MaxUnlockingChunks`
    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    a097ab6 View commit details
    Browse the repository at this point in the history
  8. Adding punctuation to documentation.

    Scope message does not need to be explicit.
    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    b8e8559 View commit details
    Browse the repository at this point in the history
  9. Fixing tests after changes to MaxUnlockingChunks

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    98526da View commit details
    Browse the repository at this point in the history
  10. Test fixes

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    cc6729b View commit details
    Browse the repository at this point in the history
  11. Test fixes

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    0c8fa9f View commit details
    Browse the repository at this point in the history
  12. Adding MaxIndividualExposures replacing

    `MaxNominatorRewardedPerValidator` at some places
    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    a024de5 View commit details
    Browse the repository at this point in the history
  13. Fixing tests after adding MaxIndividualExposures

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    de68fd2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d3d61da View commit details
    Browse the repository at this point in the history
  15. Removing trailing whitespace

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    531f43a View commit details
    Browse the repository at this point in the history
  16. Merge branch 'staking-storage-info' of https://github.com/georgesdib/…

    …substrate into staking-storage-info
    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    a9eef28 View commit details
    Browse the repository at this point in the history
  17. Fixing tests post merge

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    84d2b13 View commit details
    Browse the repository at this point in the history
  18. fmt

    Georges Dib committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    a2f7055 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Renaming MaxNominatorRewardedPerValidator to

    `MaxRewardableIndividualExposures`
    Georges Dib committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    5705c25 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2021

  1. Merge branch 'master' of https://github.com/paritytech/substrate into…

    … staking-storage-info
    Georges Dib committed Oct 2, 2021
    Configuration menu
    Copy the full SHA
    38b4554 View commit details
    Browse the repository at this point in the history
  2. Implementing OrdNoBound derive trait

    Georges Dib committed Oct 2, 2021
    Configuration menu
    Copy the full SHA
    2577c7d View commit details
    Browse the repository at this point in the history
  3. Adding tests for OrdNoBound

    Fixing other tests outputs
    Georges Dib committed Oct 2, 2021
    Configuration menu
    Copy the full SHA
    0e6455a View commit details
    Browse the repository at this point in the history
  4. Fixing tests, I must be running a different

    compiler version locally
    Georges Dib committed Oct 2, 2021
    Configuration menu
    Copy the full SHA
    a629627 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. * Increasing MaxIndividualExposures

    * Renaming `MaxErasForRewards` to `MaxHistoryDepth`
    * Changed `WeakBoundedVec::default` to `Default::default`
    * Fixed typo in error message
    Georges Dib committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    c51b29c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into staking-storage-info

    Georges authored Oct 12, 2021
    Configuration menu
    Copy the full SHA
    f35b5d2 View commit details
    Browse the repository at this point in the history
  3. Make OffendingValidators a BoundedVec

    which is bounded by `MaxValidatorsCount`
    Some other fixes post merge
    Georges Dib committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    545a98a View commit details
    Browse the repository at this point in the history
  4. Fixing fmt

    Georges Dib committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    e8aff29 View commit details
    Browse the repository at this point in the history
  5. fmt

    Georges Dib committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    a53cfc9 View commit details
    Browse the repository at this point in the history
  6. fmt

    Georges Dib committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    9105c63 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Configuration menu
    Copy the full SHA
    570f7cb View commit details
    Browse the repository at this point in the history
  2. Fixing tests

    Georges Dib committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    9cd2bd6 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'staking-storage-info' of https://github.com/georgesdib/…

    …substrate into staking-storage-info
    Georges Dib committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    d70e2e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

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

Commits on Oct 30, 2021

  1. Configuration menu
    Copy the full SHA
    6ccb25c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    522d3bd View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. Configuration menu
    Copy the full SHA
    2daef3c View commit details
    Browse the repository at this point in the history
  2. Add max-encoded-len to sp-primitives

    cargo fmt
    Georges Dib committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    fe493f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Configuration menu
    Copy the full SHA
    e21ca66 View commit details
    Browse the repository at this point in the history
  2. Adding version to remote-externalities

    Georges Dib committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    0cdd216 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'staking-storage-info' of https://github.com/georgesdib/…

    …substrate into staking-storage-info
    Georges Dib committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    3cd8b1d View commit details
    Browse the repository at this point in the history
  4. Adding version to frame-support

    Georges Dib committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    956c888 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2021

  1. Merge branch 'master' of upstream

    into staking-storage-info
    Georges Dib committed Nov 14, 2021
    Configuration menu
    Copy the full SHA
    370254a View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Fixes after changes to StakingLedger tests

    Georges Dib committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    6aa99e7 View commit details
    Browse the repository at this point in the history
  2. Merge upstream into staking-storage-info

    Georges Dib committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    4373245 View commit details
    Browse the repository at this point in the history
  3. Fixing some tests

    Georges Dib committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    235defd View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2021

  1. Merge remote branch

    Georges Dib committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    1fb3ee6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #35 from paritytech/master

    Merge upstream
    georgesdib authored Dec 31, 2021
    Configuration menu
    Copy the full SHA
    aeef7bc View commit details
    Browse the repository at this point in the history
  3. Fixing doc issues, last_mut and iter_mut

    are methods on array and not `Vec`
    Georges Dib committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    2820306 View commit details
    Browse the repository at this point in the history
  4. Fixing tests

    Georges Dib committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    0171201 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'staking-storage-info' of https://github.com/georgesdib/…

    …substrate into staking-storage-info
    Georges Dib committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    4fb8fed View commit details
    Browse the repository at this point in the history
  6. Cleanups

    Georges Dib committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    0093dc6 View commit details
    Browse the repository at this point in the history
  7. Adding missing pub

    Georges Dib committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    49e8eb8 View commit details
    Browse the repository at this point in the history
  8. removing unneeded import

    Georges Dib committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    1f458da View commit details
    Browse the repository at this point in the history