mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 10:17:57 +00:00
5a06771ecc
- Adds a test to check the correct digest for Snowbridge outbound messages. For the correct digest to be in the block, the the MessageQueue pallet should be configured after the EthereumOutbound queue pallet. The added test fails if the EthereumOutbound is configured after the MessageQueue pallet. - Adds a helper method `run_to_block_with_finalize` to simulate the block finalizing. The existing `run_to_block` method does not finalize and so it cannot successfully test this condition. Closes: https://github.com/paritytech/polkadot-sdk/issues/3208 --------- Co-authored-by: claravanstaden <Cats 4 life!>
75 lines
3.2 KiB
TOML
75 lines
3.2 KiB
TOML
[package]
|
|
name = "parachains-runtimes-test-utils"
|
|
version = "7.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Utils for Runtimes testing"
|
|
license = "Apache-2.0"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
|
|
# Substrate
|
|
frame-support = { path = "../../../../substrate/frame/support", default-features = false }
|
|
frame-system = { path = "../../../../substrate/frame/system", default-features = false }
|
|
pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false }
|
|
pallet-session = { path = "../../../../substrate/frame/session", default-features = false }
|
|
pallet-timestamp = { path = "../../../../substrate/frame/timestamp", default-features = false }
|
|
sp-consensus-aura = { path = "../../../../substrate/primitives/consensus/aura", default-features = false }
|
|
sp-io = { path = "../../../../substrate/primitives/io", default-features = false }
|
|
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
|
|
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
|
|
sp-tracing = { path = "../../../../substrate/primitives/tracing" }
|
|
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
|
|
|
|
# Cumulus
|
|
cumulus-pallet-parachain-system = { path = "../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] }
|
|
cumulus-pallet-xcmp-queue = { path = "../../../pallets/xcmp-queue", default-features = false }
|
|
pallet-collator-selection = { path = "../../../pallets/collator-selection", default-features = false }
|
|
parachain-info = { package = "staging-parachain-info", path = "../../pallets/parachain-info", 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 }
|
|
|
|
# Polkadot
|
|
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false }
|
|
pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false }
|
|
polkadot-parachain-primitives = { path = "../../../../polkadot/parachain", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.4.1"
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { path = "../../../../substrate/utils/wasm-builder" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"cumulus-pallet-parachain-system/std",
|
|
"cumulus-pallet-xcmp-queue/std",
|
|
"cumulus-primitives-core/std",
|
|
"cumulus-primitives-parachain-inherent/std",
|
|
"cumulus-test-relay-sproof-builder/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-balances/std",
|
|
"pallet-collator-selection/std",
|
|
"pallet-session/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-xcm/std",
|
|
"parachain-info/std",
|
|
"polkadot-parachain-primitives/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|