Crate bridge_runtime_common
source ·Expand description
Common types/functions that may be used by runtimes of all bridged chains.
Modules
- Types that allow runtime to act as a source/target endpoint of message lanes.
- Helpers for implementing various message-related runtime API mthods.
- Helpers for generating message storage proofs, that are used by tests and by benchmarks.
- Module provides utilities for easier XCM handling, e.g:
XcmExecutor->MessageSender->OutboundMessageQueue|Relayer|XcmRouter<-MessageDispatch<-InboundMessageQueue - Bridge transaction priority calculator.
- Signed extension that refunds relayer if he has delivered some new messages. It also refunds transaction cost if the transaction is an
utility.batchAll()with calls that are: delivering new messsage and all necessary underlying headers (parachain or relay chain).
Macros
- Declares a runtime-specific
BridgeRejectObsoleteHeadersAndMessagessigned extension.
Enums
- A mapping over
NetworkId. SinceNetworkIddoesn’t includeMillau,RialtoandRialtoParachain, we create some synthetic associations between these chains andNetworkIdchains.
Traits
- A duplication of the
FilterCalltrait.