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 methods.
- Signed extension for the
pallet-bridge-messagesthat is able to reject obsolete (and some other invalid) transactions. - 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 message and all necessary underlying headers (parachain or relay chain).
Macros§
- Declares a runtime-specific
BridgeRejectObsoleteHeadersAndMessagessigned extension.
Traits§
- A duplication of the
FilterCalltrait.