Docs.rs
  • emulated-integration-tests-common-6.0.0
    • emulated-integration-tests-common 6.0.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • parity-crate-owner
    • Dependencies
      • asset-test-utils ^10.0.0 normal
      • sp-consensus-beefy ^16.0.0 normal
      • bp-messages ^0.10.0 normal
      • bridge-runtime-common ^0.10.0 normal
      • parity-scale-codec ^3.4.0 normal
      • cumulus-pallet-parachain-system ^0.10.0 normal
      • cumulus-pallet-xcmp-queue ^0.10.0 normal
      • cumulus-primitives-core ^0.10.0 normal
      • frame-support ^31.0.0 normal
      • sc-consensus-grandpa ^0.22.0 normal
      • pallet-assets ^32.0.0 normal
      • pallet-balances ^31.0.0 normal
      • pallet-bridge-messages ^0.10.0 normal
      • pallet-message-queue ^34.0.0 normal
      • pallet-xcm ^10.0.0 normal
      • parachains-common ^10.0.0 normal
      • paste ^1.0.14 normal
      • polkadot-primitives ^10.0.0 normal
      • polkadot-runtime-parachains ^10.0.0 normal
      • sp-authority-discovery ^29.0.0 normal
      • sp-consensus-babe ^0.35.0 normal
      • sp-core ^31.0.0 normal
      • sp-runtime ^34.0.0 normal
      • staging-xcm ^10.0.0 normal
      • xcm-emulator ^0.8.0 normal
    • Versions
    • 14.58% 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

emulated_integration_tests_common6.0.0

Parachain

Required Associated Types

  • LocationToAccountId
  • MessageProcessor
  • ParachainInfo
  • ParachainSystem
  • XcmpMessageHandler

Required Methods

  • finalize_block
  • init
  • new_block
  • set_last_head

Provided Methods

  • para_id
  • parent_location
  • sibling_location_of
  • sovereign_account_id_of

Object Safety

Implementors

In emulated_integration_tests_common::impls

?
Change settings

Trait emulated_integration_tests_common::impls::Parachain

source ·
pub trait Parachain: Chain {
    type XcmpMessageHandler: XcmpMessageHandler;
    type LocationToAccountId: ConvertLocation<<Self::Runtime as Config>::AccountId>;
    type ParachainInfo: Get<Id>;
    type ParachainSystem;
    type MessageProcessor: ProcessMessage + ServiceQueues;

    // Required methods
    fn init();
    fn new_block();
    fn finalize_block();
    fn set_last_head();

    // Provided methods
    fn para_id() -> Id { ... }
    fn parent_location() -> Location { ... }
    fn sibling_location_of(para_id: Id) -> Location { ... }
    fn sovereign_account_id_of(
        location: Location
    ) -> <Self::Runtime as Config>::AccountId { ... }
}

Required Associated Types§

source

type XcmpMessageHandler: XcmpMessageHandler

source

type LocationToAccountId: ConvertLocation<<Self::Runtime as Config>::AccountId>

source

type ParachainInfo: Get<Id>

source

type ParachainSystem

source

type MessageProcessor: ProcessMessage + ServiceQueues

Required Methods§

source

fn init()

source

fn new_block()

source

fn finalize_block()

source

fn set_last_head()

Provided Methods§

source

fn para_id() -> Id

source

fn parent_location() -> Location

source

fn sibling_location_of(para_id: Id) -> Location

source

fn sovereign_account_id_of( location: Location ) -> <Self::Runtime as Config>::AccountId

Object Safety§

This trait is not object safe.

Implementors§