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
-3
View File
@@ -171,9 +171,6 @@ decl_runtime_apis! {
#[skip_initialize_block]
#[initialize_block]
fn initialize_block(header: &<Block as BlockT>::Header);
/// Returns the authorities.
#[deprecated(since = "1.0", note = "Please switch to `AuthoritiesApi`.")]
fn authorities() -> Vec<AuthorityIdFor<Block>>;
}
/// The `Metadata` api trait that returns metadata for the runtime.