referrerpolicy=no-referrer-when-downgrade
macro_rules! decl_bridge_finality_runtime_apis {
    ($chain: ident $(, $consensus: ident => $justification_type: ty)?) => { ... };
    ($chain: ident, grandpa) => { ... };
}
Expand description

Convenience macro that declares bridge finality runtime apis and related constants for a chain. This includes:

  • chain-specific bridge runtime APIs:
    • <ThisChain>FinalityApi
  • constants that are stringified names of runtime API methods:
    • BEST_FINALIZED_<THIS_CHAIN>_HEADER_METHOD
    • <THIS_CHAIN>_ACCEPTED_<CONSENSUS>_FINALITY_PROOFS_METHOD The name of the chain has to be specified in snake case (e.g. bridge_hub_polkadot).