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§

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

Macros§

  • Macro that ensures that the bridge messages pallet is configured properly to bridge using given configuration.
  • 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).
  • 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.
  • Declares a runtime-specific BridgeRejectObsoleteHeadersAndMessages signed extension.