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§
- Assert
Chain Constants - Parameters for asserting chain-related constants.
- Assert
Complete Bridge Constants - 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.