fn grandpa_authorities(
        &self,
        __runtime_api_at_param__: &self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::BlockId<
            Block,
        >,
    ) -> std::result::Result<
        AuthorityList,
        self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::ApiError,
    > {
        let runtime_api_impl_params_encoded =
            self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::Encode::encode(&());
        self . GrandpaApi_grandpa_authorities_runtime_api_impl (__runtime_api_at_param__ , self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: ExecutionContext :: OffchainCall (None) , Some (()) , runtime_api_impl_params_encoded) . and_then (| r | match r { self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: NativeOrEncoded :: Native (n) => { Ok (n) } self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: NativeOrEncoded :: Encoded (r) => { < AuthorityList as self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: Decode > :: decode (& mut & r [..]) . map_err (| err | self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: ApiError :: FailedToDecodeReturnValue { function : "grandpa_authorities" , error : err , }) } })
    }
/// Get the current GRANDPA authorities and weights. This should not change except
/// for when changes are scheduled and the corresponding delay has passed.
///
/// When called at block B, it will return the set of authorities that should be
/// used to finalize descendants of this block (B+1, B+2, ...). The block B itself
/// is finalized by the authorities from block B-1.
Get the current GRANDPA authorities and weights. This should not change except
for when changes are scheduled and the corresponding delay has passed.

When called at block B, it will return the set of authorities that should be
used to finalize descendants of this block (B+1, B+2, ...). The block B itself
is finalized by the authorities from block B-1.
Get the current GRANDPA authorities and weights . This should not change except for when changes are scheduled and the corresponding delay has passed . When called at block B it will return the set of authorities that should be used to finalize descendants of this block ( B + 1 B + 2 ... ) . The block B itself is finalized by the authorities from block B - 1 .
fn grandpa_authorities(
        &self,
        __runtime_api_at_param__: &self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::BlockId<
            Block,
        >,
    ) -> std::result::Result<
        AuthorityList,
        self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::ApiError,
    > {
        let runtime_api_impl_params_encoded =
            self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::Encode::encode(&());
        self . GrandpaApi_grandpa_authorities_runtime_api_impl (__runtime_api_at_param__ , self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: ExecutionContext :: OffchainCall (None) , Some (()) , runtime_api_impl_params_encoded) . and_then (| r | match r { self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: NativeOrEncoded :: Native (n) => { Ok (n) } self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: NativeOrEncoded :: Encoded (r) => { < AuthorityList as self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: Decode > :: decode (& mut & r [..]) . map_err (| err | self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: ApiError :: FailedToDecodeReturnValue { function : "grandpa_authorities" , error : err , }) } })
    }
fn grandpa_authorities ( & self , __runtime_api_at_param__ : & self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: BlockId < Block , > , ) -> std :: result :: Result < AuthorityList , self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: ApiError , > { let runtime_api_impl_params_encoded = self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: Encode :: encode ( & ( ) ) ; self . GrandpaApi_grandpa_authorities_runtime_api_impl ( __runtime_api_at_param__ , self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: ExecutionContext :: OffchainCall ( None ) , Some ( ( ) ) , runtime_api_impl_params_encoded ) . and_then ( | r | match r { self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: NativeOrEncoded :: Native ( n ) => { Ok ( n ) } self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: NativeOrEncoded :: Encoded ( r ) => { < AuthorityList as self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: Decode > :: decode ( & mut & r [ .. ] ) . map_err ( | err | self :: sp_api_hidden_includes_DECL_RUNTIME_APIS :: sp_api :: ApiError :: FailedToDecodeReturnValue { function : " " , error : err , } ) } } ) }
Get the current GRANDPA authorities and weights.
Get the current GRANDPA authorities and weights .
&self
__runtime_api_at_param__
&self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::BlockId<
            Block,
        >
&self
__runtime_api_at_param__
&self::sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::BlockId<
            Block,
        >