This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Generate storage info for Pallets Offences and Session #10113
Closed
Closed
Changes from 85 commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
9cb610c
Updating broken website link
5fba3bb
Updating rust example to FRAME 2.0 syntax
6d46910
Start of the implementation of adding storage_info
04d55f3
Continuing adding storage_info to pallet staking
a55274a
Implementing `MaxEncodedLen` on `PerThing`
578284f
Adding `force_push` to `WeakBoundedVec`
6a2a06e
Continue adding storage_info to staking pallet
97c4c9f
Implementing `PartialOrd` on `WeakBoundedVec`
d6ebf74
Implementing `Ord` for `WeakBoundedVec`
7c60ac5
Implementing `force_insert` on `WeakBoundedVec`
1fc848f
Implementing `truncate` on `WeakBoundedVec`
06830eb
Moved const `MAX_NOMINATIONS` to be a type
df969c6
Add `drain` to `BoundedVec` and `WeakBoundedVec`
8b4392a
Implementing `sort_by` on `WeakBoundedVec`
fc54a66
Implement `entry` on `BoundedBTreeMap`
8e358e5
Implement `last_mut` on `BoundedVec`
6f10ad3
Implement `pop` on `BoundedVec`
d415c3b
Implement `iter_mut` on `BoundedVec`
4563cab
Adding `storage_info` to pallet `staking`
7d6c9b6
Radical change: moving `MaxValidatorsCount` from
f0201b9
Merge branch 'master' of https://github.com/paritytech/substrate into…
243e038
Cleanups
e16f995
Fixing tests and some refactoring
5604e90
Fixed test cases
7473eca
Fixing docs
55d9d93
Fixing other pallets' tests
37d5d35
Fixing README
2dce1f1
Fixing test benchmarks
68fc710
fixing benchmark tests
abe2d61
Changing naming from `Nb` to `Count` nomenclature
a8f9dcc
Stop globally importing `ConstU32` and annotate
f8b5e80
No need for a full description, only scope is
87613b8
Only scope is needed in message
1230145
Better documentation punctuation
b83cda7
Removing few `[pallet::constant]`
a097ab6
Making MAX_UNLOCKING_CHUNKS become a runtime
b8e8559
Adding punctuation to documentation.
98526da
Fixing tests after changes to `MaxUnlockingChunks`
cc6729b
Test fixes
0c8fa9f
Test fixes
a024de5
Adding `MaxIndividualExposures` replacing
de68fd2
Fixing tests after adding `MaxIndividualExposures`
d3d61da
Merge branch 'paritytech:master' into staking-storage-info
georgesdib 531f43a
Removing trailing whitespace
a9eef28
Merge branch 'staking-storage-info' of https://github.com/georgesdib/…
84d2b13
Fixing tests post merge
a2f7055
fmt
5705c25
Renaming `MaxNominatorRewardedPerValidator` to
38b4554
Merge branch 'master' of https://github.com/paritytech/substrate into…
2577c7d
Implementing `OrdNoBound` derive trait
0e6455a
Adding tests for `OrdNoBound`
a629627
Fixing tests, I must be running a different
1fc1a32
Implementing bounding
c51b29c
* Increasing `MaxIndividualExposures`
f35b5d2
Merge branch 'master' into staking-storage-info
545a98a
Make `OffendingValidators` a `BoundedVec`
e8aff29
Fixing fmt
a53cfc9
fmt
9105c63
fmt
570f7cb
Merge branch 'paritytech:master' into staking-storage-info
georgesdib 9cd2bd6
Fixing tests
d70e2e6
Merge branch 'staking-storage-info' of https://github.com/georgesdib/…
b54368d
Adding storage info to frame session
c32bc2b
Merge branch 'staking-storage-info' into session-storage-info
22f7915
Removing duplicate
ba5ad35
Merge branch 'staking-storage-info-continue' into session-storage-info
184a8cb
Replacing `Vec` by `BoundedVec`
65d9591
Fixing election-provider-support
538dcd7
Adding `MaxEncodedLen` to `impl_opaque_keys`
6f1bf5a
Some more bounding conversions
21d87fc
Fixing tests
3a67669
Fixing more tests
4c1c74b
Some more test fixes
fb1d739
Merge branch 'master' of https://github.com/paritytech/substrate into…
d74bee4
Merging `MaxKeys` with `MaxValidatorsCount`
bae9525
Merging `MaxAuthorities` and `MaxValidatorsCount`
6d4e1d1
Bounding `OffenceDetails` and moving
8390471
Fixing tests
c32addb
Changing `Clone` to `CloneNoBound`
5910f5f
Fixing test after change to `CloneNoBound`
daaa48f
Adding missing `MaxReportersCount`
a1d4b45
Merge branch 'paritytech:master' into offences-storage-info
georgesdib c5a3ac5
Changing `BoundedVec` to `WeakBoundedVec`
4c8f9f8
Merge branch 'offences-storage-info' of https://github.com/georgesdib…
be3564a
Fixing tests after `BoundedVec` change
9b8f704
running cargo +nightly fmt
ba25494
missed one
052f17f
Merge branch 'master' of https://github.com/paritytech/substrate into…
77d320f
Fixing benchmarks
451d306
Fixing benchmarks
423b99c
removing unneeded import
5c8bb91
Merge branch 'master' into offences-storage-info
04aed17
cargo fmt
d24c5fc
Add `max-encoded-len` feature to `sp-arithmetic`
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
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
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
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
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
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.