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.6k
Decouple Staking and Election - Part 2.1: Unleash Multi Phase #8113
Merged
Merged
Changes from 60 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
d998b12
Base features and traits.
kianenigma 5aea9cc
pallet and unsigned phase
kianenigma 632e107
Undo bad formattings.
kianenigma c52e65d
Master.into()
kianenigma b4fc5e1
some formatting cleanup.
kianenigma cc26881
Small self-cleanup.
kianenigma 67a9fae
Master.into()
kianenigma 75eca3f
Make it all build
kianenigma 8daec3a
self-review
kianenigma 49613ed
Some doc tests.
kianenigma 35f1faf
Some changes from other PR
kianenigma e01cacc
Fix session test
kianenigma 6278150
Merge branch 'master' into kiz-election-provider-2-two-phase-unsigned
shawntabrizi 4c516cb
Update Cargo.lock
shawntabrizi 8c8d1e6
Update frame/election-provider-multi-phase/src/lib.rs
kianenigma 4b58c91
Some review comments
kianenigma f4029aa
Merge branch 'kiz-election-provider-2-two-phase-unsigned' of github.c…
kianenigma f16ac88
Master.into()
kianenigma 528917e
Rename + make encode/decode
kianenigma 1a5794a
Do an assert as well, just in case.
kianenigma 01e63ed
Fix build
kianenigma 4ccecdf
Update frame/election-provider-multi-phase/src/unsigned.rs
kianenigma 83a789e
Las comment
kianenigma adb3618
Merge branch 'kiz-election-provider-2-two-phase-unsigned' of github.c…
kianenigma 7c71df0
fix staking fuzzer.
kianenigma 12b1640
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
6397d4a
Add one last layer of feasibility check as well.
kianenigma 80d3c31
Merge branch 'kiz-election-provider-2-two-phase-unsigned' of github.c…
kianenigma 7d6f6ad
Last fixes to benchmarks
kianenigma 2e28437
Some more docs.
kianenigma 5fda744
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
1ce6c8e
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
f63c5b8
Some nits
kianenigma 8029c01
Merge branch 'kiz-election-provider-2-two-phase-unsigned' of github.c…
kianenigma 5973b61
It all works
kianenigma 0882c62
Master.into()
kianenigma e137035
Some self cleanup
kianenigma 428c4c9
Master.into()
kianenigma a16b964
Update frame/staking/src/lib.rs
kianenigma 6d506a4
remove most todos.
kianenigma 75accd3
Merge branch 'kiz-election-provider-21-enable-multi-phase' of github.…
kianenigma df3fb9a
Round of self-review.
kianenigma e76af15
Merge branch 'master' of github.com:paritytech/substrate into kiz-ele…
kianenigma 530ab32
Fix migration
kianenigma 9a61b20
Merge branch 'master' of github.com:paritytech/substrate into kiz-ele…
kianenigma c92be7e
clean macro
kianenigma 794f0ed
Master.into()
kianenigma 789b35c
Revert wrong merge
kianenigma 5732f01
Holy master.into()
kianenigma 964771c
Merge branch 'master' of github.com:paritytech/substrate into kiz-ele…
kianenigma 37b666d
remove fuzzer stuff.
kianenigma ec487a4
Self review
kianenigma 943fc9d
Update frame/staking/src/lib.rs
kianenigma 7963165
review comments
kianenigma 8cbc2bb
ccccrbvlhcjehndjkuknhvijigbrjgdjellvhttutb
kianenigma a7ec248
add logs
kianenigma 79b6b45
Merge branch 'master' of github.com:paritytech/substrate into kiz-ele…
kianenigma 8e23866
Master.into()
kianenigma 1a80518
Add tests to demonstrate the capacity of the snapshot.
kianenigma 228b0d3
Replace upgrade
kianenigma 9f6fdab
Last touches
kianenigma ecdf259
Merge remote-tracking branch 'origin/master' into kiz-election-provid…
db58d4b
Fix benchmakrs
kianenigma 2824957
Merge branch 'kiz-election-provider-21-enable-multi-phase' of github.…
kianenigma 92e2619
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
9f74fbb
Merge remote-tracking branch 'origin/master' into kiz-election-provid…
75a7a76
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
dfe6ef9
Merge branch 'master' of github.com:paritytech/substrate into kiz-ele…
kianenigma 20e8c7c
remove unused stuff
kianenigma 408af31
Merge branch 'kiz-election-provider-21-enable-multi-phase' of github.…
kianenigma f2f1293
Fix tests.
kianenigma b47ff14
Merge branch 'master' of github.com:paritytech/substrate into kiz-ele…
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
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 was deleted.
Oops, something went wrong.
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.
We didnt get rid of anything?
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.
We still need to generate the static solution type here at compile time
sp_npos_election::generate_compact_solution!
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.
and will be fixed here: #8368