Expand description
Module contains predefined test-case scenarios for Runtime
with bridging capabilities.
This file contains tests, suitable for all bridge runtimes. See from_parachain
and
from_grandpa_chain
submodules for tests, that are specific to the bridged chain type.
Modules§
- from_
grandpa_ chain - Module contains predefined test-case scenarios for
Runtime
with bridging capabilities with remote GRANDPA chain. - from_
parachain - Module contains predefined test-case scenarios for
Runtime
with bridging capabilities with remote parachain.
Macros§
Functions§
- can_
calculate_ weight_ for_ paid_ export_ message_ with_ reserve_ transfer - Estimates XCM execution fee for paid
ExportMessage
processing. - change_
bridge_ grandpa_ pallet_ mode_ by_ governance_ works - Test-case makes sure that
Runtime
can change bridge GRANDPA pallet operating mode via governance-like call. - change_
bridge_ messages_ pallet_ mode_ by_ governance_ works - Test-case makes sure that
Runtime
can change bridge messaging pallet operating mode via governance-like call. - change_
bridge_ parachains_ pallet_ mode_ by_ governance_ works - Test-case makes sure that
Runtime
can change bridge parachains pallet operating mode via governance-like call. - change_
storage_ constant_ by_ governance_ works - Test-case makes sure that
Runtime
can change storage constant via governance-like call - handle_
export_ message_ from_ system_ parachain_ to_ outbound_ queue_ works - Test-case makes sure that
Runtime
can handle xcmExportMessage
: Checks if received XCM messages is correctly added to the message outbound queue for delivery. For SystemParachains we expect unpaid execution. - initialize_
bridge_ by_ governance_ works - Test-case makes sure that
Runtime
can process bridging initialize via governance-like call - message_
dispatch_ routing_ works - Test-case makes sure that Runtime can route XCM messages received in inbound queue,
We just test here
MessageDispatch
configuration. We expect that runtime can route messages: 1. to Parent (relay chain) 2. to Sibling parachain - open_
and_ close_ bridge_ works - Test-case makes sure that
Runtime
can open/close bridges. - run_
test - Prepare default runtime storage and run test within this context.
- set_
storage_ keys_ by_ governance_ works - Test-case makes sure that
Runtime
can change storage constant via governance-like call