mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 05:51:02 +00:00
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>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
[package]
|
||||
name = "sp-consensus-vrf"
|
||||
version = "0.8.0-alpha.4"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
description = "Primitives for VRF based consensus"
|
||||
edition = "2018"
|
||||
license = "GPL-3.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { version = "1.0.0", package = "parity-scale-codec", default-features = false }
|
||||
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated"], optional = true }
|
||||
sp-std = { version = "2.0.0-alpha.4", path = "../../std", default-features = false }
|
||||
sp-core = { version = "2.0.0-alpha.4", path = "../../core", default-features = false }
|
||||
sp-runtime = { version = "2.0.0-alpha.4", default-features = false, path = "../../runtime" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"schnorrkel",
|
||||
"sp-std/std",
|
||||
"sp-core/std",
|
||||
"sp-runtime/std",
|
||||
]
|
||||
Reference in New Issue
Block a user