Crate bridge_hub_test_utils

source ·
Expand description

Module contains predefined test-case scenarios for “BridgeHub” Runtimes.

Modules§

  • Module contains predefined test-case scenarios for Runtime with bridging capabilities.
  • Generating test data, used by all tests.

Structs§

Enums§

Traits§

  • A set of traits for a minimal parachain runtime, that may be used in conjunction with the ExtBuilder and the RuntimeHelper.

Functions§

  • A helper function for comparing the actual value of a fee constant with its estimated value. The estimated value can be overestimated (overestimate_in_percent), and if the difference to the actual value is below margin_overestimate_diff_in_percent_for_lowering, we should lower the actual value.
  • Helper function which emulates opening HRMP channel which is needed for XcmpQueue to pass.
  • Get a header for testing.

Type Aliases§