srml/authority-discovery: Abstract session key type (#3698)
* srml/authority-discovery: Abstract session key type Previously `srml/authority-discovery` dependet on the `srml/im-online` session key type directly. With this patch `srml/authority-discovery` is generic over the session key type it is going to use, as long as it implements the RuntimeAppPublic trait. With this patch one can use the `srml/authority-discovery` module without the `srml/im-online` module. Next to the above, this patch configures `node/runtime` to use the babe session keys for the authority discovery module. * srml/authority-discovery: Fix line length * srml/authority-discovery/Cargo: Move babe to dev-dependencies * node/runtime: Bump implementation version * srml/authority-discovery: Add doc comment for authority discovery Trait
Showing
- substrate/Cargo.lock 1 addition, 1 deletionsubstrate/Cargo.lock
- substrate/node/runtime/src/lib.rs 9 additions, 7 deletionssubstrate/node/runtime/src/lib.rs
- substrate/srml/authority-discovery/Cargo.toml 7 additions, 8 deletionssubstrate/srml/authority-discovery/Cargo.toml
- substrate/srml/authority-discovery/src/lib.rs 36 additions, 37 deletionssubstrate/srml/authority-discovery/src/lib.rs
Please register or sign in to comment