referrerpolicy=no-referrer-when-downgrade

Crate emulated_integration_tests_common

Crate emulated_integration_tests_common 

Source

Re-exports§

pub use xcm_emulator;
pub use xcm_simulator;

Modules§

accounts
collators
dap_helpers
impls
macros
pools
snowbridge
validators
xcm_helpers

Macros§

assert_whitelisted
asset_exists_on
Whether the Assets-pallet asset $id exists on $chain.
assets_balance_on
Read the balance of the Assets-pallet asset $id for $who on $chain.
assets_issuance_on
Read the total issuance of the Assets-pallet asset $id on $chain.
balances_issuance_on
Read the total native-balance issuance on $chain.
create_foreign_pool_with_native_on
create_foreign_pool_with_parent_native_on
create_pool_with_native_location_on
This function assumes that the asset is prefunded.
create_pool_with_relay_native_on
foreign_balance_on
Read the balance of the ForeignAssets-pallet asset $id for $who on $chain.
foreign_issuance_on
Read the total issuance of the ForeignAssets-pallet asset $id on $chain.
impl_accounts_helpers_for_parachain
impl_accounts_helpers_for_relay_chain
impl_assert_events_helpers_for_parachain
impl_assert_events_helpers_for_relay_chain
impl_assets_helpers_for_parachain
impl_assets_helpers_for_system_parachain
impl_bridge_helpers_for_chain
impl_foreign_assets_helpers_for_parachain
impl_hrmp_channels_helpers_for_relay_chain
impl_send_transact_helpers_for_relay_chain
impl_xcm_helpers_for_parachain
test_can_estimate_and_pay_exact_fees
test_chain_can_claim_assets
test_cross_chain_alias
test_dry_run_transfer_across_pk_bridge
test_parachain_is_trusted_teleporter
test_parachain_is_trusted_teleporter_for_relay
test_relay_is_trusted_teleporter
test_xcm_fee_querying_apis_work_for_asset_hub

Structs§

PenpalALocation
PenpalAPen2TeleportableAssetLocation
PenpalASiblingSovereignAccount
PenpalBLocation
PenpalBPen2TeleportableAssetLocation
PenpalBSiblingSovereignAccount

Constants§

ASSETS_PALLET_ID
ASSET_HUB_ROCOCO_ID
ASSET_HUB_WESTEND_ID
PEN2_TELEPORTABLE_ASSET_ID
PENPAL_ASSETS_PALLET_ID
PENPAL_A_ID
PENPAL_B_ID
PROOF_SIZE_THRESHOLD
REF_TIME_THRESHOLD
RESERVABLE_ASSET_ID
SAFE_XCM_VERSION
The default XCM version to set in genesis config.
USDT_ID
XCM_V2
XCM_V3
XCM_V4
XCM_V5

Functions§

build_genesis_storage
Helper function used in tests to build the genesis storage using given RuntimeGenesisConfig and code Used in legacy_vs_json_check submods to verify storage building with JSON patch against building with RuntimeGenesisConfig struct.
get_host_config
local_penpal_asset