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
remove the uselsss weight return type from election provider API #9569
Merged
Merged
Changes from 10 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
1873a7a
remove the uselsss weight return type from election provider API
kianenigma bda35d5
Merge branch 'master' of github.com:paritytech/substrate into kiz-rem…
kianenigma 101b5e8
fix everything, should be ready for final benchmark
kianenigma b71433c
simplify on_init a bit furhter
kianenigma 87c2416
Merge branch 'master' of github.com:paritytech/substrate into kiz-rem…
kianenigma 5707bce
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
56796ac
Merge branch 'master' of https://github.com/paritytech/substrate into…
293c076
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
e6eb8b0
remove unwraps
kianenigma 924b884
Merge branch 'kiz-remove-election-weight-api' of github.com:paritytec…
kianenigma d3f4cc5
fmt
kianenigma ca0568b
Merge branch 'master' of github.com:paritytech/substrate into kiz-rem…
kianenigma 1ce23e6
Update lock file
kianenigma 731c4b2
whitelist block weight
kianenigma 1dfaee2
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
faa09b5
Merge branch 'master' of https://github.com/paritytech/substrate into…
779bb5f
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
c1962c8
fix warning
kianenigma e5a0e12
Merge branch 'kiz-remove-election-weight-api' of github.com:paritytec…
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
this note is still relevant?
Could update benchmarks in the future
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.
in the past this benchmark created the snapshot as well, and therefore it was a function of the byte length. Now, it is not doing that anymore, therefore byte length is irrelevant.
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.
I get that the removal of these comments seem like mistakes, but they are (hopefully) exactly all signs of reduction of complexity: we no longer need to care about these details in this pallet. Whoever is the implementer of
T::DataProvider
will record its own appropriate weight.