mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 02:48:03 +00:00
7ace5e21aa
* Make changes * Add serialize/deserialize, copy babe epoch config defaults from node runtime * Fix line widths and turn default features off for serde * Remove ser/deser from Epoch, fix node-cli * Apply suggestions * Add comment to BABE_GENESIS_EPOCH_CONFIG in bin * Apply suggestions * Add a sketchy migration function * Add a migration test * Check for PendingEpochConfigChange as well * Make epoch_config in node-cli * Move updating EpochConfig out of the if * Fix executor tests * Calculate weight for add_epoch_configurations * Fix babe test * Apply suggestions from code review Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com> * Add more asserts to tests, remove unused changes to primitives/slots * Allow setting the migration pallet prefix * Rename to BabePalletPrefix Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
49 lines
1.8 KiB
TOML
49 lines
1.8 KiB
TOML
[package]
|
|
name = "sp-consensus-babe"
|
|
version = "0.9.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Primitives for BABE consensus"
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
sp-application-crypto = { version = "3.0.0", default-features = false, path = "../../application-crypto" }
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
|
|
merlin = { version = "2.0", default-features = false }
|
|
sp-std = { version = "3.0.0", default-features = false, path = "../../std" }
|
|
sp-api = { version = "3.0.0", default-features = false, path = "../../api" }
|
|
sp-consensus = { version = "0.9.0", optional = true, path = "../common" }
|
|
sp-consensus-slots = { version = "0.9.0", default-features = false, path = "../slots" }
|
|
sp-consensus-vrf = { version = "0.9.0", path = "../vrf", default-features = false }
|
|
sp-core = { version = "3.0.0", default-features = false, path = "../../core" }
|
|
sp-inherents = { version = "3.0.0", default-features = false, path = "../../inherents" }
|
|
sp-keystore = { version = "0.9.0", default-features = false, path = "../../keystore", optional = true }
|
|
sp-runtime = { version = "3.0.0", default-features = false, path = "../../runtime" }
|
|
sp-timestamp = { version = "3.0.0", default-features = false, path = "../../timestamp" }
|
|
serde = { version = "1.0.123", features = ["derive"], optional = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"sp-application-crypto/std",
|
|
"codec/std",
|
|
"merlin/std",
|
|
"sp-std/std",
|
|
"sp-api/std",
|
|
"sp-consensus",
|
|
"sp-consensus-slots/std",
|
|
"sp-consensus-vrf/std",
|
|
"sp-core/std",
|
|
"sp-inherents/std",
|
|
"sp-keystore",
|
|
"sp-runtime/std",
|
|
"sp-timestamp/std",
|
|
"serde",
|
|
]
|