Files
pezkuwi-subxt/substrate/frame/babe/Cargo.toml
T
Wei Tang 9c7261fab3 Simplify BABE pre-digest definitions (#5289)
* Init vrf crate without type alias

* Generic PreDigest definition for BABE

* Fix BABE vrf interface change

* Missing default-features def in sp-consensus-babe

* Fix sp-consensus-babe compile

* frame-babe: fix type inference

* Unify type definitions of vrf output/proof and randomness

* frame-babe: fix tests

* Bump node impl version

* Update cargo lock

* Derive Copy for RawVRFOutput and RawVRFProof

* Fix duplicated derive

Co-authored-by: Gavin Wood <gavin@parity.io>
2020-03-23 11:53:41 +01:00

53 lines
2.4 KiB
TOML

[package]
name = "pallet-babe"
version = "2.0.0-alpha.4"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Consensus extension module for BABE consensus. Collects on-chain randomness from VRF outputs and manages epoch transitions."
[dependencies]
hex-literal = "0.2.1"
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.101", optional = true }
sp-inherents = { version = "2.0.0-alpha.4", default-features = false, path = "../../primitives/inherents" }
sp-std = { version = "2.0.0-alpha.4", default-features = false, path = "../../primitives/std" }
sp-runtime = { version = "2.0.0-alpha.4", default-features = false, path = "../../primitives/runtime" }
sp-staking = { version = "2.0.0-alpha.4", default-features = false, path = "../../primitives/staking" }
frame-support = { version = "2.0.0-alpha.4", default-features = false, path = "../support" }
frame-system = { version = "2.0.0-alpha.4", default-features = false, path = "../system" }
pallet-timestamp = { version = "2.0.0-alpha.4", default-features = false, path = "../timestamp" }
sp-timestamp = { version = "2.0.0-alpha.4", default-features = false, path = "../../primitives/timestamp" }
pallet-session = { version = "2.0.0-alpha.4", default-features = false, path = "../session" }
sp-consensus-babe = { version = "0.8.0-alpha.4", default-features = false, path = "../../primitives/consensus/babe" }
sp-consensus-vrf = { version = "0.8.0-alpha.4", default-features = false, path = "../../primitives/consensus/vrf" }
sp-io = { path = "../../primitives/io", default-features = false , version = "2.0.0-alpha.4"}
[dev-dependencies]
lazy_static = "1.4.0"
parking_lot = "0.10.0"
sp-version = { version = "2.0.0-alpha.4", default-features = false, path = "../../primitives/version" }
sp-core = { version = "2.0.0-alpha.4", path = "../../primitives/core" }
substrate-test-runtime = { version = "2.0.0-dev", path = "../../test-utils/runtime" }
[features]
default = ["std"]
std = [
"serde",
"codec/std",
"sp-std/std",
"frame-support/std",
"sp-runtime/std",
"sp-staking/std",
"frame-system/std",
"pallet-timestamp/std",
"sp-timestamp/std",
"sp-inherents/std",
"sp-consensus-babe/std",
"sp-consensus-vrf/std",
"pallet-session/std",
"sp-io/std",
]