mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
4c810609d6
The first step towards https://github.com/paritytech/polkadot-sdk/issues/3155 Brings all templates under the following structure ``` templates | parachain | | polkadot-launch | | runtime --> parachain-template-runtime | | pallets --> pallet-parachain-template | | node --> parachain-template-node | minimal | | runtime --> minimal-template-runtime | | pallets --> pallet-minimal-template | | node --> minimal-template-node | solochain | | runtime --> solochain-template-runtime | | pallets --> pallet-template (the naming is not consistent here) | | node --> solochain-template-node ``` The only note-worthy changes in this PR are: - More `Cargo.toml` fields are forwarded to use the one from the workspace. - parachain template now has weights and benchmarks - adds a shell pallet to the minimal template - remove a few unused deps A list of possible follow-ups: - [ ] Unify READMEs, create a parent README for all - [ ] remove references to `docs.substrate.io` in templates - [ ] make all templates use `#[derive_impl]` - [ ] update and unify all licenses - [ ] Remove polkadot launch, use https://github.com/paritytech/polkadot-sdk/blob/35349df993ea2e7c4769914ef5d199e787b23d4c/cumulus/zombienet/examples/small_network.toml instead.
100 lines
4.4 KiB
TOML
100 lines
4.4 KiB
TOML
[package]
|
|
name = "parachain-template-node"
|
|
description = "A parachain node template built with Substrate and Cumulus, part of Polkadot Sdk."
|
|
version = "0.0.0"
|
|
license = "MIT-0"
|
|
authors.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
edition.workspace = true
|
|
publish = false
|
|
build = "build.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
# [[bin]]
|
|
# name = "parachain-template-node"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.1", features = ["derive"] }
|
|
log = { workspace = true, default-features = true }
|
|
codec = { package = "parity-scale-codec", version = "3.0.0" }
|
|
serde = { features = ["derive"], workspace = true, default-features = true }
|
|
jsonrpsee = { version = "0.22", features = ["server"] }
|
|
futures = "0.3.28"
|
|
serde_json = { workspace = true, default-features = true }
|
|
|
|
# Local
|
|
parachain-template-runtime = { path = "../runtime" }
|
|
|
|
# Substrate
|
|
frame-benchmarking = { path = "../../../substrate/frame/benchmarking" }
|
|
frame-benchmarking-cli = { path = "../../../substrate/utils/frame/benchmarking-cli" }
|
|
pallet-transaction-payment-rpc = { path = "../../../substrate/frame/transaction-payment/rpc" }
|
|
sc-basic-authorship = { path = "../../../substrate/client/basic-authorship" }
|
|
sc-chain-spec = { path = "../../../substrate/client/chain-spec" }
|
|
sc-cli = { path = "../../../substrate/client/cli" }
|
|
sc-client-api = { path = "../../../substrate/client/api" }
|
|
sc-offchain = { path = "../../../substrate/client/offchain" }
|
|
sc-consensus = { path = "../../../substrate/client/consensus/common" }
|
|
sc-executor = { path = "../../../substrate/client/executor" }
|
|
sc-network = { path = "../../../substrate/client/network" }
|
|
sc-network-sync = { path = "../../../substrate/client/network/sync" }
|
|
sc-rpc = { path = "../../../substrate/client/rpc" }
|
|
sc-service = { path = "../../../substrate/client/service" }
|
|
sc-sysinfo = { path = "../../../substrate/client/sysinfo" }
|
|
sc-telemetry = { path = "../../../substrate/client/telemetry" }
|
|
sc-tracing = { path = "../../../substrate/client/tracing" }
|
|
sc-transaction-pool = { path = "../../../substrate/client/transaction-pool" }
|
|
sc-transaction-pool-api = { path = "../../../substrate/client/transaction-pool/api" }
|
|
sp-api = { path = "../../../substrate/primitives/api" }
|
|
sp-block-builder = { path = "../../../substrate/primitives/block-builder" }
|
|
sp-blockchain = { path = "../../../substrate/primitives/blockchain" }
|
|
sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura" }
|
|
sp-core = { path = "../../../substrate/primitives/core" }
|
|
sp-keystore = { path = "../../../substrate/primitives/keystore" }
|
|
sp-io = { path = "../../../substrate/primitives/io" }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime" }
|
|
sp-timestamp = { path = "../../../substrate/primitives/timestamp" }
|
|
substrate-frame-rpc-system = { path = "../../../substrate/utils/frame/rpc/system" }
|
|
substrate-prometheus-endpoint = { path = "../../../substrate/utils/prometheus" }
|
|
|
|
# Polkadot
|
|
polkadot-cli = { path = "../../../polkadot/cli", features = ["rococo-native"] }
|
|
polkadot-primitives = { path = "../../../polkadot/primitives" }
|
|
xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false }
|
|
|
|
# Cumulus
|
|
cumulus-client-cli = { path = "../../../cumulus/client/cli" }
|
|
cumulus-client-collator = { path = "../../../cumulus/client/collator" }
|
|
cumulus-client-consensus-aura = { path = "../../../cumulus/client/consensus/aura" }
|
|
cumulus-client-consensus-common = { path = "../../../cumulus/client/consensus/common" }
|
|
cumulus-client-consensus-proposer = { path = "../../../cumulus/client/consensus/proposer" }
|
|
cumulus-client-service = { path = "../../../cumulus/client/service" }
|
|
cumulus-primitives-core = { path = "../../../cumulus/primitives/core" }
|
|
cumulus-primitives-parachain-inherent = { path = "../../../cumulus/primitives/parachain-inherent" }
|
|
cumulus-relay-chain-interface = { path = "../../../cumulus/client/relay-chain-interface" }
|
|
color-print = "0.3.4"
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { path = "../../../substrate/utils/build-script-utils" }
|
|
|
|
[features]
|
|
default = []
|
|
runtime-benchmarks = [
|
|
"cumulus-primitives-core/runtime-benchmarks",
|
|
"frame-benchmarking-cli/runtime-benchmarks",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"parachain-template-runtime/runtime-benchmarks",
|
|
"polkadot-cli/runtime-benchmarks",
|
|
"polkadot-primitives/runtime-benchmarks",
|
|
"sc-service/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"parachain-template-runtime/try-runtime",
|
|
"polkadot-cli/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|