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
Unit test for pallet-staking unsorted bags feature (targets #9081) #9422
Merged
emostov
merged 33 commits into
prgn-nominator-unsorted-bags
from
zeke-prgn-nominator-unsorted-bags-suggestions-2
Jul 28, 2021
Merged
Changes from 24 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
11d8158
impl notional_bag_for_works
emostov 5f1c736
Merge remote-tracking branch 'origin' into zeke-prgn-nominator-unsort…
emostov 25a16dc
Add tests: insert_as_works & insert_works
emostov 9b55e10
Impl test: remove_works
emostov f3222d7
Trivial cleaning
emostov 4a3f048
Merge branch 'prgn-nominator-unsorted-bags' into zeke-prgn-nominator-…
emostov a45e761
Add test: update_position_for_works
emostov fb4bbe3
Write out edge case; probably can delete later
emostov b9c9d56
Add test: bags::get_works
emostov 1c41c1b
Add test: remove_node_happy_path_works
emostov e59b093
Add test: remove_node_bad_paths_documented
emostov 83ec656
WIP: voting_data_works
emostov 29af5c4
done
emostov 2f82fb1
Improve test voting_data_works
emostov 8c995f3
Add comment
emostov c847c23
Fill out test basic_setup_works
emostov d0bd4b5
Update: iteration_is_semi_sorted
emostov f1eb102
Improve remove_works
emostov 0e4429f
Update update_position_for_works; create set_ledger_and_free_balance
emostov 7a96f37
Improve get_works
emostov d8bdcd6
Improve storage clean up checks in remove test
emostov 2522d75
Test: impl rebag_works + insert_and_remove_works
emostov de378b5
forgot file - Test: impl rebag_works + insert_and_remove_works
emostov e7fdad2
Small tweak
kianenigma 724c17e
Update voter_bags test to reflect unused bags are removed
emostov 8870351
Unbond & Rebond: do_rebag
emostov ec7b7cc
Prevent infinite loops with duplicate tail insert
emostov ad4247b
Merge branch 'prgn-nominator-unsorted-bags' into zeke-prgn-nominator-…
emostov b94fae3
Merge remote-tracking branch 'origin' into zeke-prgn-nominator-unsort…
emostov 03c6b74
Merge branch 'prgn-nominator-unsorted-bags' into zeke-prgn-nominator-…
emostov d59ea90
Check iter.count on voter list in pre-migrate
emostov 33cae7f
undo strang fmt comment stuff
emostov 605640b
Add in todo
emostov 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
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.