diff --git a/Cargo.lock b/Cargo.lock index 67e7cc7ce1..25db2abf4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,3 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. [[package]] name = "MacTypes-sys" version = "2.1.0" @@ -93,7 +95,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -118,7 +120,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "autocfg 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.47 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-demangle 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -168,7 +170,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "cexpr 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "clang-sys 0.26.4 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -318,7 +320,7 @@ dependencies = [ [[package]] name = "cfg-if" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -398,7 +400,7 @@ name = "crossbeam" version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-channel 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-epoch 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -443,7 +445,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -457,7 +459,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-utils 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -469,7 +471,7 @@ name = "crossbeam-utils" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -477,7 +479,7 @@ name = "crossbeam-utils" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -541,7 +543,7 @@ version = "0.1.0" dependencies = [ "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-primitives 0.1.0 (git+https://github.com/paritytech/polkadot)", "polkadot-runtime 0.1.0 (git+https://github.com/paritytech/polkadot)", "polkadot-service 0.3.0 (git+https://github.com/paritytech/polkadot)", @@ -708,7 +710,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", "synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -725,8 +727,8 @@ dependencies = [ "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1018,7 +1020,7 @@ name = "impl-codec" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1078,7 +1080,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1300,7 +1302,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1615,7 +1617,7 @@ name = "log" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1641,7 +1643,7 @@ name = "memchr" version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.47 (registry+https://github.com/rust-lang/crates.io-index)", "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1770,7 +1772,7 @@ name = "net2" version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.47 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1830,7 +1832,7 @@ version = "0.10.16" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.47 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1881,21 +1883,23 @@ source = "git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7 [[package]] name = "parity-codec" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "parity-codec-derive" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ + "proc-macro-crate 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2040,7 +2044,7 @@ dependencies = [ "proc-macro-hack 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2067,7 +2071,7 @@ dependencies = [ "kvdb-memorydb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=616b40150ded71f57f650067fcbc5c99d7c343e6)", "kvdb-rocksdb 0.1.4 (git+https://github.com/paritytech/parity-common?rev=616b40150ded71f57f650067fcbc5c99d7c343e6)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-primitives 0.1.0 (git+https://github.com/paritytech/polkadot)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2082,7 +2086,7 @@ dependencies = [ "exit-future 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-availability-store 0.1.0 (git+https://github.com/paritytech/polkadot)", "polkadot-parachain 0.1.0 (git+https://github.com/paritytech/polkadot)", @@ -2120,8 +2124,8 @@ dependencies = [ "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-availability-store 0.1.0 (git+https://github.com/paritytech/polkadot)", "polkadot-consensus 0.1.0 (git+https://github.com/paritytech/polkadot)", @@ -2139,8 +2143,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/polkadot#c30e0000f0fffd9b5baf96de8c2b46a0bef1b33c" dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "wasmi 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2149,8 +2153,8 @@ name = "polkadot-primitives" version = "0.1.0" source = "git+https://github.com/paritytech/polkadot#c30e0000f0fffd9b5baf96de8c2b46a0bef1b33c" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2167,8 +2171,8 @@ source = "git+https://github.com/paritytech/polkadot#c30e0000f0fffd9b5baf96de8c2 dependencies = [ "bitvec 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-primitives 0.1.0 (git+https://github.com/paritytech/polkadot)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2237,8 +2241,8 @@ name = "polkadot-statement-table" version = "0.1.0" source = "git+https://github.com/paritytech/polkadot#c30e0000f0fffd9b5baf96de8c2b46a0bef1b33c" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-primitives 0.1.0 (git+https://github.com/paritytech/polkadot)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] @@ -2277,7 +2281,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2580,6 +2584,21 @@ dependencies = [ "librocksdb-sys 5.14.3 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "runtime" +version = "0.1.0" +dependencies = [ + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-executive 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-test-runtime 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "rust-crypto" version = "0.2.36" @@ -2733,7 +2752,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2867,6 +2886,18 @@ name = "spin" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "sr-api-macros" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro-crate 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sr-api-macros" version = "0.1.0" @@ -2876,7 +2907,25 @@ dependencies = [ "proc-macro-crate 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sr-io" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "environmental 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-trie 0.4.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2887,7 +2936,7 @@ dependencies = [ "environmental 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2896,6 +2945,22 @@ dependencies = [ "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "sr-primitives" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "sr-primitives" version = "0.1.0" @@ -2904,8 +2969,8 @@ dependencies = [ "integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2913,6 +2978,14 @@ dependencies = [ "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "sr-std" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "sr-std" version = "0.1.0" @@ -2921,14 +2994,27 @@ dependencies = [ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "sr-version" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "sr-version" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2941,8 +3027,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2959,8 +3045,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2976,8 +3062,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -2993,8 +3079,8 @@ name = "srml-council" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3012,8 +3098,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3024,12 +3110,26 @@ dependencies = [ "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "srml-executive" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "srml-executive" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3044,8 +3144,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3060,8 +3160,8 @@ name = "srml-grandpa" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3079,8 +3179,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3092,27 +3192,51 @@ dependencies = [ "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "srml-metadata" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "srml-metadata" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "srml-parachain" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-executive 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "srml-session" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3129,8 +3253,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3148,8 +3272,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3158,6 +3282,25 @@ dependencies = [ "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "srml-support" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "once_cell 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "paste 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-metadata 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-support-procedural 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "srml-support" version = "0.1.0" @@ -3165,8 +3308,8 @@ source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "once_cell 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "paste 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3178,6 +3321,18 @@ dependencies = [ "substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "srml-support-procedural" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-api-macros 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-support-procedural-tools 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "srml-support-procedural" version = "0.1.0" @@ -3187,7 +3342,19 @@ dependencies = [ "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", "sr-api-macros 0.1.0 (git+https://github.com/paritytech/substrate)", "srml-support-procedural-tools 0.1.0 (git+https://github.com/paritytech/substrate)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "srml-support-procedural-tools" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "proc-macro-crate 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "srml-support-procedural-tools-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3199,7 +3366,17 @@ dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", "srml-support-procedural-tools-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "srml-support-procedural-tools-derive" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3209,7 +3386,24 @@ source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "srml-system" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", ] [[package]] @@ -3218,8 +3412,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3236,8 +3430,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3253,8 +3447,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3269,7 +3463,7 @@ name = "srml-upgrade-key" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3314,7 +3508,7 @@ dependencies = [ "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3329,7 +3523,7 @@ dependencies = [ "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)", "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3355,6 +3549,35 @@ name = "strsim" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "substrate-client" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-api-macros 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-consensus-common 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-telemetry 0.3.1 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-trie 0.4.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "substrate-client" version = "0.1.0" @@ -3368,8 +3591,8 @@ dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "sr-api-macros 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3395,8 +3618,8 @@ dependencies = [ "kvdb-rocksdb 0.1.4 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "lru-cache 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3415,7 +3638,7 @@ dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3432,6 +3655,14 @@ dependencies = [ "tokio 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "substrate-consensus-aura-primitives" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "substrate-consensus-aura-primitives" version = "0.1.0" @@ -3448,7 +3679,7 @@ dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3459,6 +3690,24 @@ dependencies = [ "tokio 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "substrate-consensus-common" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "crossbeam-channel 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "tokio 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-consensus-common" version = "0.1.0" @@ -3468,8 +3717,8 @@ dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-version 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3477,6 +3726,31 @@ dependencies = [ "tokio 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "substrate-executor" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-panic-handler 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-serializer 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-trie 0.4.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmi 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-executor" version = "0.1.0" @@ -3487,7 +3761,7 @@ dependencies = [ "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3510,8 +3784,8 @@ dependencies = [ "finality-grandpa 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3529,26 +3803,47 @@ name = "substrate-finality-grandpa-primitives" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "substrate-inherents" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "substrate-inherents" version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "substrate-keyring" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "substrate-keyring" version = "0.1.0" @@ -3587,8 +3882,8 @@ dependencies = [ "linked-hash-map 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "lru-cache 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3625,6 +3920,15 @@ dependencies = [ "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "substrate-panic-handler" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "backtrace 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-panic-handler" version = "0.1.0" @@ -3634,6 +3938,33 @@ dependencies = [ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "substrate-primitives" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hash256-std-hasher 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "primitive-types 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "ring 0.14.5 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "schnorrkel 0.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "twox-hash 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmi 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-primitives" version = "0.1.0" @@ -3646,8 +3977,8 @@ dependencies = [ "hash256-std-hasher 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "primitive-types 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "ring 0.14.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3672,7 +4003,7 @@ dependencies = [ "jsonrpc-derive 10.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-pubsub 10.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3702,6 +4033,15 @@ dependencies = [ "substrate-rpc 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "substrate-serializer" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-serializer" version = "0.1.0" @@ -3721,7 +4061,7 @@ dependencies = [ "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3749,12 +4089,30 @@ version = "0.1.0" source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f65af8efcdc9c48" dependencies = [ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "substrate-state-machine" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-panic-handler 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-trie 0.4.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "trie-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-root 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-state-machine" version = "0.1.0" @@ -3764,7 +4122,7 @@ dependencies = [ "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-panic-handler 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3788,6 +4146,49 @@ dependencies = [ "ws 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "substrate-telemetry" +version = "0.3.1" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "slog 2.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "slog-async 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "slog-json 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "slog-scope 4.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "ws 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "substrate-test-runtime" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-executive 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-parachain 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-consensus-aura-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)", +] + [[package]] name = "substrate-transaction-graph" version = "0.1.0" @@ -3810,7 +4211,7 @@ dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3818,6 +4219,18 @@ dependencies = [ "substrate-transaction-graph 0.1.0 (git+https://github.com/paritytech/substrate)", ] +[[package]] +name = "substrate-trie" +version = "0.4.0" +source = "git+https://github.com/paritytech/substrate?branch=bkchr-validate_block#eeab2cea0c02344b2111e32a42f6e0e411221513" +dependencies = [ + "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "memory-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-root 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-trie" version = "0.4.0" @@ -3825,7 +4238,7 @@ source = "git+https://github.com/paritytech/substrate#edf2a8fcdfec15f24bdbc0e73f dependencies = [ "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "memory-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "trie-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "trie-root 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3842,7 +4255,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "syn" -version = "0.15.25" +version = "0.15.27" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3857,7 +4270,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3876,7 +4289,7 @@ name = "tempfile" version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.47 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "redox_syscall 0.1.50 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4498,7 +4911,7 @@ dependencies = [ "checksum bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "40ade3d27603c2cb345eb0912aec461a6dec7e06a4ae48589904e808335c7afa" "checksum cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)" = "389803e36973d242e7fecb092b2de44a3d35ac62524b3b9339e51d577d668e02" "checksum cexpr 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "644d693ecfa91955ed32dcc7eda4914e1be97a641fb6f0645a37348e20b230da" -"checksum cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bdf4" +"checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4" "checksum chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878" "checksum clang-sys 0.26.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6ef0c1bcf2e99c649104bd7a7012d8f8802684400e03db0ec0af48583c6fa0e4" "checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e" @@ -4654,8 +5067,8 @@ dependencies = [ "checksum owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49a4b8ea2179e6a2e27411d3bca09ca6dd630821cf6894c6c7c8467a8ee7ef13" "checksum parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common?rev=616b40150ded71f57f650067fcbc5c99d7c343e6)" = "" "checksum parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)" = "" -"checksum parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "88f69984317b736dceac3baa86600fc089856f69b44b07231f39b5648b02bcd4" -"checksum parity-codec-derive 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a58ba33211595f92cc2163ac583961d3dc767e656934146636b05256cc9acd7f" +"checksum parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "67a4d27831e31e27f1454d6e3d3bb34bcac6bf7ad7032eed0ad0070dc8cf55c1" +"checksum parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "864e9f66b58c0b38f0d6b511b6576afa2b678ae801b64220553bced57ac12df9" "checksum parity-crypto 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "17b9db194dfbcfe3b398d63d765437a5c7232d59906e203055f0e993f6458ff1" "checksum parity-multiaddr 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9a8e5d637787fe097ec1bfca2aa3eb687396518003df991c6c7216d86682d5ff" "checksum parity-multihash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e8eab0287ccde7821e337a124dc5a4f1d6e4c25d10cc91e3f9361615dd95076" @@ -4754,28 +5167,41 @@ dependencies = [ "checksum snow 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7251f8920e9043106cfe466c04ed3eb257b8315a7699259c4fd0af6dffb6aef6" "checksum spin 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "44363f6f51401c34e7be73db0db371c04705d35efbe9f7d6082e03a921a32c55" "checksum sr-api-macros 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-api-macros 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum sr-io 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum sr-std 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum sr-version 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-version 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-aura 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-council 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-executive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-executive 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-fees 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-grandpa 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-indices 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-metadata 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-metadata 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" +"checksum srml-parachain 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-session 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-sudo 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-support 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-support-procedural 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-support-procedural 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-support-procedural-tools 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-support-procedural-tools 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-support-procedural-tools-derive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-support-procedural-tools-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-system 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum srml-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-treasury 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum srml-upgrade-key 0.1.0 (git+https://github.com/paritytech/substrate)" = "" @@ -4790,34 +5216,47 @@ dependencies = [ "checksum string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "b639411d0b9c738748b5397d5ceba08e648f4f1992231aa859af1a017f31f60b" "checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550" "checksum substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-client 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-client-db 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-consensus-aura 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-consensus-aura-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-consensus-aura-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-consensus-aura-slots 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-consensus-common 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-consensus-common 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-finality-grandpa 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-finality-grandpa-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-inherents 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-keystore 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-network 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-network-libp2p 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-panic-handler 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-panic-handler 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-rpc 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-rpc-servers 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-serializer 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-serializer 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-service 0.3.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-state-db 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-telemetry 0.3.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-telemetry 0.3.1 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" +"checksum substrate-test-runtime 0.1.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum substrate-transaction-graph 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-transaction-pool 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-trie 0.4.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-trie 0.4.0 (git+https://github.com/paritytech/substrate?branch=bkchr-validate_block)" = "" "checksum subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" "checksum subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "702662512f3ddeb74a64ce2fbbf3707ee1b6bb663d28bb054e0779bbc720d926" -"checksum syn 0.15.25 (registry+https://github.com/rust-lang/crates.io-index)" = "71b7693d9626935a362a3d1d4e59380800a919ebfa478d77a4f49e2a6d2c3ad5" +"checksum syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)" = "525bd55255f03c816e5d7f615587bd13030c7103354fadb104993dcee6a788ec" "checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015" "checksum take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" "checksum target_info 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c63f48baada5c52e65a29eef93ab4f8982681b67f9e8d29c7b05abcfec2b9ffe" diff --git a/Cargo.toml b/Cargo.toml index 6f9edfd094..b76e3e0a18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,2 +1,2 @@ [workspace] -members = [ "consensus" ] \ No newline at end of file +members = [ "consensus", "runtime" ] diff --git a/consensus/Cargo.toml b/consensus/Cargo.toml index 0afb845f5b..7df9056a77 100644 --- a/consensus/Cargo.toml +++ b/consensus/Cargo.toml @@ -2,7 +2,7 @@ name = "cumulus-consensus" description = "Proxy Polkadot's consensus as a consensus engine for Substrate" version = "0.1.0" -authors = ["Parity Technologies"] +authors = ["Parity Technologies "] edition = "2018" [dependencies] @@ -20,5 +20,5 @@ polkadot-runtime = { git = "https://github.com/paritytech/polkadot" } # other deps futures = "0.1.21" tokio = "0.1.8" -parity-codec = "3.0" +parity-codec = "3.1" log = "0.4" \ No newline at end of file diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml new file mode 100644 index 0000000000..7ac15f2ed9 --- /dev/null +++ b/runtime/Cargo.toml @@ -0,0 +1,28 @@ +[package] +name = "runtime" +version = "0.1.0" +authors = ["Parity Technologies "] +edition = "2018" + +[dependencies] +codec = { package = "parity-codec", version = "3.1", default-features = false, features = [ "derive" ] } +rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-validate_block" } +runtime-primitives = { package = "sr-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-validate_block" } +rio = { package = "sr-io", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-validate_block" } +executive = { package = "srml-executive", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-validate_block" } + +[dev-dependencies] +keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "bkchr-validate_block" } +primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate", branch = "bkchr-validate_block" } +executor = { package = "substrate-executor", git = "https://github.com/paritytech/substrate", branch = "bkchr-validate_block" } +test-runtime = { package = "substrate-test-runtime", git = "https://github.com/paritytech/substrate", branch = "bkchr-validate_block" } + +[features] +default = ["std"] +std = [ + "codec/std", + "rstd/std", + "rio/std", + "runtime-primitives/std", + "executive/std", +] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs new file mode 100644 index 0000000000..a35a6f3f61 --- /dev/null +++ b/runtime/src/lib.rs @@ -0,0 +1,52 @@ +// Copyright 2019 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. + +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +#![cfg_attr(not(feature = "std"), no_std)] + +use rstd::{vec::Vec, collections::btree_map::BTreeMap}; +use codec::{Encode, Decode}; +use runtime_primitives::traits::Block as BlockT; + +pub mod validate_block; + +type WitnessData = BTreeMap, Vec>; + +/// The parachain block that is created on a collator and validated by a validator. +#[derive(Encode, Decode)] +struct ParachainBlock { + extrinsics: Vec<::Extrinsic>, + /// The data that is required to emulate the storage accesses executed by all extrinsics. + witness_data: WitnessData, +} + +impl ParachainBlock { + #[cfg(test)] + fn new(extrinsics: Vec<::Extrinsic>, witness_data: WitnessData) -> Self { + Self { + extrinsics, + witness_data, + } + } +} + +impl Default for ParachainBlock { + fn default() -> Self { + Self { + extrinsics: Vec::default(), + witness_data: BTreeMap::default(), + } + } +} \ No newline at end of file diff --git a/runtime/src/validate_block/mod.rs b/runtime/src/validate_block/mod.rs new file mode 100644 index 0000000000..88aa57b668 --- /dev/null +++ b/runtime/src/validate_block/mod.rs @@ -0,0 +1,105 @@ +// Copyright 2019 Parity Technologies (UK) Ltd. +// This file is part of Substrate. + +// Substrate is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Substrate is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! A module that enables a runtime to work as parachain. + +#[cfg(not(feature = "std"))] +#[doc(hidden)] +pub use rstd::slice; + +#[cfg(not(feature = "std"))] +#[doc(hidden)] +pub mod storage_functions; +#[cfg(test)] +mod tests; + +/// Register the `validate_block` function that is used by parachains to validate blocks on a validator. +/// +/// Does *nothing* when `std` feature is enabled. +/// +/// Expects as parameters the block and the block executor. +/// +/// # Example +/// +/// ``` +/// struct Block; +/// struct BlockExecutor; +/// +/// srml_parachain::register_validate_block!(Block, BlockExecutor); +/// +/// # fn main() {} +/// ``` +#[macro_export] +macro_rules! register_validate_block { + ($block:ty, $block_executor:ty) => { + $crate::register_validate_block_impl!($block, $block_executor); + }; +} + +/// The actual implementation of `register_validate_block` for `no_std`. +#[cfg(not(feature = "std"))] +#[doc(hidden)] +#[macro_export] +macro_rules! register_validate_block_impl { + ($block:ty, $block_executor:ty) => { + #[doc(hidden)] + mod parachain_validate_block { + use super::*; + + #[no_mangle] + unsafe fn validate_block(block: *const u8, block_len: u64, prev_head: *const u8, prev_head_len: u64) { + let block = $crate::slice::from_raw_parts(block, block_len as usize); + let prev_head = $crate::slice::from_raw_parts(prev_head, prev_head_len as usize); + + $crate::validate_block::validate_block::<$block, $block_executor>(block, prev_head); + } + } + }; +} + +/// The actual implementation of `register_validate_block` for `std`. +#[cfg(feature = "std")] +#[doc(hidden)] +#[macro_export] +macro_rules! register_validate_block_impl { + ($block:ty, $block_executor:ty) => {}; +} + +/// Validate a given parachain block on a validator. +#[cfg(not(feature = "std"))] +#[doc(hidden)] +pub fn validate_block>(mut block: &[u8], mut prev_head: &[u8]) { + use codec::Decode; + + let block = ParachainBlock::::decode(&mut block).expect("Could not decode parachain block."); + let parent_header = <::Header as Decode>::decode(&mut prev_head).expect("Could not decode parent header."); + + let _guard = unsafe { + use storage_functions as storage; + STORAGE = Some(block.witness_data); + ( + // Replace storage calls with our own implementations + rio::ext_get_allocated_storage.replace_implementation(storage::ext_get_allocated_storage), + rio::ext_get_storage_into.replace_implementation(storage::ext_get_storage_into), + rio::ext_set_storage.replace_implementation(storage::ext_set_storage), + rio::ext_exists_storage.replace_implementation(storage::ext_exists_storage), + rio::ext_clear_storage.replace_implementation(storage::ext_clear_storage), + ) + }; + + let block_number = *parent_header.number() + One::one(); + E::execute_extrinsics_without_checks(block_number, block.extrinsics); +} \ No newline at end of file diff --git a/runtime/src/validate_block/storage_functions.rs b/runtime/src/validate_block/storage_functions.rs new file mode 100644 index 0000000000..a5c7eb68d9 --- /dev/null +++ b/runtime/src/validate_block/storage_functions.rs @@ -0,0 +1,82 @@ +// Copyright 2019 Parity Technologies (UK) Ltd. +// This file is part of Substrate. + +// Substrate is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Substrate is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! All storage functions that are replaced by `validate_block` in the Substrate runtime. + +use crate::{ParachainBlock, WitnessData}; +use runtime_primitives::traits::{Block as BlockT, One, Header as HeaderT}; +use rstd::{slice, ptr, cmp}; +use codec::Decode; +use executive::ExecuteBlock; + +pub static mut STORAGE: Option = None; +const STORAGE_SET_EXPECT: &str = "`STORAGE` needs to be set before calling this function."; + +pub unsafe fn ext_get_allocated_storage(key_data: *const u8, key_len: u32, written_out: *mut u32) -> *mut u8 { + let key = slice::from_raw_parts(key_data, key_len as usize); + match STORAGE.as_mut().expect(STORAGE_SET_EXPECT).get_mut(key) { + Some(value) => { + *written_out = value.len() as u32; + value.as_mut_ptr() + }, + None => { + *written_out = u32::max_value(); + ptr::null_mut() + } + } +} + +pub unsafe fn ext_set_storage(key_data: *const u8, key_len: u32, value_data: *const u8, value_len: u32) { + let key = slice::from_raw_parts(key_data, key_len as usize); + let value = slice::from_raw_parts(value_data, value_len as usize); + + STORAGE.as_mut().map(|s| { + s.insert(key.to_vec(), value.to_vec()); + }); +} + +pub unsafe fn ext_get_storage_into(key_data: *const u8, key_len: u32, value_data: *mut u8, value_len: u32, value_offset: u32) -> u32 { + let key = slice::from_raw_parts(key_data, key_len as usize); + let out_value = slice::from_raw_parts_mut(value_data, value_len as usize); + + match STORAGE.as_mut().expect(STORAGE_SET_EXPECT).get_mut(key) { + Some(value) => { + let value = &value[value_offset as usize..]; + let len = cmp::min(value_len as usize, value.len()); + out_value[..len].copy_from_slice(&value[..len]); + len as u32 + }, + None => { + u32::max_value() + } + } +} + +pub unsafe fn ext_exists_storage(key_data: *const u8, key_len: u32) -> u32 { + let key = slice::from_raw_parts(key_data, key_len as usize); + + if STORAGE.as_mut().expect(STORAGE_SET_EXPECT).contains_key(key) { + 1 + } else { + 0 + } +} + +pub unsafe fn ext_clear_storage(key_data: *const u8, key_len: u32) { + let key = slice::from_raw_parts(key_data, key_len as usize); + + STORAGE.as_mut().expect(STORAGE_SET_EXPECT).remove(key); +} \ No newline at end of file diff --git a/runtime/src/validate_block/tests.rs b/runtime/src/validate_block/tests.rs new file mode 100644 index 0000000000..844f5b1396 --- /dev/null +++ b/runtime/src/validate_block/tests.rs @@ -0,0 +1,96 @@ +use crate::ParachainBlock; + +use rio::{twox_128, TestExternalities}; +use keyring::Keyring; +use primitives::map; +use runtime_primitives::traits::Block as BlockT; +use executor::{WasmExecutor, error::Result, wasmi::RuntimeValue::{I64, I32}}; +use test_runtime::{Block, Header, Transfer}; + +use std::collections::BTreeMap; + +use codec::{KeyedVec, Encode}; + +const WASM_CODE: &'static [u8] = + include_bytes!("../../../core/test-runtime/wasm/target/wasm32-unknown-unknown/release/substrate_test_runtime.compact.wasm"); + +fn create_witness_data() -> BTreeMap, Vec> { + map![ + twox_128(&Keyring::Alice.to_raw_public().to_keyed_vec(b"balance:")).to_vec() => vec![111u8, 0, 0, 0, 0, 0, 0, 0] + ] +} + +fn call_validate_block(block: ParachainBlock, prev_header: ::Header) -> Result<()> { + let mut ext = TestExternalities::default(); + WasmExecutor::new().call_with_custom_signature( + &mut ext, + 8, + &WASM_CODE, + "validate_block", + |alloc| { + let block = block.encode(); + let prev_header = prev_header.encode(); + let block_offset = alloc(&block)?; + let prev_head_offset = alloc(&prev_header)?; + + Ok( + vec![ + I32(block_offset as i32), + I64(block.len() as i64), + I32(prev_head_offset as i32), + I64(prev_header.len() as i64), + ] + ) + }, + |res, _| { + if res.is_none() { + Ok(Some(())) + } else { + Ok(None) + } + } + ) +} + +fn create_extrinsics() -> Vec<::Extrinsic> { + vec![ + Transfer { + from: Keyring::Alice.to_raw_public().into(), + to: Keyring::Bob.to_raw_public().into(), + amount: 69, + nonce: 0, + }.into_signed_tx() + ] +} + +fn create_prev_header() -> Header { + Header { + parent_hash: Default::default(), + number: 1, + state_root: Default::default(), + extrinsics_root: Default::default(), + digest: Default::default(), + } +} + +#[test] +fn validate_block_with_empty_block() { + let prev_header = create_prev_header(); + call_validate_block(ParachainBlock::default(), prev_header).expect("Calls `validate_block`"); +} + +#[test] +fn validate_block_with_empty_witness_data() { + let prev_header = create_prev_header(); + + let block = ParachainBlock::new(create_extrinsics(), Default::default()); + assert!(call_validate_block(block, prev_header).is_err()); +} + +#[test] +fn validate_block_with_witness_data() { + let prev_header = create_prev_header(); + + let block = ParachainBlock::new(create_extrinsics(), create_witness_data()); + call_validate_block(block, prev_header).expect("`validate_block` succeeds"); +} \ No newline at end of file