Module bridge_hub_test_utils::test_cases::from_parachain
source · Expand description
Module contains predefined test-case scenarios for Runtime
with bridging capabilities
with remote parachain.
Structs§
- Adapter struct that implements
WithRemoteParachainHelper
.
Traits§
- Helper trait to test bridges with remote parachain.
Functions§
- Estimates transaction fee for default message confirmation transaction (batched with required proofs) from bridged parachain.
- Estimates transaction fee for default message delivery transaction (batched with required proofs) from bridged parachain.
- Estimates transaction fee for default message confirmation transaction (batched with required proofs) from bridged parachain.
- Estimates transaction fee for default message delivery transaction from bridged parachain.
- Test-case makes sure that Runtime can dispatch XCM messages submitted by relayer, with proofs (finality, para heads, message) batched together in signed extrinsic. Also verifies relayer transaction signed extensions work as intended.
- Test-case makes sure that Runtime can dispatch XCM messages submitted by relayer, with proofs (finality, para heads, message) independently submitted. Finality and para heads are submitted for free in this test. Also verifies relayer transaction signed extensions work as intended.
- Test-case makes sure that Runtime can dispatch XCM messages submitted by relayer, with proofs (finality, para heads, message) independently submitted. Also verifies relayer transaction signed extensions work as intended.