Docs.rs
  • asset-test-utils-2.0.0
    • asset-test-utils 2.0.0
    • Docs.rs crate page
    • GPL-3.0-or-later WITH Classpath-exception-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • parity-crate-owner
    • Dependencies
      • assets-common ^0.2.0 normal
      • parity-scale-codec ^3.0.0 normal
      • cumulus-pallet-dmp-queue ^0.2.0 normal
      • cumulus-pallet-parachain-system ^0.2.0 normal
      • cumulus-pallet-xcmp-queue ^0.2.0 normal
      • cumulus-primitives-core ^0.2.0 normal
      • cumulus-primitives-parachain-inherent ^0.2.0 normal
      • cumulus-test-relay-sproof-builder ^0.2.0 normal
      • frame-support ^23.0.0 normal
      • frame-system ^23.0.0 normal
      • pallet-assets ^24.0.0 normal
      • pallet-balances ^23.0.0 normal
      • pallet-collator-selection ^4.0.0 normal
      • pallet-session ^23.0.0 normal
      • pallet-xcm ^2.0.0 normal
      • staging-parachain-info ^0.2.0 normal
      • parachains-common ^2.0.0 normal
      • parachains-runtimes-test-utils ^2.0.0 normal
      • polkadot-parachain-primitives ^1.0.0 normal
      • sp-consensus-aura ^0.27.0 normal
      • sp-core ^23.0.0 normal
      • sp-io ^25.0.0 normal
      • sp-runtime ^26.0.0 normal
      • sp-std ^10.0.0 normal
      • staging-xcm ^2.0.0 normal
      • staging-xcm-executor ^2.0.0 normal
      • hex-literal ^0.4.1 dev
      • substrate-wasm-builder ^12.0.0 build
    • Versions
    • 50% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate asset_test_utils

  • Version 2.0.0
  • All Items
  • Modules
  • Macros
  • Structs
  • Enums
  • Functions
  • Type Aliases
?
Change settings

Crate asset_test_utils

source ·
Expand description

Module contains predefined test-case scenarios for Runtime with various assets.

Modules

  • test_cases
    Module contains predefined test-case scenarios for Runtime with various assets.

Macros

  • include_asset_transactor_transfer_with_local_consensus_currency_works
  • include_asset_transactor_transfer_with_pallet_assets_instance_works
  • include_create_and_manage_foreign_assets_for_local_consensus_parachain_assets_works
  • include_teleports_for_foreign_assets_works
  • include_teleports_for_native_asset_works

Structs

  • CollatorSessionKeys
  • ExtBuilder
  • RuntimeHelper

Enums

  • XcmReceivedFrom

Functions

  • assert_metadata
  • assert_total
  • mock_open_hrmp_channel
    Helper function which emulates opening HRMP channel which is needed for XcmpQueue to pass.

Type Aliases

  • AccountIdOf
  • BalanceOf
  • SessionKeysOf
  • ValidatorIdOf