Remove deprecated authorities function (#2785)

* Remove deprecated authorities function

* Bump spec

* Fixes compilation

* Remove last piece
This commit is contained in:
Bastian Köcher
2019-06-04 22:28:18 +02:00
committed by GitHub
parent 9ae3082ef0
commit 4d9efbc1d5
11 changed files with 741 additions and 296 deletions
+2 -6
View File
@@ -58,8 +58,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("node"),
impl_name: create_runtime_str!("substrate-node"),
authoring_version: 10,
spec_version: 91,
impl_version: 93,
spec_version: 92,
impl_version: 92,
apis: RUNTIME_API_VERSIONS,
};
@@ -277,10 +277,6 @@ impl_runtime_apis! {
fn initialize_block(header: &<Block as BlockT>::Header) {
Executive::initialize_block(header)
}
fn authorities() -> Vec<AuthorityIdFor<Block>> {
panic!("Deprecated, please use `AuthoritiesApi`.")
}
}
impl client_api::Metadata<Block> for Runtime {