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 2.6k
[Feature] Part 1: add TargetList for validator ranking #12034
Merged
Merged
Changes from 37 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
64b5c6e
[Feature] Part 1: add TargetList for validator ranking
ruseinov a6b07a5
remove redundant todo
ruseinov ec61b29
remove typo
ruseinov 281e5d0
cleanup
ruseinov 73b47cb
implement score
ruseinov 76034bb
more fixes
ruseinov 86631ed
fix thresholds
ruseinov 3a82504
fmt
ruseinov 74b6fba
Remove the stuff that has to come in the next PR, some fixes
ruseinov 8a2fc42
extended balance import
ruseinov e676398
Change all the references from VoteWeight to Self::Score
ruseinov 7dfbc9b
Add a migration for VoterBagsList
ruseinov 5f4d9a4
fix score
ruseinov 5b2e1f5
add targetList to nomination-pools tests
ruseinov 805349d
fix bench
ruseinov 4329ad2
address review comments
ruseinov ba11c8a
change get_npos_targets
ruseinov 5286a4f
address more comments
ruseinov 101deee
remove thresholds for the time being
ruseinov b5109d1
fix instance reference
ruseinov 6f4bf4b
VoterBagsListInstance
ruseinov 0ef8d2c
reus
ruseinov c03ec08
remove params that are not used yet
ruseinov 1da8bfc
Introduced pre/post upgrade try-runtime checks
ruseinov 223580b
Merge remote-tracking branch 'origin/master' into ru/feature/p1-targe…
0bde3df
fix
ruseinov 9cb9e01
fixes
ruseinov 4c25988
fix migration
ruseinov 14ce27a
fix migration
ruseinov 67316fb
fix post_upgrade
ruseinov 87b5e0f
change
ruseinov 9dea8f4
Merge remote-tracking branch 'origin/master' into ru/feature/p1-targe…
03b400c
Master.into()
kianenigma 8f54be5
Fix
kianenigma 39b1cfa
eloquent PhantomData
ruseinov 94efa6e
fix PD
ruseinov c1547a2
more fixes
ruseinov 194e0e2
Update frame/staking/src/pallet/impls.rs
ruseinov ed98cca
is_nominator now works
ruseinov ba0c063
fix test-staking
ruseinov e6a3871
build fixes
ruseinov d019f1d
fix remote-tests
ruseinov 93491e2
Apply suggestions from code review
kianenigma 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 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
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
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.
Should not compile.