Remove deprecated authorities function (#2785)

* Remove deprecated authorities function

* Bump spec

* Fixes compilation

* Remove last piece
This commit is contained in:
Bastian Köcher authored and GitHub committed 2019-06-04 22:28:18 +02:00
1 parent 9ae3082ef0
commit 4d9efbc1d5
11 files changed
+741 -296

No files matched your search

-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.