mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Override RuntimeApi::authorities() to include past sessions (#2494)
* override authorities runtime call * addressing feedback * addressing feedback and restoring semantics * updated helper function * naming convention + comment Co-authored-by: Parity <parity2305@gmail.com>
This commit is contained in:
@@ -849,7 +849,7 @@ sp_api::impl_runtime_apis! {
|
||||
|
||||
impl authority_discovery_primitives::AuthorityDiscoveryApi<Block> for Runtime {
|
||||
fn authorities() -> Vec<AuthorityDiscoveryId> {
|
||||
AuthorityDiscovery::authorities()
|
||||
runtime_api_impl::relevant_authority_ids::<Runtime>()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user