Clean up the basic-authorship crate (#3206)
* Switch consensus-common to new futures * Fix tests * More tests fixing * Make Proposer, OnSlot and SyncOracle mut * Make the Environment mut as well * Fix test * Fix Babe tests * Babe fixes * Fix CLI service tests * Fix Babe tests * Remove unnecessary trait bound * Inline the code of BlockBuilder and AuthoringApi * Remove warning lint * Bounds simplification * Imports simplification * Don't panic on bad generated block * Code style * Add doc example * Remove dependency on aura * Order dependencies alphabetically * Minor style
Showing
- substrate/Cargo.lock 0 additions, 1 deletionsubstrate/Cargo.lock
- substrate/core/basic-authorship/Cargo.toml 6 additions, 7 deletionssubstrate/core/basic-authorship/Cargo.toml
- substrate/core/basic-authorship/src/basic_authorship.rs 104 additions, 164 deletionssubstrate/core/basic-authorship/src/basic_authorship.rs
- substrate/core/basic-authorship/src/lib.rs 38 additions, 3 deletionssubstrate/core/basic-authorship/src/lib.rs
- substrate/core/consensus/aura/src/lib.rs 8 additions, 9 deletionssubstrate/core/consensus/aura/src/lib.rs
- substrate/core/consensus/babe/src/lib.rs 4 additions, 5 deletionssubstrate/core/consensus/babe/src/lib.rs
- substrate/core/consensus/babe/src/tests.rs 5 additions, 5 deletionssubstrate/core/consensus/babe/src/tests.rs
- substrate/core/consensus/common/src/lib.rs 13 additions, 11 deletionssubstrate/core/consensus/common/src/lib.rs
- substrate/core/consensus/rhd/src/lib.rs 1 addition, 1 deletionsubstrate/core/consensus/rhd/src/lib.rs
- substrate/core/consensus/slots/src/lib.rs 3 additions, 3 deletionssubstrate/core/consensus/slots/src/lib.rs
- substrate/core/network/src/service.rs 14 additions, 3 deletionssubstrate/core/network/src/service.rs
- substrate/node-template/src/service.rs 2 additions, 2 deletionssubstrate/node-template/src/service.rs
- substrate/node/cli/src/service.rs 5 additions, 5 deletionssubstrate/node/cli/src/service.rs
Please register or sign in to comment