mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
4e4799927a
Added some tests that aim to cover the runtime configuration that is exercised when BH receives relayed complex message. * checks correct importing of proofs for: bridged chain finality, bridged para heads, bridged messages, * checks relayer extension correctly configured to reward submitting relayer, * checks relayed message is successfully dispatched. Also moved generic test-utils from `asset-test-utils: parachains/runtimes/assets/test-utils` one level up to new crate `parachains-runtimes-test-utils: parachains/runtimes/test-utils` to be reused by BridgeHubs. Signed-off-by: acatangiu <adrian@parity.io> Co-authored-by: Branislav Kontur <bkontur@gmail.com>
77 lines
3.8 KiB
TOML
77 lines
3.8 KiB
TOML
[package]
|
|
name = "asset-test-utils"
|
|
version = "1.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
description = "Statemint parachain runtime"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
|
|
# Substrate
|
|
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
pallet-assets = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
|
|
# Cumulus
|
|
cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false }
|
|
cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false }
|
|
cumulus-pallet-dmp-queue = { path = "../../../../pallets/dmp-queue", default-features = false }
|
|
pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false }
|
|
parachains-common = { path = "../../../common", default-features = false }
|
|
assets-common = { path = "../common", default-features = false }
|
|
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
|
cumulus-primitives-parachain-inherent = { path = "../../../../primitives/parachain-inherent", default-features = false }
|
|
cumulus-test-relay-sproof-builder = { path = "../../../../test/relay-sproof-builder", default-features = false }
|
|
parachain-info = { path = "../../../../parachains/pallets/parachain-info", default-features = false }
|
|
parachains-runtimes-test-utils = { path = "../../test-utils", default-features = false }
|
|
|
|
# Polkadot
|
|
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.3.4"
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"cumulus-pallet-parachain-system/std",
|
|
"cumulus-primitives-core/std",
|
|
"cumulus-test-relay-sproof-builder/std",
|
|
"cumulus-primitives-parachain-inherent/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-assets/std",
|
|
"pallet-balances/std",
|
|
"cumulus-pallet-parachain-system/std",
|
|
"pallet-collator-selection/std",
|
|
"pallet-session/std",
|
|
"assets-common/std",
|
|
"parachains-common/std",
|
|
"parachain-info/std",
|
|
"parachains-runtimes-test-utils/std",
|
|
"polkadot-parachain/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"xcm/std",
|
|
"xcm-executor/std",
|
|
"pallet-xcm/std",
|
|
"cumulus-pallet-xcmp-queue/std",
|
|
"cumulus-pallet-dmp-queue/std",
|
|
]
|