mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 09:17:58 +00:00
6e4d30e8ad
* Decouples light-sync state from chain spec This decouples the light-sync state from chain spec. First, the light-sync state currently only works with BABE+Grandpa, so not all *Substrate* based chains can use this feature. The next problem was also that this pulled the `sc-consensus-babe` and `sc-finality-grandpa` crate into `sc-chain-spec`. If a chain now wants to support the light-sync state, it needs to add the `LightSyncStateExtension` to the chain spec as an extension. This is documented in the crate level docs of `sc-sync-state-rpc`. If this extension is not available, `SyncStateRpc` fails at initialization. * Fix compilation for browser * Fmt
25 lines
931 B
TOML
25 lines
931 B
TOML
[package]
|
|
name = "sc-chain-spec"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Substrate chain configurations."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
sc-chain-spec-derive = { version = "4.0.0-dev", path = "./derive" }
|
|
impl-trait-for-tuples = "0.2.1"
|
|
sc-network = { version = "0.10.0-dev", path = "../network" }
|
|
sp-core = { version = "4.0.0-dev", path = "../../primitives/core" }
|
|
serde = { version = "1.0.126", features = ["derive"] }
|
|
serde_json = "1.0.41"
|
|
sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" }
|
|
sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" }
|
|
codec = { package = "parity-scale-codec", version = "2.0.0" }
|