Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
399cf4b
Revamp npos-elections and implement phragmms
kianenigma Jul 19, 2020
6a7354c
Update primitives/npos-elections/src/phragmms.rs
kianenigma Jul 20, 2020
2254e21
Master.into()
kianenigma Jul 27, 2020
bd4c4ca
Merge branch 'kiz-impl-phragmms' of github.com:paritytech/substrate i…
kianenigma Jul 27, 2020
2dcfade
Fix build
kianenigma Jul 27, 2020
b29ff31
Some review grumbles
kianenigma Jul 27, 2020
51e98ff
Master.into()
kianenigma Aug 4, 2020
37b57d8
Add some stuff for remote testing
kianenigma Aug 4, 2020
01e5473
fix some of the grumbles.
kianenigma Aug 4, 2020
3ed7024
Add remote testing stuff.
kianenigma Aug 4, 2020
47640bb
Cleanup
kianenigma Aug 6, 2020
1c765c2
Master.into()
kianenigma Aug 11, 2020
dca91e6
fix docs
kianenigma Aug 11, 2020
2fa2a96
Update primitives/arithmetic/src/rational.rs
kianenigma Aug 12, 2020
3892d26
Master.into()
kianenigma Aug 12, 2020
20e3de0
Small config change
kianenigma Aug 12, 2020
c28858d
Better handling of approval_stake == 0
kianenigma Aug 13, 2020
073325d
Final touhces.
kianenigma Aug 13, 2020
decc17f
Clean fuzzer a bit
kianenigma Aug 13, 2020
c675a20
Clean fuzzer a bit
kianenigma Aug 13, 2020
8f5087b
Merge branch 'master' of github.com:paritytech/substrate into kiz-imp…
kianenigma Aug 13, 2020
b27700d
Master.into()
kianenigma Aug 14, 2020
427ee99
Master.into()
kianenigma Aug 21, 2020
9ec941b
Update primitives/npos-elections/src/balancing.rs
kianenigma Aug 24, 2020
b4a91dd
Master.into()
kianenigma Aug 24, 2020
67d2be6
Fix fuzzer.
kianenigma Sep 11, 2020
432db79
Master.into()
kianenigma Sep 11, 2020
8f75cd9
Better api for normalize
kianenigma Sep 14, 2020
4e10ab9
Master.into()
kianenigma Sep 14, 2020
7a3aa8b
Add noramlize_up
kianenigma Sep 15, 2020
379e4c9
A large number of small fixes.
kianenigma Sep 16, 2020
15f452e
Master.into()
kianenigma Sep 22, 2020
4b26106
make it merge ready
kianenigma Sep 22, 2020
629f39a
Fix warns
kianenigma Sep 23, 2020
06edce5
bump
kianenigma Sep 23, 2020
8fd1959
Fix fuzzers a bit.
kianenigma Sep 23, 2020
c14b64a
Fix warns as well.
kianenigma Sep 23, 2020
9f97731
Fix more tests.
kianenigma Sep 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix docs
  • Loading branch information
kianenigma committed Aug 11, 2020
commit dca91e65a1bc3035ccfc58ff6ef7c0c23c25556d
2 changes: 1 addition & 1 deletion frame/elections-phragmen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ decl_storage! {
// ---- State
/// The current elected membership. Sorted based on account id.
pub Members get(fn members): Vec<(T::AccountId, BalanceOf<T>)>;
/// The current runners_up. Sorted based on low to high merit (worse to best runner).
/// The current runners_up. Sorted based on low to high merit (worse to best).
pub RunnersUp get(fn runners_up): Vec<(T::AccountId, BalanceOf<T>)>;
/// The total number of vote rounds that have happened, excluding the upcoming one.
pub ElectionRounds get(fn election_rounds): u32 = Zero::zero();
Expand Down