referrerpolicy=no-referrer-when-downgrade
macro_rules! decl_bridge_messages_runtime_apis {
    ($chain: ident, $lane_id_type:ty) => { ... };
}
Expand description

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

  • chain-specific bridge runtime APIs:
    • To<ThisChain>OutboundLaneApi<LaneIdType>
    • From<ThisChain>InboundLaneApi<LaneIdType>
  • constants that are stringified names of runtime API methods:
    • FROM_<THIS_CHAIN>_MESSAGE_DETAILS_METHOD, The name of the chain has to be specified in snake case (e.g. bridge_hub_polkadot).