mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
7bd426f31e
* add new runtime and remove unnecessary pallets * make runtime build * add collectives to collator node * sketch alliance config in runtime * Slash handler was supposed to be commented out (for now) * correct signature * move to impls * add alliance to runtime * rustfmt * IsReserve, remove Ping, update fn deposit * add transaction_payment event * Update parachains/runtimes/collectives/collectives-polkadot/src/lib.rs Co-authored-by: Squirrel <gilescope@gmail.com> * fmt * add genesis config to chain spec * fix merge * local and dev configs only (for now) * remove duplicate imports * Collectives polkadot runtime to cargo workspace members (#1397) * Collectives polkadot runtime: use unit type impl for identity verifier (#1398) * apply fn rename * fmt * one less todo * Less code in magic macros (#1407) * Less code in magic macros * cargo fmt * Bench alliance (#1427) * add benchmarks * call one script from the other * shebang changes so works on nixos too. * bench in parallel as separate jobs * hyphens can turn into underscores * remove workaround to trigger bench Co-authored-by: alvicsam <alvicsam@gmail.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * enable ci jobs * fix publish bench results jobs * chainspecs for collectives-westend (#1441) * initial chainspecs for collections relay chain * plumb in the collectives-westend chainspec * add Runtime::CollectivesWestend * lock * Collectives: teleport slashed assets (#1433) * Collectives: teleport slashed assets * fmt * Cargo.lock > polkadot-parachain 0.9.25 * create temp account for imbalance * treasury acc id from pallet id * move accounts into constants, use here junction for assets * assets location is relay chain, accounts as parameters * fix typos * fix typo * Update parachains/runtimes/collectives/collectives-polkadot/src/constants.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Move alliance proposal provider to impls.rs (#1464) * Move to impls alliance proposal provider * rustfmt * Bumping spec version (so that we can redeploy with slashing change.) * cargo lock * slurp collectives digest to make appear in release notes (#1473) * add slurp * Slurp better :) * Bring some order Co-authored-by: Chevdor <chevdor@users.noreply.github.com> Co-authored-by: Wilfried Kopp <wilfried@parity.io> * reorder barrier * Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * address review * clean construct runtime * fmt * looks pretty but brings in too much Co-authored-by: Squirrel <gilescope@gmail.com> Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com> Co-authored-by: alvicsam <alvicsam@gmail.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Chevdor <chevdor@users.noreply.github.com> Co-authored-by: Wilfried Kopp <wilfried@parity.io> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
160 lines
8.6 KiB
TOML
160 lines
8.6 KiB
TOML
[package]
|
|
name = "collectives-polkadot-runtime"
|
|
version = "1.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
description = "Polkadot Collectives Parachain Runtime"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
hex-literal = { version = "0.3.4", optional = true }
|
|
log = { version = "0.4.17", default-features = false }
|
|
serde = { version = "1.0.137", optional = true, features = ["derive"] }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
smallvec = "1.6.1"
|
|
|
|
# Substrate
|
|
frame-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, default-features = false, 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", optional = true, default-features = false, branch = "master" }
|
|
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" }
|
|
pallet-alliance = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
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-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
pallet-proxy = { 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" }
|
|
pallet-utility = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
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" }
|
|
|
|
# Polkadot
|
|
pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
polkadot-core-primitives = { 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" }
|
|
polkadot-runtime-constants = { 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" }
|
|
|
|
# Cumulus
|
|
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-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false, version = "3.0.0" }
|
|
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 = "../../../pallets/parachain-info", default-features = false }
|
|
parachains-common = { path = "../../../common", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.3.4"
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
runtime-benchmarks = [
|
|
"hex-literal",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system-benchmarking",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-alliance/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-collective/runtime-benchmarks",
|
|
"pallet-multisig/runtime-benchmarks",
|
|
"pallet-proxy/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-utility/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"cumulus-pallet-session-benchmarking/runtime-benchmarks",
|
|
"pallet-collator-selection/runtime-benchmarks",
|
|
"cumulus-pallet-xcmp-queue/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-executive/try-runtime",
|
|
"frame-try-runtime",
|
|
]
|
|
std = [
|
|
"codec/std",
|
|
"log/std",
|
|
"scale-info/std",
|
|
"serde",
|
|
"frame-executive/std",
|
|
"frame-support/std",
|
|
"frame-system-rpc-runtime-api/std",
|
|
"frame-system/std",
|
|
"pallet-alliance/std",
|
|
"pallet-aura/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"pallet-collective/std",
|
|
"pallet-multisig/std",
|
|
"pallet-proxy/std",
|
|
"pallet-session/std",
|
|
"pallet-sudo/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-transaction-payment-rpc-runtime-api/std",
|
|
"pallet-transaction-payment/std",
|
|
"pallet-utility/std",
|
|
"pallet-xcm/std",
|
|
"polkadot-core-primitives/std",
|
|
"polkadot-parachain/std",
|
|
"polkadot-runtime-common/std",
|
|
"polkadot-runtime-constants/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",
|
|
"xcm-builder/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
"cumulus-pallet-aura-ext/std",
|
|
"cumulus-pallet-dmp-queue/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",
|
|
"pallet-collator-selection/std",
|
|
"parachain-info/std",
|
|
"parachains-common/std",
|
|
]
|