Macro bp_runtime::decl_bridge_runtime_apis
source · macro_rules! decl_bridge_runtime_apis { ($chain: ident $(, $consensus: ident, $lane_id_type:ident)?) => { ... }; }
Expand description
Convenience macro that declares bridge finality runtime apis, bridge messages runtime apis
and related constants for a chain.
The name of the chain has to be specified in snake case (e.g. bridge_hub_polkadot
).