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 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.
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.