-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Staking: Add deprecate_controller_batch AdminOrigin call
#2589
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 all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
b7df147
add deprecate_controller_batch call
bb8658d
fix name
ce1b7d7
ledger controller to None
566ecd9
MaxControllersInBatch to 10
eea28dc
init deprecate_controller_batch_works test
37bf26d
add benchmark boilerplate
acb3ebe
amend mocks
af012b6
amend mocks
68a75bb
benchmark tidy up
4df272b
start test at account 1001
759f3f4
some benchmark fixes
f72e1e3
benchmarks
d75a2d0
use create_unique_stash_controller
e8b2898
fmt
8f4fe14
fixes
186966b
fixes
77b90ca
introduce i
41df014
comments, use BoundedVec
3b3f760
fmt
85a2b7d
fix
24738d3
tidy up benchmarl
e364610
more fixes
c984419
fix
1253894
amend runtime MaxControllersInBatch
99ab57d
rename
734722a
".git/.scripts/commands/fmt/fmt.sh"
ce6462e
add type
3fb3f7e
Merge branch 'rb-depreciate-controller-batch' of https://github.com/p…
5d9f1be
test
3263180
use u32
16faf72
uncomment
5dcac5a
try using parameter_types!
6b6363f
Revert "try using parameter_types!"
85567a9
fix test-runtime
6c56e6c
fix
6543b95
".git/.scripts/commands/fmt/fmt.sh"
9070a80
test
ee5b86a
use u32
58f1fd0
uncomment
791c737
try using parameter_types!
d4bac69
Revert "try using parameter_types!"
b693da0
fix test-runtime
e03c74d
fix
4972615
Merge branch 'rb-depreciate-controller-batch' of https://github.com/p…
0c1795a
add weights
23343d4
increase westend MaxControllersInDeprecationBatch
07b51b8
+ westend weights
c91c912
weights for max controllers
8c082e8
Merge branch 'master' into rb-depreciate-controller-batch
01d9fd0
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
866f388
".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtim…
c3e482c
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
b7163b7
Merge branch 'master' into rb-depreciate-controller-batch
423a5fb
Merge branch 'master' into rb-depreciate-controller-batch
cc807b3
add PostInfo
637d4ea
fmt
6a9a6e3
test full weight scenario
e156276
Merge branch 'rb-depreciate-controller-batch' of https://github.com/p…
376e5e8
add deprecate_controller_batch_works_half_weight
954835b
tidy up
9247185
more tidy up
b3527d8
Merge branch 'master' into rb-depreciate-controller-batch
32ecfa5
remove comments
fb7732e
tidy up benchmark
278373c
Merge branch 'master' into rb-depreciate-controller-batch
c37c70d
rm clone
40b7096
Merge branch 'rb-depreciate-controller-batch' of https://github.com/p…
f207395
address feedback
87cf4c2
feedback
ba6e84a
add DeprecationOrigin
cdaf683
Merge branch 'master' into rb-depreciate-controller-batch
224861c
comment
65b7072
fixes
2a47ee8
fix
4ef7c13
add DeprecationOrigin to mocks
3f8846d
fix
efb8032
remove duplicate
d2f49fe
AdminOrigin gains StakingAdmin
eef8360
rm DeprecationOrigin
04833df
rm DeprecationOrigin
509c324
Merge branch 'master' into rb-depreciate-controller-batch
569067d
Merge branch 'master' into rb-depreciate-controller-batch
3fef4c4
Merge branch 'master' into rb-depreciate-controller-batch
a67b6cf
Merge branch 'master' into rb-depreciate-controller-batch
d9d0539
Merge branch 'master' into rb-depreciate-controller-batch
34bcd0b
Merge branch 'master' into rb-depreciate-controller-batch
6800e33
Merge branch 'master' into rb-depreciate-controller-batch
0d71005
skip deprecation if still Controller payee
84daf1b
".git/.scripts/commands/bench/bench.sh" --subcommand=runtime --runtim…
5b5dc1a
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
b381830
Merge branch 'master' into rb-depreciate-controller-batch
ec42467
Merge branch 'master' into rb-depreciate-controller-batch
bbcefc3
Update substrate/frame/staking/src/pallet/mod.rs
6536fba
Merge branch 'master' into rb-depreciate-controller-batch
9aa3af1
fix rustdoc
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
214 changes: 118 additions & 96 deletions
214
polkadot/runtime/westend/src/weights/pallet_staking.rs
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.