mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 11:18:01 +00:00
391d2f5241
* Add Canvas node as Parachain template * Remove `pallet-contracts` * Point to local Cumulus dependency * Use double quotes instead of single quotes * Get rid of GPL licensing * Remove references to Canvas * Get rid of warnings * Remove GLP-3 License copy-pasta file * Copy in README from `substrate-parachain-template` * Add mention of `polkadot-launch` tool * Add missing screenshot asset * Remove Canvas hidden files and scripts * Rename `template` to `parachain-template` * Remove a few more Canvas references * Add `pallet-template` * Get `pallet-template` compiling * Remove TODOs about Weights * Sort some dependencies * Remove contracts specific const * Change binary name back to `parachain-collator` * RustFmt * Fix mock tests * Purge sneaky whitespace * Add template pallet index to runtime Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com> * Add force authoring to collator `polkadot-launch` config Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com> * Refer README readers to `substrate-parachain-template` * Remove license header in `build.rs` Co-authored-by: Michael Müller <michi@parity.io> * Fix punctuation nitpick Co-authored-by: Michael Müller <michi@parity.io> * Remove unused `lib.rs` file * Add note about Rococo network Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com> Co-authored-by: Michael Müller <michi@parity.io>
145 lines
7.3 KiB
TOML
145 lines
7.3 KiB
TOML
[package]
|
|
name = "parachain-template-runtime"
|
|
version = "0.1.0"
|
|
authors = ["Anonymous"]
|
|
description = "A new Cumulus FRAME-based Substrate Runtime, ready for hacking together a parachain."
|
|
license = "Unlicense"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/cumulus/"
|
|
edition = "2018"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"]}
|
|
log = { version = "0.4.14", default-features = false }
|
|
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.119", optional = true, features = ["derive"] }
|
|
smallvec = "1.6.1"
|
|
|
|
# Local Dependencies
|
|
pallet-template = { path = "../pallets/template", default-features = false }
|
|
|
|
# Substrate Dependencies
|
|
## Substrate Primitive Dependencies
|
|
sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-block-builder = { 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-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-inherents = { 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-offchain = { 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-session = { 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-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
|
|
## Substrate FRAME Dependencies
|
|
frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" }
|
|
frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
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" }
|
|
frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true , branch = "master" }
|
|
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
|
|
## Substrate Pallet Dependencies
|
|
pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-authorship = { 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-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
|
|
# Cumulus dependencies
|
|
cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false }
|
|
cumulus-pallet-dmp-queue = { path = "../../pallets/dmp-queue", default-features = false }
|
|
cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false }
|
|
cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false }
|
|
cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false }
|
|
cumulus-primitives-core = { path = "../../primitives/core", default-features = false }
|
|
cumulus-primitives-timestamp = { path = "../../primitives/timestamp", default-features = false }
|
|
cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false }
|
|
pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false }
|
|
parachain-info = { path = "../../polkadot-parachains/pallets/parachain-info", default-features = false }
|
|
|
|
# Polkadot Dependencies
|
|
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" }
|
|
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" }
|
|
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" }
|
|
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" }
|
|
|
|
[features]
|
|
default = [
|
|
"std",
|
|
]
|
|
std = [
|
|
"codec/std",
|
|
"serde",
|
|
"scale-info/std",
|
|
"log/std",
|
|
"sp-api/std",
|
|
"sp-block-builder/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-core/std",
|
|
"sp-inherents/std",
|
|
"sp-io/std",
|
|
"sp-offchain/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-std/std",
|
|
"sp-transaction-pool/std",
|
|
"sp-version/std",
|
|
"frame-executive/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-aura/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"pallet-collator-selection/std",
|
|
"pallet-randomness-collective-flip/std",
|
|
"pallet-session/std",
|
|
"pallet-sudo/std",
|
|
"pallet-template/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-transaction-payment-rpc-runtime-api/std",
|
|
"pallet-transaction-payment/std",
|
|
"cumulus-pallet-aura-ext/std",
|
|
"cumulus-pallet-parachain-system/std",
|
|
"cumulus-pallet-xcm/std",
|
|
"cumulus-pallet-xcmp-queue/std",
|
|
"cumulus-primitives-core/std",
|
|
"cumulus-primitives-timestamp/std",
|
|
"cumulus-primitives-utility/std",
|
|
"cumulus-pallet-dmp-queue/std",
|
|
"parachain-info/std",
|
|
"polkadot-parachain/std",
|
|
"polkadot-runtime-common/std",
|
|
"xcm-builder/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"frame-benchmarking",
|
|
"frame-system-benchmarking",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-collator-selection/runtime-benchmarks",
|
|
"pallet-template/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
]
|