Skip to content

Commit bd5529d

Browse files
committed
Introduce approval-voting-parallel
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
1 parent cb57906 commit bd5529d

15 files changed

Lines changed: 816 additions & 30 deletions

File tree

Cargo.lock

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ members = [
152152
"polkadot/erasure-coding/fuzzer",
153153
"polkadot/node/collation-generation",
154154
"polkadot/node/core/approval-voting",
155+
"polkadot/node/core/approval-voting-parallel",
155156
"polkadot/node/core/av-store",
156157
"polkadot/node/core/backing",
157158
"polkadot/node/core/bitfield-signing",
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
[package]
2+
name = "polkadot-node-core-approval-voting-parallel"
3+
version = "7.0.0"
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
description = "Approval Voting Subsystem running approval work in parallel"
8+
9+
[lints]
10+
workspace = true
11+
12+
[dependencies]
13+
futures = "0.3.30"
14+
futures-timer = "3.0.2"
15+
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["bit-vec", "derive"] }
16+
gum = { package = "tracing-gum", path = "../../gum" }
17+
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
18+
schnellru = "0.2.1"
19+
merlin = "3.0"
20+
schnorrkel = "0.11.4"
21+
kvdb = "0.13.0"
22+
derive_more = "0.99.17"
23+
thiserror = { workspace = true }
24+
itertools = "0.11"
25+
26+
polkadot-node-core-approval-voting = { path = "../approval-voting"}
27+
polkadot-approval-distribution = { path = "../../network/approval-distribution"}
28+
29+
30+
polkadot-node-subsystem = { path = "../../subsystem" }
31+
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
32+
polkadot-overseer = { path = "../../overseer" }
33+
polkadot-primitives = { path = "../../../primitives" }
34+
polkadot-node-primitives = { path = "../../primitives" }
35+
polkadot-node-jaeger = { path = "../../jaeger" }
36+
37+
sc-keystore = { path = "../../../../substrate/client/keystore", default-features = false }
38+
sp-consensus = { path = "../../../../substrate/primitives/consensus/common", default-features = false }
39+
sp-consensus-slots = { path = "../../../../substrate/primitives/consensus/slots", default-features = false }
40+
sp-application-crypto = { path = "../../../../substrate/primitives/application-crypto", default-features = false, features = ["full_crypto"] }
41+
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
42+
polkadot-node-network-protocol = { path = "../../network/protocol" }
43+
polkadot-node-metrics = { path = "../../metrics" }
44+
45+
rand = "0.8.5"
46+
47+
# rand_core should match schnorrkel
48+
rand_core = "0.6.2"
49+
rand_chacha = { version = "0.3.1" }
50+
51+
[dev-dependencies]
52+
async-trait = "0.1.79"
53+
parking_lot = "0.12.1"
54+
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
55+
sp-keystore = { path = "../../../../substrate/primitives/keystore" }
56+
sp-core = { path = "../../../../substrate/primitives/core" }
57+
sp-consensus-babe = { path = "../../../../substrate/primitives/consensus/babe" }
58+
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
59+
assert_matches = "1.4.0"
60+
kvdb-memorydb = "0.13.0"
61+
polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" }
62+
log = { workspace = true, default-features = true }
63+
env_logger = "0.11"
64+
65+
polkadot-subsystem-bench = { path = "../../subsystem-bench" }
66+

0 commit comments

Comments
 (0)