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
Adding benchmarking for new pallet pallet_election_provider_support_onchain
#11126
Closed
georgesdib
wants to merge
63
commits into
paritytech:master
from
georgesdib:npos-election-benchmarking
Closed
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
922f655
Allow `pallet-election-provider` to accept smaller
5e63199
Fixing a typo
d0177c0
Adding some more tests
46de469
making it a URL
6ad51ab
Updating test name as per suggestion
georgesdib 0506bd1
Updating documentation to be more explicit
georgesdib a604cea
Fixing formatting
a7bf404
`Fallback` now of type `InstantElectionProvider`
8f3e8b4
Allow `pallet-election-provider` to accept smaller
80ce9cb
Fixing a typo
1960035
Adding some more tests
3f87102
making it a URL
f683841
Updating test name as per suggestion
georgesdib 3e3752f
Updating documentation to be more explicit
georgesdib 521e4d2
Fixing formatting
d94ac40
`Fallback` now of type `InstantElectionProvider`
d389ee3
Merge branch 'election-fallback' of https://github.com/georgesdib/sub…
6e8c419
Merging types into one type with generics
de45d73
Merge upstream into current branch
47dc9ef
Removing `ConstUSize` and use `ConstU32`
bcc76e5
cleaning up the code
b7a7dbf
Merge branch 'paritytech:master' into election-fallback
georgesdib ee3848a
deprecating `OnChainSequentialPhragmen`
c760262
Merge branch 'election-fallback' of https://github.com/georgesdib/sub…
27477c0
Merge branch 'paritytech:master' into election-fallback
georgesdib d2616bc
Amending docs
3001d58
Merge branch 'election-fallback' of https://github.com/georgesdib/sub…
726bfc1
Merge branch 'paritytech:master' into election-fallback
georgesdib ff9fa7e
Adding some explicit imports
04eeb7f
Adding some explicit imports
38e204c
Implementing generic `BoundedOnchainExecution`
75a459f
Use the right Balancing strategy
afe8385
Merge branch 'paritytech:master' into election-fallback
georgesdib 598ce52
Refactoring `onchain::Config`
086ea2d
Merge branch 'master' into election-fallback
9fdc250
Merge master
a09a7d7
fmt
e60e026
Name cleanups after review suggestions
cd42c4e
cosmetics
2d698d3
renaming `instant_elect` to `elect_with_bounds`
7c7c1ba
`BoundedOnchainExecution` -> `BoundedExecution`
762966f
feedback from kian
kianenigma 5aae3e2
Merge pull request #47 from georgesdib/kiz-election-fallback
georgesdib ae86c59
fmt + unneeded import
e4afb57
Moving `onchain::Config` to become a pallet
0262dd4
merge master
a5e74ba
Missing import
8fe4bf5
First stab at benchmarking
d7a8273
Fixed tests for benchmarking
0fbe599
fixed the benchmark
2c840fd
Fully functionting benchmarking
35a9f83
Refactoring code to avoid duplication
3b8bb78
Adding weights, first fully working prototype
2d75103
Adding `PhragMMS` and some cleanups
a223e0d
Fixing tests everywhere
e13be98
Implementing default values
2b62b31
Added a warning
2cf6336
Fixing rustdocs
4c466ac
Adding `WeightInfo`
4566da8
Fixing typo
def5ed8
Merge branch 'paritytech:master' into npos-election-benchmarking
georgesdib 587077b
Some cleanups
678b7e5
Merge branch 'npos-election-benchmarking' of https://github.com/georg…
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 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.