referrerpolicy=no-referrer-when-downgrade

Module integrity

Source
Expand description

Integrity tests for chain constants and pallets configuration.

Most of the tests in this module assume that the bridge is using standard (see crate::messages module for details) configuration.

Structs§

AssertChainConstants
Parameters for asserting chain-related constants.
AssertCompleteBridgeConstants
Parameters for asserting complete standard messages bridge.

Functions§

assert_bridge_grandpa_pallet_constants
Test that the constants, used in GRANDPA pallet configuration are valid.
assert_bridge_messages_pallet_constants
Test that the constants, used in messages pallet configuration are valid.
assert_chain_constants
Test that our hardcoded, chain-related constants, are matching chain runtime configuration.
assert_complete_with_parachain_bridge_constants
All bridge-related constants tests for the complete standard parachain messages bridge (i.e. with bridge GRANDPA, parachains and messages pallets deployed).
assert_complete_with_relay_chain_bridge_constants
All bridge-related constants tests for the complete standard relay-chain messages bridge (i.e. with bridge GRANDPA and messages pallets deployed).
assert_standalone_messages_bridge_constants
All bridge-related constants tests for the standalone messages bridge deployment (only with messages pallets deployed).
check_message_lane_weights
Check that the message lane weights are correct.