This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Companion for Store voters in unsorted bags to get good stake iteration properties #3413
Merged
Merged
Changes from 66 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
aa0877a
add voter bags generation script and generated values for all runtimes
coriolinus 7dd1981
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus 4c853b7
VoterBagThresholds for test-runtime
coriolinus 9c6013e
semicolon
coriolinus bd11bcd
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus 77b4c68
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus fcc1f5d
turns out the header is called file_header.txt
coriolinus f4d40e6
perform benchmarks to get real numbers
coriolinus 387727b
add note about when to re-run this script
coriolinus 2bca933
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus e55463c
Merge branch 'prgn-companion-for-9081' of github.com:paritytech/polka…
coriolinus 4ca5722
Suggestions for #3413 (Store voters in unsorted bags companion) (#3488)
emostov e286a10
Master.into()
kianenigma f271329
Try resolve Cargo.lock conflicts
emostov 0edb586
Try merge origin master
emostov 13917ad
Add temp VoterSnapshotPerBlock value to compile
emostov 2e1a55f
Improve voter_bags test with nominator/validator breakdown
emostov 7bcac15
Remove miner.log
emostov 9dad2c2
Update README
emostov 8c7bcf8
Module doc comments
emostov f231603
Try merge origin master
emostov 86a5c75
Build working
emostov 3499379
remote-ext-tests very WIP
emostov 846ee14
repot and fix voterr bags remote ext test
kianenigma 61922be
Move voter-bags cli; grab system pallet
emostov 05bfc77
Remove system module query
emostov 428f55b
formatting and log target
emostov 5c12880
clean up
emostov bc70a17
try merge origin master
emostov 11dee8d
Save
emostov 4f7eb6a
Try merge origin master
emostov 17814aa
Merge branch 'master' of https://github.com/paritytech/polkadot into …
emostov 0922ab6
Fix issues with polkadot runtime after mergin
emostov a932af6
Save
emostov c23cf3d
Try merge origin master
emostov 479e9b9
Some updates to runtimes to make sure things compile
emostov edc5d78
save
emostov c0af428
udpate weights
emostov a104802
Use UseNominatorsAndUpdateBagsList
emostov d22f42f
make remote-ext tests a bin
emostov b1383c4
Adjust remote-ext test to use pub; update some comments
emostov 4f0f7c8
Try merge origin master
emostov 5220470
Use list_bags_get
emostov 15ac6c8
Try fix cargo.lock
emostov ef8bd05
Try merge origin master
emostov 53a3e53
Gate kusama feat code
emostov 1014e22
Carg.lock .. again
emostov 1279c51
point bags-list deps to master
emostov ed74d4b
Merge remote-tracking branch 'origin' into prgn-companion-for-9081
emostov f3a209c
Update voter-bags CLI to take total issuance and min balance as args
emostov 24abba0
try merge origin master
emostov 7afff2a
Switch polkadot runtime to UseNominatorMap
emostov 55486a2
Some tweaks to the remote-test
kianenigma 3b4b02b
Delete some stuff for polkadot; comments
emostov 256c95f
Various fixes
emostov b52fd92
Add comment for VoterSnapshotPerBlock
emostov bdd266b
Remove bags-list import from polakdot cargo
emostov 55fb64b
use benchmarking feature for pallet-bags-list
emostov b44ac21
Add custom migration for westend and kusama for bags-list
emostov b0c5305
:facepalm
emostov b70adc4
Try merge origin master
emostov baa8e6d
Merge remote-tracking branch 'origin' into prgn-companion-for-9081
emostov e29e77b
Fix kusama runtime
emostov ace47de
Try merge origin master
emostov 3d4997b
Small clean up
emostov 0eccbb6
Merge remote-tracking branch 'origin' into prgn-companion-for-9081
emostov 4482a6d
Be more alphabetical ordered
emostov 548b6ad
Use 22_500 for VoterSnapshotPerBlock
emostov be1b2c7
point back to master
emostov c03a5b6
Merge remote-tracking branch 'origin' into prgn-companion-for-9081
emostov c7aaaf0
remove unused type
shawntabrizi daa72c1
SortedListProvider for staking runtime
emostov 3608c46
Remove polkadot for remote-ext bags test
emostov e96da22
Revert "Remove polkadot for remote-ext bags test"
emostov f4f06b5
Remove polkadot for remote-ext bags test
emostov 225fdbf
update Substrate
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kianenigma why not put a safe number to start with?
Sounds easy to forget about this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I @emostov recommended the same, sure it can already be 22500