Module mock_network

Source

Modules§

mocks
parachain
Parachain runtime mock.
primitives
relay_chain
Relay chain runtime mock.

Structs§

MockNet
MockNetworkSandbox
A [ink_sandbox::Sandbox] that can be used to test contracts with a mock network of relay chain and parachains.
ParaA
ParachainXcmRouter
XCM router for parachain.
Relay
RelayChainXcmRouter
XCM router for relay chain.

Constants§

ADMIN
ALICE
BOB
EXT_PARAA
EXT_RELAY
INITIAL_BALANCE

Traits§

TestExt

Functions§

para_ext
parachain_account_sovereign_account_id
parachain_sovereign_account_id
relay_ext
relay_sovereign_account_id

Type Aliases§

ParachainBalances
ParachainPalletXcm