This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Couldn't load subscription status.
- Fork 2.7k
Fix elections-phragmen and proxy issue #7040
Merged
Merged
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
dd4607b
Fix elections-phragmen and proxy issue
kianenigma 6bd6221
remove TODO
kianenigma 57de14e
Update bond to be per-vote
kianenigma 684802e
Update frame/elections-phragmen/src/lib.rs
kianenigma 70852fa
Fix benchmakrs
kianenigma 4b7d0a6
Merge branch 'kiz-fix-proxy-election-drain' of github.com:paritytech/…
kianenigma 77caa5c
Fix weight as well.
kianenigma 06a0aa0
Add license
kianenigma 9943042
Make weight interpreted wasm! 🤦🏻♂️
kianenigma f9bd4a3
Merge branch 'master' into kiz-fix-proxy-election-drain
gavofyork f9ea73a
Remove a bunch of TODOs
kianenigma 24c416b
Add migration
kianenigma 10e3687
Better storage version.
kianenigma 4495ead
Functionify.
kianenigma 3c1a2ef
Fix deposit scheme.
kianenigma 1b95224
remove legacy bond.
kianenigma 2c677c2
Master.into()
kianenigma d2ec181
Master.into()
kianenigma a628850
better logging.
kianenigma f6189d5
Fix benchmarking test
kianenigma e812815
Fix confused deposit collection.
kianenigma 498376c
Add fine
kianenigma d9b2204
Merge branch 'master' of github.com:paritytech/substrate into kiz-fix…
kianenigma 4691703
Merge branch 'master' of github.com:paritytech/substrate into kiz-fix…
kianenigma 88db61d
Master.into()
kianenigma b4e2a7c
Master.into()
kianenigma c871c81
Better name for storage item
kianenigma 12c18d5
Fix name again.
kianenigma f900b68
remove unused
kianenigma 6c942b4
Update frame/elections-phragmen/src/lib.rs
kianenigma 8e3c2eb
Update frame/elections-phragmen/src/lib.rs
kianenigma e674a60
Merge branch 'master' of github.com:paritytech/substrate into kiz-fix…
kianenigma a99bebc
Merge remote-tracking branch 'origin/master' into kiz-fix-proxy-elect…
shawntabrizi f5700cf
cargo run --release --features runtime-benchmarks --manifest-path bin…
shawntabrizi 0564e59
new weight fns
kianenigma 60d7d38
Merge branch 'kiz-fix-proxy-election-drain' of github.com:paritytech/…
kianenigma 1b48d0d
Fix build
kianenigma 960a474
Fix line width
kianenigma 19e9436
fix benchmakrs
kianenigma 76cb36f
fix warning
kianenigma 820d76f
cargo run --release --features runtime-benchmarks --manifest-path bin…
4caea9f
Tune the stake again
kianenigma 0c1043f
Merge branch 'kiz-fix-proxy-election-drain' of github.com:paritytech/…
kianenigma df267fa
cargo run --release --features runtime-benchmarks --manifest-path bin…
1621131
Merge branch 'master' of github.com:paritytech/substrate into kiz-fix…
kianenigma c79b522
Merge branch 'kiz-fix-proxy-election-drain' of github.com:paritytech/…
kianenigma 50fa257
Fix builds
kianenigma 8bd074f
All tests work again.
kianenigma 29880e4
A large number of fixes.
kianenigma d78f6bb
Fix event as well.
kianenigma 5d09983
more fixes.
kianenigma 6668ac1
Fix node build
kianenigma 3dd01d8
Some fixes to benchmarks
kianenigma 694e42a
Merge remote-tracking branch 'origin/master' into kiz-fix-proxy-elect…
cf94f49
Fix some warnings.
kianenigma ea69a54
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
b2f36bd
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
1fd2b08
Update frame/elections-phragmen/src/lib.rs
kianenigma 585e599
a batch of review comments.
kianenigma 4b9b207
Merge branch 'kiz-fix-proxy-election-drain' of github.com:paritytech/…
kianenigma ea17535
Master.into()
kianenigma 4b34e72
Fix a test.
kianenigma ecb0e4e
Fix some more tests.
kianenigma e810cc7
do migration with pallet version???
kianenigma e650c02
Master.into()
kianenigma 8742865
Final touches.
kianenigma d6de615
Remove unused storage.
kianenigma 6cae3da
another rounds of changes and fixes.
kianenigma 3c0d341
Update frame/elections-phragmen/src/lib.rs
kianenigma 3ca1590
Update frame/elections-phragmen/src/lib.rs
kianenigma 9c9819b
Review grumbles.
kianenigma 68ff142
Merge branch 'kiz-fix-proxy-election-drain' of github.com:paritytech/…
kianenigma 797d04c
Fix ocnflics
kianenigma 73a3537
Fix a bit more.
kianenigma 98f349e
Fix build
kianenigma 9454a68
Experimental: independent migration.
kianenigma c750f74
WIP: isolated migration logics
gui1117 e11a216
clean up.
kianenigma 1e2c8e9
make migration struct private and move migration to own file
gui1117 583aa82
add doc
gui1117 dca4bd5
Merge remote-tracking branch 'origin/master' into kiz-fix-proxy-elect…
gui1117 c90d25a
Merge remote-tracking branch 'origin/master' into kiz-fix-proxy-elect…
gui1117 586c61c
fix StorageInstance new syntax
gui1117 0a0ef71
Update frame/elections-phragmen/src/migrations_3_0_0.rs
gui1117 a205401
Master.into()
kianenigma 63a4c56
another round of self-review.
kianenigma ec067c9
bit better formatting
kianenigma 5dab8bc
Merge remote-tracking branch 'origin/master' into kiz-fix-proxy-elect…
32cb6c1
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
38881e0
Fix tests.
kianenigma e4d7464
Master.into()
kianenigma 79d1d5b
Master.into()
kianenigma 7d95b15
Round of self-review
kianenigma ba12aec
Clean migrations
kianenigma 673aed7
Merge remote-tracking branch 'origin/master' into kiz-fix-proxy-elect…
99f5fd2
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
92dbabe
Revert unwanted change to construct-runtime
kianenigma c688a6f
Merge branch 'kiz-fix-proxy-election-drain' of github.com:paritytech/…
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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Changelog | ||
| All notable changes to this crate will be documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
| and this crate adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [3.0.0] - UNRELEASED | ||
|
|
||
| ### Added | ||
| [Add slashing events to elections-phragmen](https://github.com/paritytech/substrate/pull/7543) | ||
|
|
||
| ### Changed | ||
|
|
||
| ### Fixed | ||
| [Don't slash all outgoing members](https://github.com/paritytech/substrate/pull/7394) | ||
| [Fix wrong outgoing calculation in election](https://github.com/paritytech/substrate/pull/7384) | ||
|
|
||
| ### Security | ||
| \[**Needs Migration**\] [Fix elections-phragmen and proxy issue + Record deposits on-chain](https://github.com/paritytech/substrate/pull/7040) | ||
|
|
||
| ## [2.0.0] - 2020-09-2020 | ||
|
|
||
| Initial version from which version tracking has begun. | ||
|
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [package] | ||
| name = "pallet-elections-phragmen" | ||
| version = "2.0.1" | ||
| version = "3.0.0" | ||
kianenigma marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| authors = ["Parity Technologies <[email protected]>"] | ||
| edition = "2018" | ||
| license = "Apache-2.0" | ||
|
|
||
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.