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
Abstracts elections-phragmen pallet to use NposSolver #12588
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
b714023
Abstracts elections-phragmen pallet to use NposSolver
gpestana 452292f
Update frame/elections-phragmen/src/lib.rs
gpestana bf8d1c2
Update frame/elections-phragmen/src/lib.rs
gpestana 5fa443e
changes the name of the pallet; adds changelog
gpestana f71c095
update changelog
gpestana e37206c
Adds weight testing
gpestana f7e970d
Adds log macro_rules
gpestana 7b86c86
renames elections-phragment dir to elections
gpestana 7ab9113
Merge remote-tracking branch 'origin/master' into gpestana8250_nposso…
e21f6ae
weights rename
gpestana e9c3daf
fixes typo in cargo toml
gpestana 5d947af
pre/post solve weight scafolding
gpestana ecd7b63
refactor do_post_election
gpestana 090aa90
refactors into pre and post election solve for independent benchmarking
gpestana 1e2ef46
deconstructs PreElectionResults struct
gpestana d4b8c4e
updates benchmarking pre and post election solve; mock weights
gpestana c8a3508
Update frame/elections/src/lib.rs
gpestana 8021572
Update frame/elections/src/lib.rs
gpestana c3db2cb
addresses PR comments
gpestana 482dde3
adds pre_solve and post_sove weights
gpestana 9749d12
Adds comments on election pallet id param name change
gpestana cbc8386
resolves conflict
gpestana 4d51390
Merge branch 'master' of https://github.com/paritytech/substrate into…
26f9848
".git/.scripts/bench-bot.sh" pallet dev pallet_elections
afce2d2
Finishes pre-post solve weights
gpestana 4208375
Update frame/elections/src/lib.rs
gpestana 85e5a70
Update frame/elections/src/lib.rs
gpestana 443f73d
Addresses PR comments: no panic in on_init path; nits
gpestana 8945d96
Merge branch 'master' into gpestana8250_npossolver
gpestana 7636999
Merge branch 'master' into gpestana8250_npossolver
gpestana 0dc67e0
Merge branch 'master' into gpestana8250_npossolver
gpestana 321b654
Fixes node build
gpestana ac36d28
Merge remote-tracking branch 'origin/master' into gpestana8250_nposso…
ee19357
Merge branch 'master' into gpestana8250_npossolver
gpestana e94d7a5
Merge branch 'master' into gpestana8250_npossolver
gpestana 69111d9
Merge branch 'master' into gpestana8250_npossolver
gpestana bfe6fd9
Merge branch 'master' into gpestana8250_npossolver
gpestana 8a1ebac
Merge branch 'master' into gpestana8250_npossolver
gpestana 5343a6c
Implements approval voting to use as a `NposSolver` (#13367)
gpestana 59900fc
fmt
gpestana da3339e
remove unecessary file
gpestana fea82e8
comment clarification
gpestana c1f5225
Merge remote-tracking branch 'origin/master' into gpestana8250_nposso…
64df412
re-run weights
614fe8a
fix typo
04483c6
updates MaxVoters in tests for integrity_tests to pass
gpestana 51258d2
Merge remote-tracking branch 'origin/master' into gpestana8250_nposso…
281f7b8
Merge branch 'master' into gpestana8250_npossolver
gpestana 70ea87a
Refactors election provider support benchmarks outside its own crate …
gpestana 49e36db
Merge branch 'master' into gpestana8250_npossolver
gpestana 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 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 was deleted.
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
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.