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
New sessions, kill consensus module #2802
Merged
Merged
Changes from 1 commit
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
81d2237
Draft of new sessions
gavofyork 4fc86da
Reintroduce tuple impls
gavofyork d24568a
Merge remote-tracking branch 'origin/master' into gav-new-sessions
gavofyork 84f1f1c
Move staking module to new session API
gavofyork 5c67469
More work on staking and grandpa.
gavofyork 5acfa04
Use iterator to avoid cloning and tuple macro
gavofyork fde708d
Make runtime build again
gavofyork b9b7d42
Polish the OpaqueKeys devex
gavofyork 445df61
Move consensus logic into system & aura.
gavofyork 4db0062
Fix up system module
gavofyork 6696c55
Get build mostly going. Stuck at service.rs
gavofyork dc9e8c6
Building again
gavofyork 7da4b04
Update srml/staking/src/lib.rs
gavofyork e2a0f2e
Refactoring out Consensus module, AuthorityIdOf, &c.
gavofyork 6440ca8
Merge remote-tracking branch 'origin/gav-new-sessions' into gav-new-s…
gavofyork cfea92a
Refactored out DigestItem::AuthoritiesChanged. Building.
gavofyork d3de475
Remove tentative code
gavofyork a061fd7
Remove invalid comment
gavofyork 7f303f9
Make Seal opaque and introduce nice methods for handling opaque items.
gavofyork a38084d
Merge remote-tracking branch 'origin/master' into gav-new-sessions
gavofyork f8b24e0
Start to use proper digest for Aura authorities tracking.
gavofyork fa47974
Fix up grandpa, remove system::Raw/Log
gavofyork dd93267
Refactor Grandpa to use new logging infrastructure.
gavofyork 7a2b935
Building again
gavofyork 4f9a5a3
Tidy up some AuthorityIds
gavofyork 4871529
Expunge most of the rest of the AuthorityKey confusion.
gavofyork afeed88
Remove cruft
gavofyork d1d25e7
Untangle last of the `AuthorityId`s.
gavofyork bf081a5
Sort out finality_tracker
gavofyork 77ec1ff
Refactor median getting
gavofyork a02de97
Apply suggestions from code review
Demi-Marie 1cca243
Session tests works
gavofyork 3bbd5ab
Merge remote-tracking branch 'origin/gav-new-sessions' into gav-new-s…
gavofyork 6101aae
Update core/sr-primitives/src/generic/digest.rs
gavofyork 5827ab5
Session tests works
gavofyork f8fa160
Merge remote-tracking branch 'origin/gav-new-sessions' into gav-new-s…
gavofyork 8a9a4a5
Fix for staking from @dvc94ch
gavofyork 9b4f1a4
log an error
gavofyork f650fe8
fix test runtime build
gavofyork ca4dda3
Some test fixes
gavofyork 7b339ef
Fix build.
dvc94ch 730b805
Move OpaqueKeys to primitives.
dvc94ch 8203a7e
Staking mock update to new session api.
dvc94ch 807c284
Use on_initialize instead of check_rotate_session.
dvc94ch ba4721f
Update tests to new staking api.
dvc94ch 979f3b5
fixup mock
dvc94ch 6e0cf27
Fix bond_extra_and_withdraw_unbonded_works.
dvc94ch 4cafd87
Fix bond_with_little_staked_value_bounded_by_slot_stake.
dvc94ch 4b5bd6b
Fix bond_with_no_staked_value.
dvc94ch 48b0238
Fix change_controller_works.
dvc94ch 379ddc9
Fix less_than_needed_candidates_works.
dvc94ch 7990ce5
Fix multi_era_reward_should_work.
dvc94ch f3e7f97
Fix nominating_and_rewards_should_work.
dvc94ch 94e58de
Fix nominators_also_get_slashed.
dvc94ch 5404cbf
Fix phragmen_large_scale_test.
dvc94ch ff246dd
Fix phragmen_poc_works.
dvc94ch 93843f9
Fix phragmen_score_should_be_accurate_on_large_stakes.
dvc94ch 5cc1c44
Fix phragmen_should_not_overflow.
dvc94ch cfa5237
Fix reward_destination_works.
dvc94ch d90ffdc
Fix rewards_should_work.
dvc94ch 8692b16
Fix sessions_and_eras_should_work.
dvc94ch 5f1ad03
Fix slot_stake_is_least_staked_validator.
dvc94ch 82946f5
Fix too_many_unbond_calls_should_not_work.
dvc94ch 6b6acd5
Fix wrong_vote_is_null.
dvc94ch 1822167
Fix runtime.
dvc94ch e87be9d
Fix wasm runtime build.
dvc94ch 5f110d8
Update Cargo.lock
dvc94ch a5866a6
Fix warnings.
dvc94ch 0378cff
Fix grandpa tests.
dvc94ch 3f4b234
Fix test-runtime build.
dvc94ch 71014e3
Fix template node build.
dvc94ch a97f98d
Fix stuff.
dvc94ch a75d3ad
Update Cargo.lock to fix CI
Demi-Marie 3fb729b
Merge branch 'master' into gav-new-sessions
Demi-Marie cbd8437
Re-add missing AuRa logs
Demi-Marie 99e58a7
Merge remote-tracking branch 'origin/master' into gav-new-sessions
gavofyork b8f6500
Update core/consensus/babe/src/digest.rs
gavofyork 8c15101
Kill log trait and all that jazz.
gavofyork 24d175c
Merge remote-tracking branch 'origin/gav-new-sessions' into gav-new-s…
gavofyork aa0956a
Refactor staking tests.
dvc94ch f788794
Fix ci runtime wasm check.
dvc94ch 91a0495
Line length 120.
dvc94ch 0399856
Make tests build again
gavofyork 6ef0cb9
Merge remote-tracking branch 'origin/gav-new-sessions' into gav-new-s…
gavofyork b777ba9
Remove trailing commas in function declarations
Demi-Marie df313e0
Fix type error
Demi-Marie 26f4a2d
Merge remote-tracking branch 'origin/master' into gav-new-sessions
Demi-Marie 988e94d
Fix compilation errors
Demi-Marie ae7cc46
Fix a test
gavofyork f82c155
Another couple of fixes
gavofyork f8af78d
Fix another test
gavofyork ea77d7d
More test fixes
gavofyork b6a5548
Another test fix
gavofyork bb19f0b
Merge branch 'master' into gav-new-sessions
gavofyork 3fcb3a7
Bump runtime.
gavofyork 03249cd
Wrap long line
gavofyork 56f5ac1
Fix build, remove redundant code.
gavofyork db47886
Issue to track TODO
gavofyork 6b44e5f
Leave the benchmark code alone.
gavofyork 2e8c85f
Merge remote-tracking branch 'origin/master' into gav-new-sessions
gavofyork 5beee4b
Fix missing `std::time::{Instant, Duration}`
Demi-Marie 3ee9625
Indentation
gavofyork 0ad33b9
Aura ConsensusLog as enum
gavofyork 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
Merge remote-tracking branch 'origin/master' into gav-new-sessions
- Loading branch information
commit a38084d03a74e76f913b7843796b7e6299ed7707
There are no files selected for viewing
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.
You are viewing a condensed version of this merge commit. You can view the full changes here.
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.