mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 01:11:04 +00:00
1b1fab0da3
## Summary Asset bridging support for AssetHub**Rococo** <-> AssetHub**Wococo** was added [here](https://github.com/paritytech/polkadot-sdk/pull/1215), so now we aim to bridge AssetHub**Rococo** and AssetHub**Westend**. (And perhaps retire AssetHubWococo and the Wococo chains). ## Solution **bridge-hub-westend-runtime** - added new runtime as a copy of `bridge-hub-rococo-runtime` - added support for bridging to `BridgeHubRococo` - added tests and benchmarks **bridge-hub-rococo-runtime** - added support for bridging to `BridgeHubWestend` - added tests and benchmarks - internal refactoring by splitting bridge configuration per network, e.g., `bridge_to_whatevernetwork_config.rs`. **asset-hub-rococo-runtime** - added support for asset bridging to `AssetHubWestend` (allows to receive only WNDs) - added new xcm router for `Westend` - added tests and benchmarks **asset-hub-westend-runtime** - added support for asset bridging to `AssetHubRococo` (allows to receive only ROCs) - added new xcm router for `Rococo` - added tests and benchmarks ## Deployment All changes will be deployed as a part of https://github.com/paritytech/polkadot-sdk/issues/1988. ## TODO - [x] benchmarks for all pallet instances - [x] integration tests - [x] local run scripts Relates to: https://github.com/paritytech/parity-bridges-common/issues/2602 Relates to: https://github.com/paritytech/polkadot-sdk/issues/1988 --------- Co-authored-by: command-bot <> Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
152 lines
7.1 KiB
TOML
152 lines
7.1 KiB
TOML
[package]
|
|
name = "polkadot-parachain-bin"
|
|
version = "1.1.0"
|
|
authors.workspace = true
|
|
build = "build.rs"
|
|
edition.workspace = true
|
|
description = "Runs a polkadot parachain node which could be a collator."
|
|
license = "Apache-2.0"
|
|
|
|
[[bin]]
|
|
name = "polkadot-parachain"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.73"
|
|
clap = { version = "4.4.6", features = ["derive"] }
|
|
codec = { package = "parity-scale-codec", version = "3.0.0" }
|
|
futures = "0.3.28"
|
|
hex-literal = "0.4.1"
|
|
log = "0.4.20"
|
|
serde = { version = "1.0.188", features = ["derive"] }
|
|
serde_json = "1.0.107"
|
|
|
|
# Local
|
|
rococo-parachain-runtime = { path = "../parachains/runtimes/testing/rococo-parachain" }
|
|
shell-runtime = { path = "../parachains/runtimes/starters/shell" }
|
|
glutton-runtime = { path = "../parachains/runtimes/glutton/glutton-kusama" }
|
|
seedling-runtime = { path = "../parachains/runtimes/starters/seedling" }
|
|
asset-hub-polkadot-runtime = { path = "../parachains/runtimes/assets/asset-hub-polkadot" }
|
|
asset-hub-kusama-runtime = { path = "../parachains/runtimes/assets/asset-hub-kusama" }
|
|
asset-hub-rococo-runtime = { path = "../parachains/runtimes/assets/asset-hub-rococo" }
|
|
asset-hub-westend-runtime = { path = "../parachains/runtimes/assets/asset-hub-westend" }
|
|
collectives-polkadot-runtime = { path = "../parachains/runtimes/collectives/collectives-polkadot" }
|
|
contracts-rococo-runtime = { path = "../parachains/runtimes/contracts/contracts-rococo" }
|
|
bridge-hub-rococo-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-rococo" }
|
|
bridge-hub-kusama-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-kusama" }
|
|
bridge-hub-polkadot-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-polkadot" }
|
|
bridge-hub-westend-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-westend" }
|
|
penpal-runtime = { path = "../parachains/runtimes/testing/penpal" }
|
|
jsonrpsee = { version = "0.16.2", features = ["server"] }
|
|
parachains-common = { path = "../parachains/common" }
|
|
|
|
# Substrate
|
|
frame-benchmarking = { path = "../../substrate/frame/benchmarking" }
|
|
frame-benchmarking-cli = { path = "../../substrate/utils/frame/benchmarking-cli" }
|
|
sp-runtime = { path = "../../substrate/primitives/runtime", default-features = false}
|
|
sp-io = { path = "../../substrate/primitives/io" }
|
|
sp-core = { path = "../../substrate/primitives/core" }
|
|
sp-session = { path = "../../substrate/primitives/session" }
|
|
sc-consensus = { path = "../../substrate/client/consensus/common" }
|
|
sc-cli = { path = "../../substrate/client/cli" }
|
|
sc-client-api = { path = "../../substrate/client/api" }
|
|
sc-executor = { path = "../../substrate/client/executor" }
|
|
sc-service = { path = "../../substrate/client/service" }
|
|
sc-telemetry = { path = "../../substrate/client/telemetry" }
|
|
sc-transaction-pool = { path = "../../substrate/client/transaction-pool" }
|
|
sp-transaction-pool = { path = "../../substrate/primitives/transaction-pool" }
|
|
sc-network = { path = "../../substrate/client/network" }
|
|
sc-network-sync = { path = "../../substrate/client/network/sync" }
|
|
sc-basic-authorship = { path = "../../substrate/client/basic-authorship" }
|
|
sp-timestamp = { path = "../../substrate/primitives/timestamp" }
|
|
sp-blockchain = { path = "../../substrate/primitives/blockchain" }
|
|
sp-block-builder = { path = "../../substrate/primitives/block-builder" }
|
|
sp-keystore = { path = "../../substrate/primitives/keystore" }
|
|
sc-chain-spec = { path = "../../substrate/client/chain-spec" }
|
|
sc-rpc = { path = "../../substrate/client/rpc" }
|
|
sc-tracing = { path = "../../substrate/client/tracing" }
|
|
sp-offchain = { path = "../../substrate/primitives/offchain" }
|
|
sp-api = { path = "../../substrate/primitives/api" }
|
|
sp-consensus-aura = { path = "../../substrate/primitives/consensus/aura" }
|
|
sc-sysinfo = { path = "../../substrate/client/sysinfo" }
|
|
substrate-prometheus-endpoint = { path = "../../substrate/utils/prometheus" }
|
|
sc-transaction-pool-api = { path = "../../substrate/client/transaction-pool/api" }
|
|
frame-rpc-system = { package = "substrate-frame-rpc-system", path = "../../substrate/utils/frame/rpc/system" }
|
|
pallet-transaction-payment-rpc = { path = "../../substrate/frame/transaction-payment/rpc" }
|
|
substrate-state-trie-migration-rpc = { path = "../../substrate/utils/frame/rpc/state-trie-migration-rpc" }
|
|
|
|
# Polkadot
|
|
# Use rococo-native as this is currently the default "local" relay chain
|
|
polkadot-cli = { path = "../../polkadot/cli", features = ["rococo-native"] }
|
|
polkadot-primitives = { path = "../../polkadot/primitives" }
|
|
polkadot-service = { path = "../../polkadot/node/service" }
|
|
xcm = { package = "staging-xcm", path = "../../polkadot/xcm" }
|
|
|
|
# Cumulus
|
|
cumulus-client-cli = { path = "../client/cli" }
|
|
cumulus-client-collator = { path = "../client/collator" }
|
|
cumulus-client-consensus-aura = { path = "../client/consensus/aura" }
|
|
cumulus-client-consensus-relay-chain = { path = "../client/consensus/relay-chain" }
|
|
cumulus-client-consensus-common = { path = "../client/consensus/common" }
|
|
cumulus-client-consensus-proposer = { path = "../client/consensus/proposer" }
|
|
cumulus-client-service = { path = "../client/service" }
|
|
cumulus-primitives-aura = { path = "../primitives/aura" }
|
|
cumulus-primitives-core = { path = "../primitives/core" }
|
|
cumulus-primitives-parachain-inherent = { path = "../primitives/parachain-inherent" }
|
|
cumulus-relay-chain-interface = { path = "../client/relay-chain-interface" }
|
|
color-print = "0.3.4"
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { path = "../../substrate/utils/build-script-utils" }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0"
|
|
nix = { version = "0.26.1", features = ["signal"] }
|
|
tempfile = "3.8.0"
|
|
tokio = { version = "1.32.0", features = ["macros", "time", "parking_lot"] }
|
|
wait-timeout = "0.2"
|
|
|
|
[features]
|
|
default = []
|
|
runtime-benchmarks = [
|
|
"asset-hub-kusama-runtime/runtime-benchmarks",
|
|
"asset-hub-polkadot-runtime/runtime-benchmarks",
|
|
"asset-hub-rococo-runtime/runtime-benchmarks",
|
|
"asset-hub-westend-runtime/runtime-benchmarks",
|
|
"bridge-hub-kusama-runtime/runtime-benchmarks",
|
|
"bridge-hub-polkadot-runtime/runtime-benchmarks",
|
|
"bridge-hub-rococo-runtime/runtime-benchmarks",
|
|
"bridge-hub-westend-runtime/runtime-benchmarks",
|
|
"collectives-polkadot-runtime/runtime-benchmarks",
|
|
"contracts-rococo-runtime/runtime-benchmarks",
|
|
"frame-benchmarking-cli/runtime-benchmarks",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"glutton-runtime/runtime-benchmarks",
|
|
"parachains-common/runtime-benchmarks",
|
|
"penpal-runtime/runtime-benchmarks",
|
|
"polkadot-cli/runtime-benchmarks",
|
|
"polkadot-primitives/runtime-benchmarks",
|
|
"polkadot-service/runtime-benchmarks",
|
|
"rococo-parachain-runtime/runtime-benchmarks",
|
|
"sc-service/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"asset-hub-kusama-runtime/try-runtime",
|
|
"asset-hub-polkadot-runtime/try-runtime",
|
|
"asset-hub-rococo-runtime/try-runtime",
|
|
"asset-hub-westend-runtime/try-runtime",
|
|
"bridge-hub-kusama-runtime/try-runtime",
|
|
"bridge-hub-polkadot-runtime/try-runtime",
|
|
"bridge-hub-rococo-runtime/try-runtime",
|
|
"bridge-hub-westend-runtime/try-runtime",
|
|
"collectives-polkadot-runtime/try-runtime",
|
|
"contracts-rococo-runtime/try-runtime",
|
|
"glutton-runtime/try-runtime",
|
|
"penpal-runtime/try-runtime",
|
|
"polkadot-cli/try-runtime",
|
|
"polkadot-service/try-runtime",
|
|
"shell-runtime/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|