Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4b68084
skeleton for candidate-validation
rphmeier Jul 17, 2020
2c26d66
add to workspace
rphmeier Jul 17, 2020
051f846
implement candidate validation logic
rphmeier Jul 17, 2020
2ae8e5b
guide: note occupied-core assumption for candidate validation
rphmeier Jul 17, 2020
a5b8927
adjust message doc
rphmeier Jul 17, 2020
bad653b
wire together `run` asynchronously
rphmeier Jul 17, 2020
bfb9052
add a Subsystem implementation
rphmeier Jul 17, 2020
9c848d0
clean up a couple warnings
rphmeier Jul 17, 2020
2207021
Merge branch 'master' into rh-candidate-validation
rphmeier Jul 17, 2020
23b44b4
fix compilation errors due to merge
rphmeier Jul 21, 2020
4530c51
improve candidate-validation.md
rphmeier Jul 21, 2020
c0dc7b7
Merge branch 'master' into rh-candidate-validation
rphmeier Jul 24, 2020
f4cf999
remove old reference to subsystem-test helpers crate
rphmeier Jul 24, 2020
4f40bbe
update Cargo.lock
rphmeier Jul 24, 2020
c9e5046
add a couple new Runtime API methods
rphmeier Jul 24, 2020
022d027
add a candidate validation message
rphmeier Jul 24, 2020
3cef5a8
fetch validation data from the chain state
rphmeier Jul 24, 2020
21ff5b2
Merge branch 'master' into rh-candidate-validation
rphmeier Jul 24, 2020
231f64b
some tests for assumption checking
rphmeier Jul 27, 2020
ae1add7
make spawn_validate_exhaustive mockable
rphmeier Jul 27, 2020
967144a
more tests on the error handling side
rphmeier Jul 27, 2020
cc91eff
Merge branch 'master' into rh-candidate-validation
rphmeier Jul 27, 2020
e4bdd29
fix all other grumbles except for wasm validation API change
rphmeier Jul 28, 2020
949d7df
wrap a SpawnNamed in candidate-validation
rphmeier Jul 28, 2020
3db44a1
Merge branch 'master' into rh-candidate-validation
rphmeier Jul 30, 2020
2458511
warn
rphmeier Jul 30, 2020
2adbe74
amend guide
rphmeier Jul 30, 2020
db69670
Merge branch 'master' into rh-candidate-validation
rphmeier Jul 30, 2020
73ec9ef
squanch warning
rphmeier Jul 30, 2020
cff00c2
Merge branch 'master' into rh-candidate-validation
rphmeier Jul 30, 2020
10effcc
remove duplicate after merge
rphmeier Jul 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ members = [
"validation",

"node/core/av-store",
"node/core/backing",
"node/core/bitfield-signing",
"node/core/candidate-validation",
"node/core/proposer",
"node/core/runtime-api",
"node/network/bridge",
Expand All @@ -54,7 +56,6 @@ members = [
"node/overseer",
"node/primitives",
"node/service",
"node/core/backing",
"node/subsystem",
"node/test-service",

Expand Down
24 changes: 24 additions & 0 deletions node/core/candidate-validation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "polkadot-node-core-candidate-validation"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

[dependencies]
futures = "0.3.5"
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master" }
parity-scale-codec = { version = "1.3.0", default-features = false, features = ["bit-vec", "derive"] }

polkadot-primitives = { path = "../../../primitives" }
polkadot-parachain = { path = "../../../parachain" }
polkadot-node-primitives = { path = "../../primitives" }
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
derive_more = "0.99.9"
log = "0.4.8"

[dev-dependencies]
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
futures = { version = "0.3.5", features = ["thread-pool"] }
assert_matches = "1.3.0"
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem", features = ["test-helpers"] }
Loading