pub fn authorities() -> Vec<AuthorityId> {
	let len: u32 = storage::unhashed::get(well_known_keys::AUTHORITY_COUNT)
		.expect("There are always authorities in test-runtime");
	(0..len)
		.map(|i| storage::unhashed::get(&i.to_keyed_vec(well_known_keys::AUTHORITY_PREFIX))
			.expect("Authority is properly encoded in test-runtime")
		)
		.collect()
}
/// Get authorities at given block.
Get authorities at given block.
Get authorities at given block .
pub fn authorities() -> Vec<AuthorityId> {
	let len: u32 = storage::unhashed::get(well_known_keys::AUTHORITY_COUNT)
		.expect("There are always authorities in test-runtime");
	(0..len)
		.map(|i| storage::unhashed::get(&i.to_keyed_vec(well_known_keys::AUTHORITY_PREFIX))
			.expect("Authority is properly encoded in test-runtime")
		)
		.collect()
}
pub fn authorities ( ) -> Vec < AuthorityId > { let len : u32 = storage :: unhashed :: get ( well_known_keys :: AUTHORITY_COUNT ) . expect ( " " ) ; ( 0 .. len ) . map ( | i | storage :: unhashed :: get ( & i . to_keyed_vec ( well_known_keys :: AUTHORITY_PREFIX ) ) . expect ( " " ) ) . collect ( ) }
Get authorities at given block.
Get authorities at given block .