mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Blocks carry full attestations for candidates (#42)
* statement table yields fully-attested candidates * attestation types in polkadot-primitives * propose block with fully-attested candidates in consensus * some signature-checking logic in the runtime * fix runtime compilation * ensure attestations are full and without duplicate when checking * fix consensus-service compilation * add some tests * use bitvec from crates.io now that it's published * sign statements based on primitive statement's encoding * remove some serialize bounds * Fix error message with duplicate availability attestations Co-Authored-By: rphmeier <rphmeier@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c31f8168df
commit
7b46856159
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
[dependencies]
|
||||
bitvec = { version = "0.8", default-features = false, features = ["alloc"] }
|
||||
rustc-hex = "1.0"
|
||||
log = { version = "0.3", optional = true }
|
||||
serde = { version = "1.0", default-features = false }
|
||||
@@ -17,7 +18,6 @@ sr-std = { git = "https://github.com/paritytech/substrate" }
|
||||
sr-io = { git = "https://github.com/paritytech/substrate" }
|
||||
srml-support = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-primitives = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-keyring = { git = "https://github.com/paritytech/substrate" }
|
||||
substrate-client = { git = "https://github.com/paritytech/substrate" }
|
||||
srml-balances = { git = "https://github.com/paritytech/substrate" }
|
||||
srml-consensus = { git = "https://github.com/paritytech/substrate" }
|
||||
@@ -34,10 +34,12 @@ sr-version = { git = "https://github.com/paritytech/substrate" }
|
||||
|
||||
[dev-dependencies]
|
||||
hex-literal = "0.1.0"
|
||||
substrate-keyring = { git = "https://github.com/paritytech/substrate" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bitvec/std",
|
||||
"polkadot-primitives/std",
|
||||
"parity-codec/std",
|
||||
"parity-codec-derive/std",
|
||||
|
||||
Reference in New Issue
Block a user