-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from paritytech/bkchr-validate_block_2
Switch to `parachain::ValidationParams`
- Loading branch information
Showing
17 changed files
with
608 additions
and
1,492 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[workspace] | ||
members = [ | ||
"consensus", | ||
"runtime", | ||
"test/runtime", | ||
members = [ | ||
"consensus", | ||
"runtime", | ||
"test/runtime", | ||
"test/client", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,21 +5,26 @@ authors = ["Parity Technologies <[email protected]>"] | |
edition = "2018" | ||
|
||
[dependencies] | ||
codec = { package = "parity-codec", version = "3.1", default-features = false, features = [ "derive" ] } | ||
# Substrate dependencies | ||
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" } | ||
runtime-primitives = { package = "sr-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" } | ||
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" } | ||
rio = { package = "sr-io", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" } | ||
executive = { package = "srml-executive", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" } | ||
substrate-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" } | ||
|
||
# Polkadot dependencies | ||
parachain = { package = "polkadot-parachain", git = "https://github.com/paritytech/polkadot", default-features = false, branch = "bkchr-cumulus-branch" } | ||
|
||
# Other deps | ||
codec = { package = "parity-codec", version = "3.5.1", default-features = false, features = [ "derive" ] } | ||
memory-db = { version = "0.12.2", default-features = false } | ||
hash-db = { version = "0.12.2", default-features = false } | ||
trie-db = { version = "0.12.2", default-features = false } | ||
hashbrown = "0.1" | ||
hashbrown = "0.5.0" | ||
|
||
[dev-dependencies] | ||
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "bkchr-cumulus-branch" } | ||
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate", branch = "bkchr-cumulus-branch" } | ||
executor = { package = "substrate-executor", git = "https://github.com/paritytech/substrate", branch = "bkchr-cumulus-branch" } | ||
consensus-common = { package = "substrate-consensus-common", git = "https://github.com/paritytech/substrate", branch = "bkchr-cumulus-branch" } | ||
test-client = { package = "cumulus-test-client", path = "../test/client" } | ||
|
@@ -36,10 +41,11 @@ std = [ | |
"memory-db/std", | ||
"hash-db/std", | ||
"trie-db/std", | ||
"test-client/std", | ||
"substrate-trie/std", | ||
"parachain/std", | ||
] | ||
wasm = [ | ||
no_std = [ | ||
"hashbrown/nightly", | ||
"rio/wasm-nice-panic-message", | ||
"parachain/wasm-api", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,7 @@ authors = ["Parity Technologies <[email protected]>"] | |
edition = "2018" | ||
|
||
[dependencies] | ||
substrate-test-client = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"substrate-test-client/std", | ||
] | ||
test-client = { package = "substrate-test-client", git = "https://github.com/paritytech/substrate", branch = "bkchr-cumulus-branch" } | ||
runtime = { package = "cumulus-test-runtime", path = "../runtime" } | ||
runtime_primitives = { package = "sr-primitives", git = "https://github.com/paritytech/substrate", branch = "bkchr-cumulus-branch" } | ||
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate", branch = "bkchr-cumulus-branch" } |
Oops, something went wrong.