referrerpolicy=no-referrer-when-downgrade

Module from_parachain

Source
Expand description

Module contains predefined test-case scenarios for Runtime with bridging capabilities with remote parachain.

Structs§

WithRemoteParachainHelperAdapter
Adapter struct that implements WithRemoteParachainHelper.

Traits§

WithRemoteParachainHelper
Helper trait to test bridges with remote parachain.

Functions§

can_calculate_fee_for_complex_message_confirmation_transaction
Estimates transaction fee for default message confirmation transaction (batched with required proofs) from bridged parachain.
can_calculate_fee_for_complex_message_delivery_transaction
Estimates transaction fee for default message delivery transaction (batched with required proofs) from bridged parachain.
can_calculate_fee_for_standalone_message_confirmation_transaction
Estimates transaction fee for default message confirmation transaction (batched with required proofs) from bridged parachain.
can_calculate_fee_for_standalone_message_delivery_transaction
Estimates transaction fee for default message delivery transaction from bridged parachain.
complex_relay_extrinsic_works
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.
free_relay_extrinsic_works
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.
relayed_incoming_message_works
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.