mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 06:48:01 +00:00
c2941a2789
* Remove old service, 3rd try
i.e.
Revert "Revert "Remove Old Service, 2nd try (#1732)" (#1758)"
This reverts commit 9a0f08bfe1.
Closes #1757.
We now have some evidence that the polkadot validator was producing
blocks after all; the reason the blocks_constructed metric was 0 was
that as a new metric it hadn't yet been incorporated into that
branch's codebase. See
https://github.com/paritytech/polkadot/issues/1757#issuecomment-700977602
As this PR is based on a newer `master` branch than the previous one,
that should hopefully no longer be an issue.
* paras trait now has an Origin type
* initial work running a two node local net
* use the right incantations so the nodes produce blocks together
* improve internal documentation
Co-authored-by: Bastian Köcher <git@kchr.de>
85 lines
5.0 KiB
TOML
85 lines
5.0 KiB
TOML
[package]
|
|
name = "polkadot-service"
|
|
version = "0.8.3"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
# Substrate Client
|
|
authority-discovery = { package = "sc-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
# Substrate Primitives
|
|
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
# Substrate Pallets
|
|
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
# Substrate Other
|
|
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
# External Crates
|
|
codec = { package = "parity-scale-codec", version = "1.3.4" }
|
|
futures = "0.3.4"
|
|
hex-literal = "0.2.1"
|
|
lazy_static = "1.4.0"
|
|
log = "0.4.8"
|
|
parking_lot = "0.9.0"
|
|
serde = { version = "1.0.102", features = ["derive"] }
|
|
slog = "2.5.2"
|
|
|
|
# Polkadot
|
|
kusama-runtime = { path = "../../runtime/kusama" }
|
|
polkadot-node-core-proposer = { path = "../core/proposer" }
|
|
polkadot-overseer = { path = "../overseer" }
|
|
polkadot-parachain = { path = "../../parachain" }
|
|
polkadot-primitives = { path = "../../primitives" }
|
|
polkadot-rpc = { path = "../../rpc" }
|
|
polkadot-runtime = { path = "../../runtime/polkadot" }
|
|
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../subsystem" }
|
|
rococo-runtime = { package = "rococo-v1-runtime", path = "../../runtime/rococo-v1" }
|
|
westend-runtime = { path = "../../runtime/westend" }
|
|
|
|
[dev-dependencies]
|
|
polkadot-test-runtime-client = { path = "../../runtime/test-runtime/client" }
|
|
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
env_logger = "0.7.0"
|
|
|
|
[features]
|
|
default = ["db", "full-node"]
|
|
db = ["service/db"]
|
|
runtime-benchmarks = ["polkadot-runtime/runtime-benchmarks", "kusama-runtime/runtime-benchmarks", "westend-runtime/runtime-benchmarks"]
|
|
full-node = []
|