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.7k
Self-Vote for Staking (among others.) #2078
Merged
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
aa83f22
initial doc for the staking module
kianenigma b9d09bb
Remove md style links.
kianenigma 7df2b19
Remove todos.
kianenigma 28b959b
Add rust code types
kianenigma 91be68b
Rename and fix review notes.
kianenigma 5912ff5
Add new md file
kianenigma 64ca546
Final touches.
kianenigma a8ba78e
Migrate compleatly to rustdoc
kianenigma 982d7e8
Update link
kianenigma 4a572a2
Fix heading
kianenigma ea5ae00
Merge branch 'master' into kiz-document-staking
kianenigma 89682a6
Final touches wrt the new template.
kianenigma 956ec96
Remove empty prereq.
kianenigma 2879e1d
Fix more reviews
kianenigma 105723b
Some final nits.
kianenigma 531ae73
Merge branch 'master' of github.com:paritytech/substrate into kiz-doc…
kianenigma 5567859
Fix some side issues.
kianenigma e739361
Fix another set of reviews
kianenigma 4eb568c
Fix + stabilize leftover reivews.
kianenigma 9b026cc
Remove unused test parameters
kianenigma a8075c7
Fix typo.
kianenigma a33205b
Merge redundant loops
kianenigma 07f9710
Merge branch 'kiz-document-staking' into kiz-staking-enhance
kianenigma cfb39b9
Adds phantom self-vote
kianenigma a4c298c
Fix broken tests.
kianenigma 5eb6f24
Refactor some names to match the reference.
kianenigma c4bdb81
Remove redundant inner loops from election round.
kianenigma 03d7583
Introduce phragmen post-processing.
kianenigma bf8212f
Some fixes and todos.
kianenigma 85f1294
Fix some tests with new phragmen params
kianenigma eb6d9b5
master.into()
kianenigma 54c1417
Fix test
gavofyork abc1685
Bump spec
gavofyork 0cdc3c1
Fix wasm build
gavofyork 0d429d8
Fix tests and phragmen fallback. Avoid double-controlling
gavofyork ae0f53e
Fix and rebuild wasm
gavofyork 7b301ad
Whitespaces, whitespaces everywhere.
kianenigma 1488960
Merge remote-tracking branch 'origin/master' into kiz-staking-enhance
gavofyork f6b9fbc
Rebuild
gavofyork c26f890
Disable post-processing.
kianenigma f40f671
Merge test conflicts.
kianenigma b399c8a
Identify by stash, not controller account.
gavofyork d3e5539
Couple of fixes
gavofyork fcce528
Fix first test
gavofyork 202f67b
Merge branch 'kiz-staking-enhance' of github.com:paritytech/substrate…
gavofyork 6c64125
Fix invulnerability_should_work
gavofyork badd121
Fix a couple more tests
gavofyork 7b83e30
Fix more tests
gavofyork a9a3a92
Fix more tests
gavofyork f14977d
Fix more tests
gavofyork a41aeec
Fix some tests
kianenigma f584fd1
Merge branch 'kiz-staking-enhance' of github.com:paritytech/substrate…
kianenigma 817d538
Fix update-ledger.
gavofyork 1257dfe
Merge remote-tracking branch 'origin/kiz-staking-enhance' into kiz-st…
gavofyork a879983
Fix update-ledger.
gavofyork 0d6136d
Fix another test
gavofyork 0dbff72
Fix another test
gavofyork 184cb5c
Fix rest of staking tests
gavofyork 1b4b05f
Remove printlns
gavofyork 1be69c2
Rebuild wasm
gavofyork d380360
Merge remote-tracking branch 'origin/master' into kiz-staking-enhance
gavofyork f255ef5
Fix & tests for auth/val syncing
gavofyork fd5b2cd
Merge remote-tracking branch 'origin/master' into kiz-staking-enhance
gavofyork e20b766
Fix up threading for tests
gavofyork 4d8a2fd
Remove superfluous asserts
gavofyork 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
Fix tests and phragmen fallback. Avoid double-controlling
- Loading branch information
commit 0d429d8ae16d91604da28d95786e738dab00d616
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
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.
One suggestion from @rphmeier which I think went missing here: Even when we are naively choosing the previous set,
take()onlyvalidator_countfrom it. It might be that we had more than what we need and at least we can kick out the extra one.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.
that would only happen if
minimum_validator_countincreased. which seems like even more of an edge case than this. it also substantially complicates things.