referrerpolicy=no-referrer-when-downgrade

Module from_grandpa_chain

Source
Expand description

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

Structs§

WithRemoteGrandpaChainHelperAdapter
Adapter struct that implements WithRemoteGrandpaChainHelper.

Traits§

WithRemoteGrandpaChainHelper
Helper trait to test bridges with remote GRANDPA chain.

Functions§

can_calculate_fee_for_complex_message_confirmation_transaction
Estimates transaction fee for default message confirmation transaction (batched with required proofs) from bridged GRANDPA chain.
can_calculate_fee_for_complex_message_delivery_transaction
Estimates transaction fee for default message delivery transaction (batched with required proofs) from bridged GRANDPA chain.
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 GRANDPA chain.
complex_relay_extrinsic_works
Test-case makes sure that Runtime can dispatch XCM messages submitted by relayer, with proofs (finality, 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, message) independently submitted. Finality proof is 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, message) independently submitted. Also verifies relayer transaction signed extensions work as intended.