referrerpolicy=no-referrer-when-downgrade

Crate bridge_runtime_common

Source
Expand description

Common types/functions that may be used by runtimes of all bridged chains.

Modules§

extensions
Transaction extension that rejects bridge-related transactions, that include obsolete (duplicated) data or do not pass some additional pallet-specific checks.
integrity
Integrity tests for chain constants and pallets configuration.
messages_api
Helpers for implementing various message-related runtime API methods.
messages_benchmarking
Everything required to run benchmarks of messages module, based on bridge_runtime_common::messages implementation.
parachains_benchmarking
Everything required to run benchmarks of parachains finality module.

Macros§

assert_bridge_messages_pallet_types
Macro that ensures that the bridge messages pallet is configured properly to bridge using given configuration.
assert_chain_types
Macro that ensures that the runtime configuration and chain primitives crate are sharing the same types (nonce, block number, hash, hasher, account id and header).
assert_complete_bridge_types
Macro that combines four other macro calls - assert_chain_types, assert_bridge_types, and assert_bridge_messages_pallet_types. It may be used at the chain that is implementing standard messages bridge with messages pallets deployed.
generate_bridge_reject_obsolete_headers_and_messages
Declares a runtime-specific BridgeRejectObsoleteHeadersAndMessages signed extension.