Module bridge_runtime_common::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§
- Parameters for asserting chain-related constants.
- Parameters for asserting complete standard messages bridge.
Functions§
- Test that the constants, used in GRANDPA pallet configuration are valid.
- Test that the constants, used in messages pallet configuration are valid.
- Test that our hardcoded, chain-related constants, are matching chain runtime configuration.
- All bridge-related constants tests for the complete standard parachain messages bridge (i.e. with bridge GRANDPA, parachains and messages pallets deployed).
- All bridge-related constants tests for the complete standard relay-chain messages bridge (i.e. with bridge GRANDPA and messages pallets deployed).
- All bridge-related constants tests for the standalone messages bridge deployment (only with messages pallets deployed).
- Check that the message lane weights are correct.