pub trait ChainWithGrandpa: Chain + ChainWithGrandpaBase {
type KeyOwnerProof: Decode + TypeInfo + Send;
const SYNCED_HEADERS_GRANDPA_INFO_METHOD: &'static str;
}
Expand description
Substrate-based chain that is using direct GRANDPA finality from minimal relay-client point of view.
Keep in mind that parachains are relying on relay chain GRANDPA, so they should not implement this trait.
Required Associated Types§
sourcetype KeyOwnerProof: Decode + TypeInfo + Send
type KeyOwnerProof: Decode + TypeInfo + Send
The type of the key owner proof used by the grandpa engine.
Required Associated Constants§
sourceconst SYNCED_HEADERS_GRANDPA_INFO_METHOD: &'static str
const SYNCED_HEADERS_GRANDPA_INFO_METHOD: &'static str
Name of the runtime API method that is returning the GRANDPA info associated with the
headers accepted by the submit_finality_proofs
extrinsic in the queried block.
Keep in mind that this method is normally provided by the other chain, which is bridged with this chain.
Object Safety§
This trait is not object safe.