mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
59b4d6511f
* Implement PVF validation host * WIP: Diener * Increase the alloted compilation time * Add more comments * Minor clean up * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Fix pruning artifact removal * Fix formatting and newlines * Fix the thread pool * Update node/core/pvf/src/executor_intf.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Remove redundant test declaration * Don't convert the path into an intermediate string * Try to workaround the test failure * Use the puppet_worker trick again * Fix a blip * Move `ensure_wasmtime_version` under the tests mod * Add a macro for puppet_workers * fix build for not real-overseer * Rename the puppet worker for adder collator * play it safe with the name of adder puppet worker * Typo: triggered * Add more comments * Do not kill exec worker on every error * Plumb Duration for timeouts * typo: critical * Add proofs * Clean unused imports * Revert "WIP: Diener" This reverts commit b9f54e513366c7a6dfdd117ac19fbdc46b900b4d. * Sync version of wasmtime * Update cargo.lock * Update Substrate * Merge fixes still * Update wasmtime version in test * bastifmt Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Squash spaces * Trailing new line for testing.rs * Remove controversial code * comment about biasing * Fix suggestion * Add comments * make it more clear why unwrap_err * tmpfile retry * proper proofs for claim_idle * Remove mutex from ValidationHost * Add some more logging * Extract exec timeout into a constant * Add some clarifying logging * Use blake2_256 * Clean up the merge Specifically the leftovers after removing real-overseer * Update parachain/test-parachains/adder/collator/Cargo.toml Co-authored-by: Andronik Ordian <write@reusable.software> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Andronik Ordian <write@reusable.software>
130 lines
3.4 KiB
TOML
130 lines
3.4 KiB
TOML
[[bin]]
|
|
name = "polkadot"
|
|
path = "src/main.rs"
|
|
|
|
[package]
|
|
name = "polkadot"
|
|
description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework."
|
|
license = "GPL-3.0-only"
|
|
version = "0.8.30"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
cli = { package = "polkadot-cli", path = "cli" }
|
|
color-eyre = "0.5.10"
|
|
thiserror = "1.0.23"
|
|
futures = "0.3.12"
|
|
service = { package = "polkadot-service", path = "node/service" }
|
|
parity-util-mem = { version = "*", default-features = false, features = ["jemalloc-global"] }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "1.0.2"
|
|
nix = "0.19.1"
|
|
tempfile = "3.2.0"
|
|
|
|
[workspace]
|
|
members = [
|
|
"bridges/primitives/kusama",
|
|
"bridges/primitives/polkadot",
|
|
"bridges/primitives/runtime",
|
|
"cli",
|
|
"core-primitives",
|
|
"erasure-coding",
|
|
"primitives",
|
|
"runtime/common",
|
|
"runtime/common/slot_range_helper",
|
|
"runtime/parachains",
|
|
"runtime/polkadot",
|
|
"runtime/kusama",
|
|
"runtime/rococo",
|
|
"runtime/westend",
|
|
"runtime/test-runtime",
|
|
"statement-table",
|
|
"xcm",
|
|
"xcm/xcm-builder",
|
|
"xcm/xcm-executor",
|
|
"node/collation-generation",
|
|
"node/core/approval-voting",
|
|
"node/core/av-store",
|
|
"node/core/backing",
|
|
"node/core/bitfield-signing",
|
|
"node/core/candidate-selection",
|
|
"node/core/candidate-validation",
|
|
"node/core/chain-api",
|
|
"node/core/proposer",
|
|
"node/core/provisioner",
|
|
"node/core/pvf",
|
|
"node/core/runtime-api",
|
|
"node/network/approval-distribution",
|
|
"node/network/bridge",
|
|
"node/network/protocol",
|
|
"node/network/statement-distribution",
|
|
"node/network/bitfield-distribution",
|
|
"node/network/availability-distribution",
|
|
"node/network/availability-recovery",
|
|
"node/network/collator-protocol",
|
|
"node/network/gossip-support",
|
|
"node/overseer",
|
|
"node/primitives",
|
|
"node/service",
|
|
"node/subsystem",
|
|
"node/subsystem/dispatch-gen",
|
|
"node/subsystem-test-helpers",
|
|
"node/subsystem-util",
|
|
"node/jaeger",
|
|
"node/metered-channel",
|
|
"node/test/client",
|
|
"node/test/service",
|
|
"parachain/test-parachains",
|
|
"parachain/test-parachains/adder",
|
|
"parachain/test-parachains/adder/collator",
|
|
]
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
# make sure dev builds with backtrace do
|
|
# not slow us down
|
|
[profile.dev.package.backtrace]
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
# Polkadot runtime requires unwinding.
|
|
panic = "unwind"
|
|
|
|
[features]
|
|
runtime-benchmarks=["cli/runtime-benchmarks"]
|
|
try-runtime = ["cli/try-runtime"]
|
|
|
|
# Configuration for building a .deb package - for use with `cargo-deb`
|
|
[package.metadata.deb]
|
|
name = "polkadot"
|
|
extended-description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework."
|
|
section = "misc"
|
|
maintainer = "martin@parity.io"
|
|
license-file = ["LICENSE", "0"]
|
|
# https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
|
|
maintainer-scripts = "scripts/packaging/deb-maintainer-scripts"
|
|
assets = [
|
|
["target/release/polkadot", "/usr/bin/", "755"],
|
|
["scripts/packaging/polkadot.service", "/lib/systemd/system/", "644"]
|
|
]
|
|
conf-files = [
|
|
"/etc/default/polkadot"
|
|
]
|
|
|
|
# Configuration for building an .rpm package - for use with `cargo-rpm`
|
|
[package.metadata.rpm]
|
|
package = "polkadot"
|
|
|
|
[package.metadata.rpm.cargo]
|
|
buildflags = ["--release"]
|
|
|
|
[package.metadata.rpm.targets]
|
|
polkadot = { path = "/usr/bin/polkadot" }
|
|
|
|
[package.metadata.rpm.files]
|
|
"../scripts/packaging/polkadot.service" = { path = "/usr/lib/systemd/system/polkadot.service", mode = "644" }
|