diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index a4441c550d..2bdda86986 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -2,8 +2,8 @@ name = "adder" version = "0.1.0" dependencies = [ + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "polkadot-parachain 0.1.0", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -13,13 +13,13 @@ version = "0.1.0" dependencies = [ "adder 0.1.0", "ctrlc 1.1.1 (git+https://github.com/paritytech/rust-ctrlc.git)", - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "exit-future 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-collator 0.1.0", "polkadot-parachain 0.1.0", "polkadot-primitives 0.1.0", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] @@ -41,7 +41,7 @@ dependencies = [ "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-executor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -125,11 +125,6 @@ dependencies = [ "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "base-x" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "base58" version = "0.1.0" @@ -270,16 +265,6 @@ dependencies = [ "time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "cid" -version = "0.2.3" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" -dependencies = [ - "integer-encoding 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", - "multibase 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "multihash 0.8.1-pre (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", -] - [[package]] name = "clap" version = "2.32.0" @@ -404,6 +389,11 @@ dependencies = [ "cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "crossbeam-utils" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "crunchy" version = "0.1.6" @@ -422,14 +412,14 @@ dependencies = [ [[package]] name = "datastore" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "base64 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "chashmap 2.2.1 (git+https://github.com/redox-os/tfs)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", - "tempfile 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tempfile 3.0.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -445,19 +435,6 @@ dependencies = [ "generic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "ed25519" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -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)", - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "edit-distance" version = "2.0.1" @@ -488,15 +465,7 @@ dependencies = [ [[package]] name = "environmental" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" - -[[package]] -name = "error-chain" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "backtrace 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", -] +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" [[package]] name = "error-chain" @@ -523,7 +492,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fixed-hash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -531,7 +500,7 @@ dependencies = [ [[package]] name = "ethcore-io" version = "1.12.0" -source = "git+https://github.com/paritytech/parity.git#8a5c9a8c709ebb92fbcf7a3d085d6e2a1046fcf9" +source = "git+https://github.com/paritytech/parity.git#6e62d77e4d6211fca1b66a34f3b5047f3a406e77" dependencies = [ "crossbeam 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -551,12 +520,25 @@ dependencies = [ "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "ethbloom 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fixed-hash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "uint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "ethereum-types" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "ethbloom 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "uint 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "ethereum-types-serialize" version = "0.2.1" @@ -568,16 +550,16 @@ dependencies = [ [[package]] name = "ethkey" version = "0.3.0" -source = "git+https://github.com/paritytech/parity.git#8a5c9a8c709ebb92fbcf7a3d085d6e2a1046fcf9" +source = "git+https://github.com/paritytech/parity.git#6e62d77e4d6211fca1b66a34f3b5047f3a406e77" dependencies = [ "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "edit-distance 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "eth-secp256k1 0.5.7 (git+https://github.com/paritytech/rust-secp256k1)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "mem 0.1.0 (git+https://github.com/paritytech/parity.git)", - "parity-crypto 0.1.0 (git+https://github.com/paritytech/parity-common.git)", + "parity-crypto 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-wordlist 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -616,7 +598,7 @@ dependencies = [ [[package]] name = "fixed-hash" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -625,17 +607,6 @@ dependencies = [ "rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "fixed-hash" -version = "0.2.3" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "fnv" version = "1.0.6" @@ -656,7 +627,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "fs-swap" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -729,7 +700,7 @@ dependencies = [ [[package]] name = "hashdb" version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -863,7 +834,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "jsonrpc-core" version = "8.0.2" -source = "git+https://github.com/paritytech/jsonrpc.git#98e892b07949b030461cd8781b2c7b635370327f" +source = "git+https://github.com/paritytech/jsonrpc.git#7e5df8ca2acc01c608b2d2bd8cdcdb19d8cbaa90" dependencies = [ "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -875,7 +846,7 @@ dependencies = [ [[package]] name = "jsonrpc-http-server" version = "8.0.1" -source = "git+https://github.com/paritytech/jsonrpc.git#98e892b07949b030461cd8781b2c7b635370327f" +source = "git+https://github.com/paritytech/jsonrpc.git#7e5df8ca2acc01c608b2d2bd8cdcdb19d8cbaa90" dependencies = [ "hyper 0.11.27 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 8.0.2 (git+https://github.com/paritytech/jsonrpc.git)", @@ -888,7 +859,7 @@ dependencies = [ [[package]] name = "jsonrpc-macros" version = "8.0.1" -source = "git+https://github.com/paritytech/jsonrpc.git#98e892b07949b030461cd8781b2c7b635370327f" +source = "git+https://github.com/paritytech/jsonrpc.git#7e5df8ca2acc01c608b2d2bd8cdcdb19d8cbaa90" dependencies = [ "jsonrpc-core 8.0.2 (git+https://github.com/paritytech/jsonrpc.git)", "jsonrpc-pubsub 8.0.1 (git+https://github.com/paritytech/jsonrpc.git)", @@ -898,7 +869,7 @@ dependencies = [ [[package]] name = "jsonrpc-pubsub" version = "8.0.1" -source = "git+https://github.com/paritytech/jsonrpc.git#98e892b07949b030461cd8781b2c7b635370327f" +source = "git+https://github.com/paritytech/jsonrpc.git#7e5df8ca2acc01c608b2d2bd8cdcdb19d8cbaa90" dependencies = [ "jsonrpc-core 8.0.2 (git+https://github.com/paritytech/jsonrpc.git)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -908,7 +879,7 @@ dependencies = [ [[package]] name = "jsonrpc-server-utils" version = "8.0.1" -source = "git+https://github.com/paritytech/jsonrpc.git#98e892b07949b030461cd8781b2c7b635370327f" +source = "git+https://github.com/paritytech/jsonrpc.git#7e5df8ca2acc01c608b2d2bd8cdcdb19d8cbaa90" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "globset 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -921,7 +892,7 @@ dependencies = [ [[package]] name = "jsonrpc-ws-server" version = "8.0.0" -source = "git+https://github.com/paritytech/jsonrpc.git#98e892b07949b030461cd8781b2c7b635370327f" +source = "git+https://github.com/paritytech/jsonrpc.git#7e5df8ca2acc01c608b2d2bd8cdcdb19d8cbaa90" dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 8.0.2 (git+https://github.com/paritytech/jsonrpc.git)", @@ -932,16 +903,6 @@ dependencies = [ "ws 0.7.5 (git+https://github.com/tomusdrw/ws-rs)", ] -[[package]] -name = "keccak-hash" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cc 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "kernel32-sys" version = "0.2.2" @@ -954,12 +915,21 @@ dependencies = [ [[package]] name = "kvdb" version = "0.1.0" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "git+https://github.com/paritytech/parity-common.git#8ea8ed6e94e1f515bb4e53149d4c6563dfef67b4" dependencies = [ "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common.git)", ] +[[package]] +name = "kvdb" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-bytes 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "kvdb-memorydb" version = "0.1.0" @@ -971,19 +941,34 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.1.0" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +version = "0.1.3" +source = "git+https://github.com/paritytech/parity-common.git#8ea8ed6e94e1f515bb4e53149d4c6563dfef67b4" dependencies = [ "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "fs-swap 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "fs-swap 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "interleaved-ordered 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common.git)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-rocksdb 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "kvdb-rocksdb" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "fs-swap 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "interleaved-ordered 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-rocksdb 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "rocksdb 0.4.5 (git+https://github.com/paritytech/rust-rocksdb)", ] [[package]] @@ -1026,26 +1011,27 @@ dependencies = [ [[package]] name = "libp2p" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-dns 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-floodsub 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-identify 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-kad 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-mplex 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-peerstore 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-ping 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-ratelimit 0.1.1 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-relay 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-secio 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-tcp-transport 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-transport-timeout 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-websocket 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-yamux 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-dns 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-floodsub 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-identify 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-kad 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-mplex 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-peerstore 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-ping 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-ratelimit 0.1.1 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-relay 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-secio 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-tcp-transport 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-transport-timeout 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-uds 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-websocket 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-yamux 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "stdweb 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-current-thread 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1055,20 +1041,20 @@ dependencies = [ [[package]] name = "libp2p-core" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bs58 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bytes 0.4.9 (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.23 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "multihash 0.8.1-pre (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "multistream-select 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "multihash 0.8.1-pre (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "multistream-select 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rw-stream-sink 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "rw-stream-sink 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "smallvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1076,12 +1062,12 @@ dependencies = [ [[package]] name = "libp2p-dns" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "tokio-dns-unofficial 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1089,96 +1075,96 @@ dependencies = [ [[package]] name = "libp2p-floodsub" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bs58 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "bytes 0.4.9 (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.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "varint 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "libp2p-identify" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (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.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-peerstore 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-peerstore 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "varint 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "libp2p-kad" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", "bigint 4.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "bs58 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", - "datastore 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "datastore 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-identify 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-ping 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-identify 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-ping 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", - "varint 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "tokio-timer 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "libp2p-mplex" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (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.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "varint 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "libp2p-peerstore" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bs58 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "datastore 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "datastore 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1187,14 +1173,14 @@ dependencies = [ [[package]] name = "libp2p-ping" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "multistream-select 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "multistream-select 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1204,11 +1190,11 @@ dependencies = [ [[package]] name = "libp2p-ratelimit" version = "0.1.1" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "aio-limited 0.1.0 (git+https://github.com/paritytech/aio-limited.git)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-executor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1217,37 +1203,37 @@ dependencies = [ [[package]] name = "libp2p-relay" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "libp2p-peerstore 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "libp2p-peerstore 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "protobuf 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "varint 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "libp2p-secio" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "asn1_der 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "eth-secp256k1 0.5.7 (git+https://github.com/paritytech/rust-secp256k1)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "protobuf 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", "ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "rust-crypto 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", - "rw-stream-sink 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "rw-stream-sink 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1255,12 +1241,12 @@ dependencies = [ [[package]] name = "libp2p-tcp-transport" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "tk-listen 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-tcp 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1269,38 +1255,51 @@ dependencies = [ [[package]] name = "libp2p-transport-timeout" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-uds" +version = "0.1.0" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" +dependencies = [ + "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "tokio-uds 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "libp2p-websocket" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", - "rw-stream-sink 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "rw-stream-sink 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "stdweb 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "websocket 0.20.3 (registry+https://github.com/rust-lang/crates.io-index)", + "websocket 0.20.3 (git+https://github.com/tomaka/rust-websocket?branch=send)", ] [[package]] name = "libp2p-yamux" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "yamux 0.1.0 (git+https://github.com/paritytech/yamux)", ] @@ -1353,7 +1352,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "mem" version = "0.1.0" -source = "git+https://github.com/paritytech/parity.git#8a5c9a8c709ebb92fbcf7a3d085d6e2a1046fcf9" +source = "git+https://github.com/paritytech/parity.git#6e62d77e4d6211fca1b66a34f3b5047f3a406e77" [[package]] name = "memchr" @@ -1376,13 +1375,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "memorydb" version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "plain_hasher 0.2.0 (git+https://github.com/paritytech/parity-common.git)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common.git)", + "plain_hasher 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1419,6 +1418,16 @@ dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "mio-uds" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", + "mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "miow" version = "0.2.1" @@ -1433,25 +1442,19 @@ dependencies = [ [[package]] name = "multiaddr" version = "0.3.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ + "bs58 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "cid 0.2.3 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", "integer-encoding 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "multibase" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "base-x 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "multihash 0.8.1-pre (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "multihash" version = "0.8.1-pre" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "sha1 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "sha2 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1461,14 +1464,14 @@ dependencies = [ [[package]] name = "multistream-select" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "varint 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1513,15 +1516,6 @@ name = "nodrop" version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "num-bigint" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", - "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "num-integer" version = "0.1.39" @@ -1586,20 +1580,72 @@ dependencies = [ [[package]] name = "parity-bytes" version = "0.1.0" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "git+https://github.com/paritytech/parity-common.git#8ea8ed6e94e1f515bb4e53149d4c6563dfef67b4" + +[[package]] +name = "parity-bytes" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "parity-codec" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parity-codec-derive" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "proc-macro2 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.14.8 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "parity-crypto" version = "0.1.0" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "rust-crypto 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "parity-rocksdb" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", + "local-encoding 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-rocksdb-sys 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parity-rocksdb-sys" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cmake 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", + "local-encoding 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-snappy-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parity-snappy-sys" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cmake 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "parity-wasm" version = "0.31.3" @@ -1658,13 +1704,13 @@ dependencies = [ [[package]] name = "patricia-trie" -version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common.git)", + "parity-bytes 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1681,7 +1727,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "plain_hasher" version = "0.2.0" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1703,17 +1749,17 @@ version = "0.1.0" dependencies = [ "error-chain 0.12.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 0.1.0 (git+https://github.com/paritytech/substrate)", "polkadot-executor 0.1.0", "polkadot-primitives 0.1.0", "polkadot-runtime 0.1.0", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-executive 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", ] @@ -1723,11 +1769,11 @@ version = "0.1.0" dependencies = [ "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common.git)", "kvdb-memorydb 0.1.0 (git+https://github.com/paritytech/parity-common.git)", - "kvdb-rocksdb 0.1.0 (git+https://github.com/paritytech/parity-common.git)", + "kvdb-rocksdb 0.1.3 (git+https://github.com/paritytech/parity-common.git)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-primitives 0.1.0", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] @@ -1747,15 +1793,14 @@ dependencies = [ name = "polkadot-collator" version = "0.1.0" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "polkadot-api 0.1.0", "polkadot-cli 0.3.0", "polkadot-primitives 0.1.0", "polkadot-runtime 0.1.0", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1764,11 +1809,11 @@ dependencies = [ name = "polkadot-consensus" version = "0.1.0" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "exit-future 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-api 0.1.0", "polkadot-availability-store 0.1.0", @@ -1778,13 +1823,12 @@ dependencies = [ "polkadot-statement-table 0.1.0", "polkadot-transaction-pool 0.1.0", "rhododendron 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-bft 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1801,9 +1845,10 @@ dependencies = [ name = "polkadot-network" version = "0.1.0" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-api 0.1.0", "polkadot-availability-store 0.1.0", @@ -1811,8 +1856,6 @@ dependencies = [ "polkadot-primitives 0.1.0", "rhododendron 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-bft 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-network 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1823,8 +1866,8 @@ name = "polkadot-parachain" version = "0.1.0" dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1833,14 +1876,14 @@ dependencies = [ name = "polkadot-primitives" version = "0.1.0" dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "pretty_assertions 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-serializer 0.1.0 (git+https://github.com/paritytech/substrate)", ] @@ -1850,29 +1893,30 @@ version = "0.1.0" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "polkadot-primitives 0.1.0", "rustc-hex 1.0.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.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-council 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-executive 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-session 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-treasury 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-serializer 0.1.0 (git+https://github.com/paritytech/substrate)", ] @@ -1880,7 +1924,6 @@ dependencies = [ name = "polkadot-service" version = "0.3.0" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1895,10 +1938,10 @@ dependencies = [ "polkadot-runtime 0.1.0", "polkadot-transaction-pool 0.1.0", "slog 2.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-network 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-service 0.3.0 (git+https://github.com/paritytech/substrate)", "substrate-telemetry 0.3.0 (git+https://github.com/paritytech/substrate)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1908,9 +1951,9 @@ dependencies = [ name = "polkadot-statement-table" version = "0.1.0" dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "polkadot-primitives 0.1.0", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] @@ -1918,19 +1961,18 @@ dependencies = [ name = "polkadot-transaction-pool" version = "0.1.0" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "error-chain 0.12.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 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "polkadot-api 0.1.0", "polkadot-primitives 0.1.0", "polkadot-runtime 0.1.0", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-extrinsic-pool 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] @@ -1979,7 +2021,7 @@ dependencies = [ [[package]] name = "pwasm-alloc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1988,7 +2030,7 @@ dependencies = [ [[package]] name = "pwasm-libc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" [[package]] name = "quick-error" @@ -2167,45 +2209,13 @@ dependencies = [ [[package]] name = "rlp" -version = "0.2.2" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rlp" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rocksdb" -version = "0.4.5" -source = "git+https://github.com/paritytech/rust-rocksdb#3d96d68a0a913e445e933933f2d1522a8d99f715" -dependencies = [ - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "local-encoding 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rocksdb-sys 0.3.0 (git+https://github.com/paritytech/rust-rocksdb)", -] - -[[package]] -name = "rocksdb-sys" -version = "0.3.0" -source = "git+https://github.com/paritytech/rust-rocksdb#3d96d68a0a913e445e933933f2d1522a8d99f715" -dependencies = [ - "cmake 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "local-encoding 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "snappy-sys 0.1.0 (git+https://github.com/paritytech/rust-snappy)", + "ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2251,7 +2261,7 @@ dependencies = [ [[package]] name = "rw-stream-sink" version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" +source = "git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346#304e9c72c88bc97824f2734dc19d1b5f4556d346" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2462,12 +2472,287 @@ dependencies = [ ] [[package]] -name = "snappy-sys" +name = "sr-io" version = "0.1.0" -source = "git+https://github.com/paritytech/rust-snappy#017b104fb9371f94043e0738c7e22f01aab13ef4" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "cmake 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", + "environmental 0.1.0 (git+https://github.com/paritytech/substrate)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "rlp 0.2.4 (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)", + "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", + "triehash 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sr-primitives" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "sr-sandbox" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sr-std" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate)", + "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", + "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#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-balances" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-consensus" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-council" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-democracy" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-executive" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-session" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-staking" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-session 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-support" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-metadata 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-system" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-timestamp" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-treasury" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] @@ -2488,26 +2773,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "substrate-bft" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "rhododendron 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-cli" version = "0.3.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "ansi_term 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", "app_dirs 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2524,10 +2807,10 @@ dependencies = [ "names 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "slog 2.3.2 (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)", "substrate-network 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-network-libp2p 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-service 0.3.0 (git+https://github.com/paritytech/substrate)", "substrate-telemetry 0.3.0 (git+https://github.com/paritytech/substrate)", "sysinfo 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2538,95 +2821,73 @@ dependencies = [ [[package]] name = "substrate-client" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "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.23 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "hashdb 0.2.1 (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.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common.git)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common.git)", + "patricia-trie 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "slog 2.3.2 (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)", "substrate-bft 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-metadata 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-telemetry 0.3.0 (git+https://github.com/paritytech/substrate)", - "triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "triehash 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-client-db" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", - "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common.git)", - "kvdb-rocksdb 0.1.0 (git+https://github.com/paritytech/parity-common.git)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "kvdb-rocksdb 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "memorydb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "memorydb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (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)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-state-db 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", ] -[[package]] -name = "substrate-codec" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-codec-derive" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "proc-macro2 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.14.8 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "substrate-executor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-serializer 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", - "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "triehash 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "twox-hash 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2634,7 +2895,7 @@ dependencies = [ [[package]] name = "substrate-extrinsic-pool" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2642,62 +2903,69 @@ dependencies = [ "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "transaction-pool 1.13.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-keyring" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-keystore" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-crypto 0.1.0 (git+https://github.com/paritytech/parity-common.git)", + "parity-crypto 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "subtle 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "substrate-metadata" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", +] + [[package]] name = "substrate-network" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "ethcore-io 1.12.0 (git+https://github.com/paritytech/parity.git)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "linked-hash-map 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 1.0.0 (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)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-network-libp2p 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-network-libp2p" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2707,60 +2975,67 @@ dependencies = [ "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "libp2p 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)", + "libp2p 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", - "unsigned-varint 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" 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.4 (registry+https://github.com/rust-lang/crates.io-index)", "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fixed-hash 0.2.3 (git+https://github.com/paritytech/parity-common.git)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", - "patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common.git)", - "plain_hasher 0.2.0 (git+https://github.com/paritytech/parity-common.git)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common.git)", + "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "patricia-trie 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "plain_hasher 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "twox-hash 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "uint 0.4.1 (git+https://github.com/paritytech/parity-common.git)", + "uint 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "jsonrpc-core 8.0.2 (git+https://github.com/paritytech/jsonrpc.git)", "jsonrpc-macros 8.0.1 (git+https://github.com/paritytech/jsonrpc.git)", "jsonrpc-pubsub 8.0.1 (git+https://github.com/paritytech/jsonrpc.git)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.26 (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-client 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-extrinsic-pool 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2768,7 +3043,7 @@ dependencies = [ [[package]] name = "substrate-rpc-servers" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "jsonrpc-core 8.0.2 (git+https://github.com/paritytech/jsonrpc.git)", "jsonrpc-http-server 8.0.1 (git+https://github.com/paritytech/jsonrpc.git)", @@ -2776,279 +3051,14 @@ dependencies = [ "jsonrpc-ws-server 8.0.0 (git+https://github.com/paritytech/jsonrpc.git)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-rpc 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-balances" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (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.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-consensus" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-council" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", - "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-democracy" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (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.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-executive" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-io" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", - "environmental 0.1.0 (git+https://github.com/paritytech/substrate)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", - "triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-runtime-primitives" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", - "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-sandbox" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-runtime-session" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (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.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-staking" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (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.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-std" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate)", - "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-runtime-support" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-system" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (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.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-timestamp" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-version" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" -dependencies = [ - "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-serializer" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3057,21 +3067,23 @@ dependencies = [ [[package]] name = "substrate-service" version = "0.3.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "exit-future 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.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 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.71 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", "slog 2.3.2 (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)", "substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-client-db 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-extrinsic-pool 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-keystore 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -3079,8 +3091,6 @@ dependencies = [ "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-rpc 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-rpc-servers 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-telemetry 0.3.0 (git+https://github.com/paritytech/substrate)", "target_info 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3089,37 +3099,38 @@ dependencies = [ [[package]] name = "substrate-state-db" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "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#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "hashdb 0.2.1 (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.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "memorydb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "memorydb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common.git)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common.git)", + "patricia-trie 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "triehash 0.2.1 (git+https://github.com/paritytech/parity-common.git)", + "triehash 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-telemetry" version = "0.3.0" -source = "git+https://github.com/paritytech/substrate#7c10a6c92f06da7521647204b8030c283d6aa11c" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3183,14 +3194,14 @@ dependencies = [ [[package]] name = "tempfile" -version = "2.2.0" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", "redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3270,7 +3281,7 @@ dependencies = [ "tokio-reactor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-tcp 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-threadpool 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-udp 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3299,7 +3310,7 @@ dependencies = [ "tokio-executor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-reactor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-timer 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3416,10 +3427,12 @@ dependencies = [ [[package]] name = "tokio-timer" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ + "crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", + "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-executor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3448,6 +3461,22 @@ dependencies = [ "tokio-reactor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "tokio-uds" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", + "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)", + "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-reactor 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "trace-time" version = "0.1.0" @@ -3474,23 +3503,12 @@ dependencies = [ [[package]] name = "triehash" -version = "0.1.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "keccak-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rlp 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "triehash" -version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common.git)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3535,10 +3553,11 @@ dependencies = [ [[package]] name = "uint" version = "0.4.1" -source = "git+https://github.com/paritytech/parity-common.git#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3591,11 +3610,10 @@ dependencies = [ [[package]] name = "unsigned-varint" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", - "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -3619,19 +3637,6 @@ name = "utf8-ranges" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "varint" -version = "0.1.0" -source = "git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294#6aa139a12dbea3d75d898ce0b2af7fcec129e294" -dependencies = [ - "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", - "error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", - "num-bigint 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", - "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "vcpkg" version = "0.2.4" @@ -3682,6 +3687,27 @@ dependencies = [ "parity-wasm 0.31.3 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "websocket" +version = "0.20.3" +source = "git+https://github.com/tomaka/rust-websocket?branch=send#28ea5eb82b573bf3ace2fc75c36d791bcedf08b1" +dependencies = [ + "base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.10.13 (registry+https://github.com/rust-lang/crates.io-index)", + "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", + "sha1 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "url 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "websocket" version = "0.20.3" @@ -3794,7 +3820,6 @@ dependencies = [ "checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652" "checksum backtrace 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "89a47830402e9981c5c41223151efcced65a0510c13097c769cede7efb34782a" "checksum backtrace-sys 0.1.24 (registry+https://github.com/rust-lang/crates.io-index)" = "c66d56ac8dabd07f6aacdaf633f4b8262f5b3601a810a0dcddffd5c22c69daa0" -"checksum base-x 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2f59103b47307f76e03bef1633aec7fa9e29bfb5aa6daf5a334f94233c71f6c1" "checksum base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83" "checksum base64 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "30e93c03064e7590d0466209155251b90c22e37fab1daf2771582598b5827557" "checksum base64 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "96434f987501f0ed4eb336a411e0631ecd1afa11574fe148587adc4ff96143c9" @@ -3815,7 +3840,6 @@ dependencies = [ "checksum cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0c4e7bb64a8ebb0d856483e1e682ea3422f883c5f5615a90d51a2c82fe87fdd3" "checksum chashmap 2.2.1 (git+https://github.com/redox-os/tfs)" = "" "checksum chrono 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e48d85528df61dc964aa43c5f6ca681a19cfa74939b2348d204bd08a981f2fb0" -"checksum cid 0.2.3 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" "checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e" "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" "checksum cmake 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)" = "704fbf3bb5149daab0afb255dbea24a1f08d2f4099cedb9baab6d470d4c5eefb" @@ -3830,35 +3854,34 @@ dependencies = [ "checksum crossbeam-epoch 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2af0e75710d6181e234c8ecc79f14a97907850a541b13b0be1dd10992f2e4620" "checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9" "checksum crossbeam-utils 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d636a8b3bcc1b409d7ffd3facef8f21dcb4009626adbd0c5e6c4305c07253c7b" +"checksum crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "677d453a17e8bd2b913fa38e8b9cf04bcdbb5be790aa294f2389661d72036015" "checksum crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a2f4a431c5c9f662e1200b7c7f02c34e91361150e382089a8f2dec3ba680cbda" "checksum ctrlc 1.1.1 (git+https://github.com/paritytech/rust-ctrlc.git)" = "" -"checksum datastore 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" +"checksum datastore 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" "checksum difference 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b3304d19798a8e067e48d8e69b2c37f0b5e9b4e462504ad9e27e9f3fce02bba8" "checksum digest 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)" = "5b29c278aa8fd30796bd977169e8004b4aa88cdcd2f32a6eb22bc2d5d38df94a" -"checksum ed25519 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum edit-distance 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3bd26878c3d921f89797a4e1a1711919f999a9f6946bb6f5a4ffda126d297b7e" "checksum either 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3be565ca5c557d7f59e7cfcf1844f9e3033650c929c6566f511e8005f205c1d0" "checksum elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "88d4851b005ef16de812ea9acdb7bece2f0a40dd86c07b85631d7dafa54537bb" "checksum env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3ddf21e73e016298f5cb37d6ef8e8da8e39f91f9ec8b0df44b7deb16a9f8cd5b" "checksum environmental 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff511d5dc435d703f4971bc399647c9bc38e20cb41452e3b9feb4765419ed3f3" "checksum error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "07e791d3be96241c77c43846b665ef1384606da2cd2a48730abe606a12906e02" "checksum eth-secp256k1 0.5.7 (git+https://github.com/paritytech/rust-secp256k1)" = "" "checksum ethbloom 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1a93a43ce2e9f09071449da36bfa7a1b20b950ee344b6904ff23de493b03b386" "checksum ethcore-io 1.12.0 (git+https://github.com/paritytech/parity.git)" = "" "checksum ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c48729b8aea8aedb12cf4cb2e5cef439fdfe2dda4a89e47eeebd15778ef53b6" +"checksum ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "35b3c5a18bc5e73a32a110ac743ec04b02bbbcd3b71d3118d40a6113d509378a" "checksum ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ac59a21a9ce98e188f3dace9eb67a6c4a3c67ec7fbc7218cb827852679dc002" "checksum ethkey 0.3.0 (git+https://github.com/paritytech/parity.git)" = "" "checksum etrace 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0fc6c1d54ed28f0c9c88866f73e7e3a0cc68d74bc438efaa97957ff4f972ea2b" "checksum exit-future 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9aa7b56cef68c4182db7212dece19cc9f6e2916cf9412e57e6cea53ec02f316d" "checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" "checksum fdlimit 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b1ee15a7050e5580b3712877157068ea713b245b080ff302ae2ca973cfcd9baa" -"checksum fixed-hash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18d6fd718fb4396e7a9c93ac59ba7143501467ca7a143c145b5555a571d5576" -"checksum fixed-hash 0.2.3 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0d5ec8112f00ea8a483e04748a85522184418fd1cf02890b626d8fc28683f7de" "checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" "checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" "checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" -"checksum fs-swap 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "67f816b2a5f8a6628764a4323d1a8d9ad5303266c4e4e4486ba680f477ba7e62" +"checksum fs-swap 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "921d332c89b3b61a826de38c61ee5b6e02c56806cade1b0e5d81bd71f57a71bb" "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" "checksum futures 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)" = "884dbe32a6ae4cd7da5c6db9b78114449df9953b8d490c9d7e1b51720b922c62" @@ -3867,7 +3890,7 @@ dependencies = [ "checksum generic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef25c5683767570c2bbd7deba372926a55eaae9982d7726ee2a1050239d45b9d" "checksum getopts 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)" = "0a7292d30132fb5424b354f5dc02512a86e4c516fe544bb7a25e7f266951b797" "checksum globset 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8e49edbcc9c7fc5beb8c0a54e7319ff8bed353a2b55e85811c6281188c2a6c84" -"checksum hashdb 0.2.1 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f1c71fc577cde89b3345d5f2880fecaf462a32e96c619f431279bdaf1ba5ddb1" "checksum heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1679e6ea370dee694f91f1dc469bf94cf8f52051d147aec3e1f9497c6fc22461" "checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77" "checksum hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4da5f0e01bd8a71a224a4eedecaacfcabda388dbb7a80faf04d3514287572d95" @@ -3888,33 +3911,35 @@ dependencies = [ "checksum jsonrpc-pubsub 8.0.1 (git+https://github.com/paritytech/jsonrpc.git)" = "" "checksum jsonrpc-server-utils 8.0.1 (git+https://github.com/paritytech/jsonrpc.git)" = "" "checksum jsonrpc-ws-server 8.0.0 (git+https://github.com/paritytech/jsonrpc.git)" = "" -"checksum keccak-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b7f51f30d7986536accaec4a6a288008dfb3dbffe8a2863a65292bc395a3ae7" "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" "checksum kvdb 0.1.0 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum kvdb 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "72ae89206cea31c32014b39d5a454b96135894221610dbfd19cf4d2d044fa546" "checksum kvdb-memorydb 0.1.0 (git+https://github.com/paritytech/parity-common.git)" = "" -"checksum kvdb-rocksdb 0.1.0 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum kvdb-rocksdb 0.1.3 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum kvdb-rocksdb 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e731661c9e7409857d73ac574da418cef6f9605e967bed0aeb93182ef8d4b1c7" "checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a" "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" "checksum lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca488b89a5657b0a2ecd45b95609b3e848cf1755da332a0da46e2b2b1cb371a7" "checksum lazycell 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a6f08839bc70ef4a3fe1d566d5350f519c5912ea86be0df1740a7d247c7fc0ef" "checksum libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)" = "76e3a3ef172f1a0b9a9ff0dd1491ae5e6c948b94479a3021819ba7d860c8645d" "checksum libloading 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2" -"checksum libp2p 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-core 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-dns 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-floodsub 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-identify 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-kad 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-mplex 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-peerstore 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-ping 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-ratelimit 0.1.1 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-relay 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-secio 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-tcp-transport 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-transport-timeout 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-websocket 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum libp2p-yamux 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" +"checksum libp2p 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-core 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-dns 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-floodsub 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-identify 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-kad 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-mplex 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-peerstore 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-ping 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-ratelimit 0.1.1 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-relay 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-secio 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-tcp-transport 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-transport-timeout 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-uds 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-websocket 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum libp2p-yamux 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" "checksum linked-hash-map 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "70fb39025bc7cdd76305867c4eccf2f2dcf6e9a57f5b21a93e1c2d86cd03ec9e" "checksum local-encoding 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e1ceb20f39ff7ae42f3ff9795f3986b1daad821caaa1e1732a0944103a5a1a66" "checksum lock_api 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "949826a5ccf18c1b3a7c3d57692778d21768b79e46eb9dd07bfc4c2160036c54" @@ -3925,21 +3950,20 @@ dependencies = [ "checksum memchr 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "796fba70e76612589ed2ce7f45282f5af869e0fdd7cc6199fa1aa1f1d591ba9d" "checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3" "checksum memory_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" -"checksum memorydb 0.2.1 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum memorydb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f72c93304ad51e21230ecbd0d2b58a3f94703bf9339d14aed88c3aaf5e8b7a56" "checksum mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ba626b8a6de5da682e1caa06bdb42a335aee5a84db8e5046a3e8ab17ba0a3ae0" "checksum mime 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "4b082692d3f6cf41b453af73839ce3dfc212c4411cbb2441dff80a716e38bd79" "checksum mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)" = "4fcfcb32d63961fb6f367bfd5d21e4600b92cd310f71f9dca25acae196eb1560" +"checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" -"checksum multiaddr 0.3.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum multibase 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b9c35dac080fd6e16a99924c8dfdef0af89d797dd851adab25feaffacf7850d6" -"checksum multihash 0.8.1-pre (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" -"checksum multistream-select 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" +"checksum multiaddr 0.3.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum multihash 0.8.1-pre (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" +"checksum multistream-select 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" "checksum names 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef320dab323286b50fb5cdda23f61c796a72a89998ab565ca32525c5c556f2da" "checksum nan-preserving-float 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "34d4f00fcc2f4c9efa8cc971db0da9e28290e28e97af47585e48691ef10ff31f" "checksum native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f74dbadc8b43df7864539cedb7bc91345e532fdd913cfdc23ad94f4d2d40fbc0" "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" "checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" -"checksum num-bigint 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)" = "e63899ad0da84ce718c14936262a41cee2c79c981fc0a0e7c7beb47d5a07e8c1" "checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea" "checksum num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "630de1ef5cc79d0cdd78b7e33b81f083cbfe90de0f4b2b2f07f905867c70e9fe" "checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" @@ -3948,17 +3972,23 @@ dependencies = [ "checksum openssl-sys 0.9.35 (registry+https://github.com/rust-lang/crates.io-index)" = "912f301a749394e1025d9dcddef6106ddee9252620e6d0a0e5f8d0681de9b129" "checksum owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37" "checksum parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common.git)" = "" -"checksum parity-crypto 0.1.0 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum parity-bytes 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fa5168b4cf41f3835e4bc6ffb32f51bc9365dc50cb351904595b3931d917fd0c" +"checksum parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum parity-crypto 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c1117f6574377d21309bfa1f7d69ff734120685d92b02c3f362b122585758840" +"checksum parity-rocksdb 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cd55d2d6d6000ec99f021cf52c9acc7d2a402e14f95ced4c5de230696fabe00b" +"checksum parity-rocksdb-sys 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9ae07d4bfb2759541957c19f471996b807fc09ef3a5bdce14409b57f038de49f" +"checksum parity-snappy-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c2086caac40c79289cb70d7e1c64f5888e1c53f5d38399d3e95101493739f423" "checksum parity-wasm 0.31.3 (registry+https://github.com/rust-lang/crates.io-index)" = "511379a8194230c2395d2f5fa627a5a7e108a9f976656ce723ae68fca4097bfc" "checksum parity-wordlist 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d0dec124478845b142f68b446cbee953d14d4b41f1bc0425024417720dce693" "checksum parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "149d8f5b97f3c1133e3cfcd8886449959e856b557ff281e292b733d7c69e005e" "checksum parking_lot 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d4d05f1349491390b1730afba60bb20d55761bef489a954546b58b4b34e1e2ac" "checksum parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "69376b761943787ebd5cc85a5bc95958651a22609c5c1c2b65de21786baec72b" "checksum parking_lot_core 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "4db1a8ccf734a7bce794cc19b3df06ed87ab2f3907036b693c68f56b4d4537fa" -"checksum patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum patricia-trie 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "46be3bf26e050bcaac60d0a8373f912a4734bb8bd4bf5ecda66ee997b86bddfc" "checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" "checksum pkg-config 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)" = "104630aa1c83213cbc76db0703630fcb0421dac3585063be4ce9a8a2feeaa745" -"checksum plain_hasher 0.2.0 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum plain_hasher 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "95fa6386b1d34aaf0adb9b7dd2885dbe7c34190e6263785e5a7ec2b19044a90f" "checksum pretty_assertions 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "28ea5118e2f41bfbc974b28d88c07621befd1fa5d6ec23549be96302a1a59dd2" "checksum proc-macro-hack 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ba8d4f9257b85eb6cdf13f055cea3190520aab1409ca2ab43493ea4820c25f0" "checksum proc-macro-hack-impl 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d5cb6f960ad471404618e9817c0e5d10b1ae74cfdf01fab89ea0641fe7fb2892" @@ -3987,17 +4017,14 @@ dependencies = [ "checksum remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3488ba1b9a2084d38645c4c08276a1752dcbf2c7130d74f1569681ad5d2799c5" "checksum rhododendron 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "289a6395497f70b8076bf5b9c223e1dc5c0a77619d0a75124f7d4c728d09d2d8" "checksum ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6f7d28b30a72c01b458428e0ae988d4149c20d902346902be881e3edc4bb325c" -"checksum rlp 0.2.2 (git+https://github.com/paritytech/parity-common.git)" = "" -"checksum rlp 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "89db7f8dfdd5eb7ab3ac3ece7a07fd273a680b4b224cb231181280e8996f9f0b" -"checksum rocksdb 0.4.5 (git+https://github.com/paritytech/rust-rocksdb)" = "" -"checksum rocksdb-sys 0.3.0 (git+https://github.com/paritytech/rust-rocksdb)" = "" +"checksum rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "524c5ad554859785dfc8469df3ed5e0b5784d4d335877ed47c8d90fc0eb238fe" "checksum rust-crypto 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)" = "f76d05d3993fd5f4af9434e8e436db163a12a9d40e1a58a726f27a01dfd12a2a" "checksum rustc-demangle 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "bcfe5b13211b4d78e5c2cadfebd7769197d95c639c35a50057eb4c05de811395" "checksum rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0ceb8ce7a5e520de349e1fa172baeba4a9e8d5ef06c47471863530bc4972ee1e" "checksum rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "403bb3a286107a04825a5f82e1270acc1e14028d3d554d7a1e08914549575ab8" "checksum rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)" = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda" "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -"checksum rw-stream-sink 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" +"checksum rw-stream-sink 0.1.0 (git+https://github.com/libp2p/rust-libp2p?rev=304e9c72c88bc97824f2734dc19d1b5f4556d346)" = "" "checksum ryu 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "16aa12da69951804cddf5f74d96abcc414a31b064e610dc81e37c1536082f491" "checksum safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7f7bf422d23a88c16d5090d455f182bc99c60af4df6a345c63428acf5129e347" "checksum safemem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e27a8b19b835f7aea908818e871f5cc3a5a186550c30773be987e155e8163d8f" @@ -4026,7 +4053,22 @@ dependencies = [ "checksum smallvec 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f90c5e5fe535e48807ab94fc611d323935f39d4660c52b26b96446a7b33aef10" "checksum smallvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1347484b6f8bc4b32a9323d9800b6d934376391002ad9c528cc659fe8afc08ee" "checksum smallvec 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "211a489e65e94b103926d2054ae515a1cdb5d515ea0ef414fee23b7e043ce748" -"checksum snappy-sys 0.1.0 (git+https://github.com/paritytech/rust-snappy)" = "" +"checksum sr-io 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-std 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-version 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-session 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-support 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-system 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"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 stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" "checksum stdweb 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ef5430c8e36b713e13b48a9f709cc21e046723fe44ce34587b73a830203b533e" "checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550" @@ -4034,32 +4076,16 @@ dependencies = [ "checksum substrate-cli 0.3.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-client 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-client-db 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-executor 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-extrinsic-pool 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-keystore 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-metadata 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-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "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-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-serializer 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "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)" = "" @@ -4072,7 +4098,7 @@ dependencies = [ "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" "checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" -"checksum tempfile 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "11ce2fe9db64b842314052e2421ac61a73ce41b898dc8e3750398b219c5fc1e0" +"checksum tempfile 3.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c4b103c6d08d323b92ff42c8ce62abcd83ca8efa7fd5bf7927efefec75f58c76" "checksum termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096" "checksum textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6" "checksum thread_local 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "279ef31c19ededf577bfd12dfae728040a21f635b06a24cd670ff510edd38963" @@ -4093,21 +4119,21 @@ dependencies = [ "checksum tokio-service 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162" "checksum tokio-tcp 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5b4c329b47f071eb8a746040465fa751bd95e4716e98daef6a9b4e434c17d565" "checksum tokio-threadpool 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "24ab84f574027b0e875378f31575cf175360891919e93a3490f07e76e00e4efb" -"checksum tokio-timer 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "1c76b4e97a4f61030edff8bd272364e4f731b9f54c7307eb4eb733c3926eb96a" +"checksum tokio-timer 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "d03fa701f9578a01b7014f106b47f0a363b4727a7f3f75d666e312ab7acbbf1c" "checksum tokio-tls 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "772f4b04e560117fe3b0a53e490c16ddc8ba6ec437015d91fa385564996ed913" "checksum tokio-udp 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "43eb534af6e8f37d43ab1b612660df14755c42bd003c5f8d2475ee78cc4600c0" +"checksum tokio-uds 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "424c1ed15a0132251813ccea50640b224c809d6ceafb88154c1a8775873a0e89" "checksum trace-time 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5aea07da6582e957c6e737eeb63a5af79e648eeeaaaba8fd9a417f1124bafa41" "checksum traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" "checksum transaction-pool 1.13.2 (registry+https://github.com/rust-lang/crates.io-index)" = "fdb8870eea404a57e2f62056ac45067a53a6207fd31866122356481d3c2e1a30" -"checksum triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2033893a813c70e7d8a739ca6c36dc0a7a2c913ec718d7cbf84a3837bbe3c7ce" -"checksum triehash 0.2.1 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum triehash 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3da77dc2c88bac48769c53f2c7675d99d522a7fc8130da3fadf29d7c6f94c9ac" "checksum try-lock 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee2aa4715743892880f70885373966c83d73ef1b0838a664ef0c76fffd35e7c2" "checksum twox-hash 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4f85be565a110ed72ed7048cf56570db04ce0a592c98aa59b7dacde3e5718750" "checksum typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1410f6f91f21d1612654e7cc69193b0334f909dcf2c790c4826254fbb86f8887" "checksum typenum 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169" "checksum ucd-util 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fd2be2d6639d0f8fe6cdda291ad456e23629558d466e2789d2c3e9892bda285d" "checksum uint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "38051a96565903d81c9a9210ce11076b2218f3b352926baa1f5f6abbdfce8273" -"checksum uint 0.4.1 (git+https://github.com/paritytech/parity-common.git)" = "" +"checksum uint 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "754ba11732b9161b94c41798e5197e5e75388d012f760c42adb5000353e98646" "checksum unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33" "checksum unicase 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "284b6d3db520d67fbe88fd778c21510d1b0ba4a551e5d0fbb023d33405f6de8a" "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" @@ -4115,11 +4141,10 @@ dependencies = [ "checksum unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526" "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" "checksum unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" -"checksum unsigned-varint 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f5c1441164e5da61f00acd15f5a9e61939693c2c6e8b9fae36a220b82de7e212" +"checksum unsigned-varint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5fb8abc4b7d8158bdfbbaaccc35331ed3c30c2673e99000d7ae665a2eb6576f4" "checksum untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f392d7819dbe58833e26872f5f6f0d68b7bbbe90fc3667e98731c4a15ad9a7ae" "checksum url 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2a321979c09843d272956e73700d12c4e7d3d92b2ee112b31548aef0d4efc5a6" "checksum utf8-ranges 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "662fab6525a98beff2921d7f61a39e7d59e0b425ebc7d0d9e66d316e55124122" -"checksum varint 0.1.0 (git+https://github.com/tomaka/libp2p-rs?rev=6aa139a12dbea3d75d898ce0b2af7fcec129e294)" = "" "checksum vcpkg 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cbe533e138811704c0e3cbde65a818b35d3240409b4346256c5ede403e082474" "checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" "checksum vergen 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c3365f36c57e5df714a34be40902b27a992eeddb9996eca52d0584611cf885d" @@ -4127,6 +4152,7 @@ dependencies = [ "checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" "checksum want 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "a05d9d966753fa4b5c8db73fcab5eed4549cfe0e1e4e66911e5564a0085c35d1" "checksum wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "522fe3fdd44a56f25cd5ddcd8ccdb1cf2e982ceb28fcb00f41d8a018ae5245a8" +"checksum websocket 0.20.3 (git+https://github.com/tomaka/rust-websocket?branch=send)" = "" "checksum websocket 0.20.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9234b4e667c19995475227172446884f516ec0963380afa960d962ab9f4c0bfa" "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" "checksum winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "773ef9dcc5f24b7d850d0ff101e542ff24c3b090a9768e03ff889fdef41f00fd" diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index 9265518bf0..6422334a63 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -39,7 +39,6 @@ members = [ exclude = [ "runtime/wasm", "test-parachains/adder/wasm", - "demo/runtime/wasm", ] [badges] diff --git a/polkadot/api/Cargo.toml b/polkadot/api/Cargo.toml index 92d8ca81b8..73ba40a552 100644 --- a/polkadot/api/Cargo.toml +++ b/polkadot/api/Cargo.toml @@ -9,10 +9,10 @@ log = "0.3" polkadot-executor = { path = "../executor" } polkadot-runtime = { path = "../runtime" } polkadot-primitives = { path = "../primitives" } -substrate-codec = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-io = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-executive = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } +sr-io = { git = "https://github.com/paritytech/substrate" } +srml-executive = { git = "https://github.com/paritytech/substrate" } +sr-primitives = { git = "https://github.com/paritytech/substrate" } substrate-client = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } substrate-executor = { git = "https://github.com/paritytech/substrate" } diff --git a/polkadot/api/src/full.rs b/polkadot/api/src/full.rs index c1a14858fe..659810de5e 100644 --- a/polkadot/api/src/full.rs +++ b/polkadot/api/src/full.rs @@ -18,70 +18,22 @@ use client::backend::LocalBackend; use client::block_builder::BlockBuilder as ClientBlockBuilder; -use client::{self, Client, LocalCallExecutor, CallExecutor}; -use codec::{Encode, Decode}; +use client::{Client, LocalCallExecutor}; use polkadot_executor::Executor as LocalDispatch; use substrate_executor::NativeExecutor; -use state_machine::ExecutionManager; +//use runtime::{Block, Header, Address, BlockId}; use runtime::Address; use primitives::{ - AccountId, Block, Header, BlockId, Hash, Index, InherentData, + Block, BlockId, + AccountId, Hash, Index, InherentData, SessionKey, Timestamp, UncheckedExtrinsic, }; use primitives::parachain::{DutyRoster, Id as ParaId}; -use substrate_primitives::{KeccakHasher, RlpCodec}; -use {BlockBuilder, PolkadotApi, LocalPolkadotApi, Error, ErrorKind, Result}; +use substrate_primitives::{Blake2Hasher, RlpCodec}; +use {BlockBuilder, PolkadotApi, LocalPolkadotApi, ErrorKind, Result}; -fn call( - client: &Client>, Block>, - at: &BlockId, - function: &'static str, - input: &[u8]) --> Result -where - R: Decode, - B: LocalBackend, -{ - let parent = at; - let header = Header { - parent_hash: client.block_hash_from_id(&parent)? - .ok_or_else(|| ErrorKind::UnknownBlock(format!("{:?}", parent)))?, - number: client.block_number_from_id(&parent)? - .ok_or_else(|| ErrorKind::UnknownBlock(format!("{:?}", parent)))? + 1, - state_root: Default::default(), - extrinsics_root: Default::default(), - digest: Default::default(), - }; - client.state_at(&parent).map_err(Error::from).and_then(|state| { - let mut overlay = Default::default(); - let execution_manager = || ExecutionManager::Both(|wasm_result, native_result| { - warn!("Consensus error between wasm and native runtime execution at block {:?}", at); - warn!(" Function {:?}", function); - warn!(" Native result {:?}", native_result); - warn!(" Wasm result {:?}", wasm_result); - wasm_result - }); - client.executor().call_at_state( - &state, - &mut overlay, - "initialise_block", - &header.encode(), - execution_manager() - )?; - let (r, _) = client.executor().call_at_state( - &state, - &mut overlay, - function, - input, - execution_manager() - )?; - Ok(R::decode(&mut &r[..]) - .ok_or_else(|| client::error::Error::from(client::error::ErrorKind::CallResultDecode(function)))?) - }) -} - -impl> BlockBuilder for ClientBlockBuilder>, Block, KeccakHasher, RlpCodec> { +impl> BlockBuilder for ClientBlockBuilder>, Block, Blake2Hasher, RlpCodec> { fn push_extrinsic(&mut self, extrinsic: UncheckedExtrinsic) -> Result<()> { self.push(extrinsic).map_err(Into::into) } @@ -92,32 +44,31 @@ impl> BlockBuilder for ClientBloc } } -impl> PolkadotApi for Client>, Block> { - type BlockBuilder = ClientBlockBuilder>, Block, KeccakHasher, RlpCodec>; +impl> PolkadotApi for Client>, Block> { + type BlockBuilder = ClientBlockBuilder>, Block, Blake2Hasher, RlpCodec>; fn session_keys(&self, at: &BlockId) -> Result> { Ok(self.authorities_at(at)?) } fn validators(&self, at: &BlockId) -> Result> { - call(self, at, "validators", &[]) + Ok(self.call_api_at(at, "validators", &())?) } fn random_seed(&self, at: &BlockId) -> Result { - call(self, at, "random_seed", &[]) + Ok(self.call_api_at(at, "random_seed", &())?) } fn duty_roster(&self, at: &BlockId) -> Result { - call(self, at, "duty_roster", &[]) + Ok(self.call_api_at(at, "duty_roster", &())?) } fn timestamp(&self, at: &BlockId) -> Result { - call(self, at, "timestamp", &[]) + Ok(self.call_api_at(at, "timestamp", &())?) } fn evaluate_block(&self, at: &BlockId, block: Block) -> Result { - let encoded = block.encode(); - let res: Result<()> = call(self, at, "execute_block", &encoded); + let res: Result<()> = self.call_api_at(at, "execute_block", &block).map_err(From::from); match res { Ok(_) => Ok(true), Err(err) => match err.kind() { @@ -128,31 +79,23 @@ impl> PolkadotApi for Client Result { - account.using_encoded(|encoded| { - call(self, at, "account_nonce", encoded) - }) + Ok(self.call_api_at(at, "account_nonce", &account)?) } fn lookup(&self, at: &BlockId, address: Address) -> Result> { - address.using_encoded(|encoded| { - call(self, at, "lookup_address", encoded) - }) + Ok(self.call_api_at(at, "lookup_address", &address)?) } fn active_parachains(&self, at: &BlockId) -> Result> { - call(self, at, "active_parachains", &[]) + Ok(self.call_api_at(at, "active_parachains", &())?) } fn parachain_code(&self, at: &BlockId, parachain: ParaId) -> Result>> { - parachain.using_encoded(|encoded| { - call(self, at, "parachain_code", encoded) - }) + Ok(self.call_api_at(at, "parachain_code", ¶chain)?) } fn parachain_head(&self, at: &BlockId, parachain: ParaId) -> Result>> { - parachain.using_encoded(|encoded| { - call(self, at, "parachain_head", encoded) - }) + Ok(self.call_api_at(at, "parachain_head", ¶chain)?) } fn build_block(&self, at: &BlockId, inherent_data: InherentData) -> Result { @@ -166,13 +109,11 @@ impl> PolkadotApi for Client Result> { let runtime_version = self.runtime_version_at(at)?; - (inherent_data, runtime_version.spec_version).using_encoded(|encoded| { - call(self, at, "inherent_extrinsics", encoded) - }) + Ok(self.call_api_at(at, "inherent_extrinsics", &(inherent_data, runtime_version.spec_version))?) } } -impl> LocalPolkadotApi for Client>, Block> +impl> LocalPolkadotApi for Client>, Block> {} #[cfg(test)] @@ -198,7 +139,7 @@ mod tests { ] } - fn client() -> Client, LocalCallExecutor, NativeExecutor>, Block> { + fn client() -> Client, LocalCallExecutor, NativeExecutor>, Block> { let genesis_config = GenesisConfig { consensus: Some(ConsensusConfig { code: LocalDispatch::native_equivalent().to_vec(), @@ -215,9 +156,10 @@ mod tests { parachains: Some(Default::default()), staking: Some(Default::default()), timestamp: Some(Default::default()), + treasury: Some(Default::default()), }; - ::client::new_in_mem(LocalDispatch::with_heap_pages(8), genesis_config).unwrap() + ::client::new_in_mem(LocalDispatch::new(), genesis_config).unwrap() } #[test] @@ -273,6 +215,6 @@ mod tests { let client = client(); let id = BlockId::number(0); - assert!(client.random_seed(&id).is_ok()); + client.random_seed(&id).unwrap(); } } diff --git a/polkadot/api/src/lib.rs b/polkadot/api/src/lib.rs index 9f139faa89..288d6bd189 100644 --- a/polkadot/api/src/lib.rs +++ b/polkadot/api/src/lib.rs @@ -20,19 +20,18 @@ extern crate polkadot_executor; extern crate polkadot_primitives as primitives; extern crate polkadot_runtime as runtime; -extern crate substrate_codec as codec; -extern crate substrate_runtime_io as runtime_io; +extern crate parity_codec as codec; +extern crate sr_io as runtime_io; extern crate substrate_client as client; extern crate substrate_executor as substrate_executor; -extern crate substrate_runtime_executive; +extern crate srml_executive; extern crate substrate_primitives; -extern crate substrate_runtime_primitives as runtime_primitives; +extern crate sr_primitives as runtime_primitives; extern crate substrate_state_machine as state_machine; #[macro_use] extern crate error_chain; -#[macro_use] extern crate log; #[cfg(test)] diff --git a/polkadot/api/src/light.rs b/polkadot/api/src/light.rs index 7a3a357db9..e148dfb833 100644 --- a/polkadot/api/src/light.rs +++ b/polkadot/api/src/light.rs @@ -27,7 +27,7 @@ use primitives::{ use runtime::Address; use primitives::parachain::{DutyRoster, Id as ParaId}; use {PolkadotApi, BlockBuilder, RemotePolkadotApi, Result, ErrorKind}; -use substrate_primitives::{KeccakHasher, RlpCodec}; +use substrate_primitives::{Blake2Hasher, RlpCodec}; /// Light block builder. TODO: make this work (efficiently) #[derive(Clone, Copy)] @@ -44,9 +44,9 @@ impl BlockBuilder for LightBlockBuilder { } /// Remote polkadot API implementation. -pub struct RemotePolkadotApiWrapper, E: CallExecutor>(pub Arc>); +pub struct RemotePolkadotApiWrapper, E: CallExecutor>(pub Arc>); -impl, E: CallExecutor> PolkadotApi for RemotePolkadotApiWrapper { +impl, E: CallExecutor> PolkadotApi for RemotePolkadotApiWrapper { type BlockBuilder = LightBlockBuilder; fn session_keys(&self, at: &BlockId) -> Result> { @@ -100,9 +100,9 @@ impl, E: CallExecutor Result>> { + fn inherent_extrinsics(&self, _at: &BlockId, _inherent: InherentData) -> Result> { Err(ErrorKind::UnknownRuntime.into()) } } -impl, E: CallExecutor> RemotePolkadotApi for RemotePolkadotApiWrapper {} +impl, E: CallExecutor> RemotePolkadotApi for RemotePolkadotApiWrapper {} diff --git a/polkadot/availability-store/Cargo.toml b/polkadot/availability-store/Cargo.toml index 66dc3e78f6..902a9a0205 100644 --- a/polkadot/availability-store/Cargo.toml +++ b/polkadot/availability-store/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Parity Technologies "] polkadot-primitives = { path = "../primitives" } parking_lot = "0.4" log = "0.3" -substrate-codec = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } kvdb = { git = "https://github.com/paritytech/parity-common.git" } kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common.git" } diff --git a/polkadot/availability-store/src/lib.rs b/polkadot/availability-store/src/lib.rs index 5237ca4981..d481f8c173 100644 --- a/polkadot/availability-store/src/lib.rs +++ b/polkadot/availability-store/src/lib.rs @@ -18,7 +18,7 @@ extern crate polkadot_primitives; extern crate parking_lot; -extern crate substrate_codec as codec; +extern crate parity_codec as codec; extern crate substrate_primitives; extern crate kvdb; extern crate kvdb_rocksdb; diff --git a/polkadot/ci/script.sh b/polkadot/ci/script.sh index 812da2d816..7eee447bb0 100755 --- a/polkadot/ci/script.sh +++ b/polkadot/ci/script.sh @@ -24,6 +24,5 @@ case $TARGET in # Install prerequisites and build all wasm projects ./scripts/init.sh ./scripts/build.sh - ./scripts/build-demos.sh ;; esac diff --git a/polkadot/collator/Cargo.toml b/polkadot/collator/Cargo.toml index 4a3ca0d88e..de6fb85747 100644 --- a/polkadot/collator/Cargo.toml +++ b/polkadot/collator/Cargo.toml @@ -7,12 +7,11 @@ description = "Collator node implementation" [dependencies] futures = "0.1.17" substrate-client = { git = "https://github.com/paritytech/substrate" } -substrate-codec = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } polkadot-api = { path = "../api" } polkadot-runtime = { path = "../runtime", version = "0.1" } polkadot-primitives = { path = "../primitives", version = "0.1" } polkadot-cli = { path = "../cli" } log = "0.4" -ed25519 = { git = "https://github.com/paritytech/substrate" } tokio = "0.1.7" diff --git a/polkadot/collator/src/lib.rs b/polkadot/collator/src/lib.rs index 60b46d47f0..8c1b4bdb1b 100644 --- a/polkadot/collator/src/lib.rs +++ b/polkadot/collator/src/lib.rs @@ -46,9 +46,8 @@ extern crate futures; extern crate substrate_client as client; -extern crate substrate_codec as codec; +extern crate parity_codec as codec; extern crate substrate_primitives as primitives; -extern crate ed25519; extern crate tokio; extern crate polkadot_api; @@ -67,6 +66,7 @@ use std::time::{Duration, Instant}; use futures::{future, stream, Stream, Future, IntoFuture}; use client::BlockchainEvents; use polkadot_api::PolkadotApi; +use primitives::ed25519; use polkadot_primitives::{AccountId, BlockId, SessionKey}; use polkadot_primitives::parachain::{self, BlockData, DutyRoster, HeadData, ConsolidatedIngress, Message, Id as ParaId}; use polkadot_cli::{ServiceComponents, Service, CustomConfiguration}; diff --git a/polkadot/consensus/Cargo.toml b/polkadot/consensus/Cargo.toml index d2565a772f..3c8261ae2a 100644 --- a/polkadot/consensus/Cargo.toml +++ b/polkadot/consensus/Cargo.toml @@ -7,7 +7,6 @@ authors = ["Parity Technologies "] futures = "0.1.17" parking_lot = "0.4" tokio = "0.1.7" -ed25519 = { git = "https://github.com/paritytech/substrate" } error-chain = "0.12" log = "0.3" exit-future = "0.1" @@ -20,11 +19,11 @@ polkadot-runtime = { path = "../runtime" } polkadot-statement-table = { path = "../statement-table" } polkadot-transaction-pool = { path = "../transaction-pool" } substrate-bft = { git = "https://github.com/paritytech/substrate" } -substrate-codec = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-support = { git = "https://github.com/paritytech/substrate" } +srml-support = { git = "https://github.com/paritytech/substrate" } substrate-client = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate" } +sr-primitives = { git = "https://github.com/paritytech/substrate" } [dev-dependencies] substrate-keyring = { git = "https://github.com/paritytech/substrate" } diff --git a/polkadot/consensus/src/lib.rs b/polkadot/consensus/src/lib.rs index 92d97d4444..b4b99bbab2 100644 --- a/polkadot/consensus/src/lib.rs +++ b/polkadot/consensus/src/lib.rs @@ -29,7 +29,6 @@ //! //! Groups themselves may be compromised by malicious authorities. -extern crate ed25519; extern crate parking_lot; extern crate polkadot_api; extern crate polkadot_availability_store as extrinsic_store; @@ -40,10 +39,10 @@ extern crate polkadot_runtime; extern crate polkadot_primitives; extern crate substrate_bft as bft; -extern crate substrate_codec as codec; +extern crate parity_codec as codec; extern crate substrate_primitives as primitives; -extern crate substrate_runtime_support as runtime_support; -extern crate substrate_runtime_primitives as runtime_primitives; +extern crate srml_support as runtime_support; +extern crate sr_primitives as runtime_primitives; extern crate substrate_client as client; extern crate exit_future; @@ -71,7 +70,7 @@ use extrinsic_store::Store as ExtrinsicStore; use polkadot_api::PolkadotApi; use polkadot_primitives::{AccountId, Hash, Block, BlockId, BlockNumber, Header, Timestamp, SessionKey}; use polkadot_primitives::parachain::{Id as ParaId, Chain, DutyRoster, BlockData, Extrinsic as ParachainExtrinsic, CandidateReceipt, CandidateSignature}; -use primitives::AuthorityId; +use primitives::{AuthorityId, ed25519}; use transaction_pool::TransactionPool; use tokio::runtime::TaskExecutor; use tokio::timer::{Delay, Interval}; @@ -593,8 +592,7 @@ impl bft::Proposer for Proposer fn import_misbehavior(&self, misbehavior: Vec<(AuthorityId, bft::Misbehavior)>) { use rhododendron::Misbehavior as GenericMisbehavior; use runtime_primitives::bft::{MisbehaviorKind, MisbehaviorReport}; - use runtime_primitives::MaybeUnsigned; - use polkadot_runtime::{Call, Extrinsic, BareExtrinsic, UncheckedExtrinsic, ConsensusCall}; + use polkadot_runtime::{Call, UncheckedExtrinsic, ConsensusCall, RawAddress}; let local_id = self.local_key.public().0.into(); let mut next_index = { @@ -632,23 +630,18 @@ impl bft::Proposer for Proposer => MisbehaviorKind::BftDoubleCommit(round as u32, (h1, s1.signature), (h2, s2.signature)), } }; - let extrinsic = BareExtrinsic { - signed: local_id, - index: next_index, - function: Call::Consensus(ConsensusCall::report_misbehavior(report)), - }; - + let payload = (next_index, Call::Consensus(ConsensusCall::report_misbehavior(report))); + let signature = self.local_key.sign(&payload.encode()).into(); next_index += 1; - let signature = MaybeUnsigned(self.local_key.sign(&extrinsic.encode()).into()); - - let extrinsic = Extrinsic { - signed: extrinsic.signed.into(), - index: extrinsic.index, - function: extrinsic.function, + let local_id = self.local_key.public().0.into(); + let extrinsic = UncheckedExtrinsic { + signature: Some((RawAddress::Id(local_id), signature)), + index: payload.0, + function: payload.1, }; - let uxt: Vec = Decode::decode(&mut UncheckedExtrinsic::new(extrinsic, signature).encode().as_slice()).expect("Encoded extrinsic is valid"); - self.transaction_pool.submit_one(&BlockId::hash(self.parent_hash), uxt) + let uxt: Vec = Decode::decode(&mut extrinsic.encode().as_slice()).expect("Encoded extrinsic is valid"); + self.transaction_pool.submit_one(&BlockId::hash(self.parent_hash), polkadot_primitives::UncheckedExtrinsic(uxt)) .expect("locally signed extrinsic is valid; qed"); } } @@ -663,7 +656,7 @@ impl bft::Proposer for Proposer // this is determined by checking if our local validator would have been forced to skip the round. let consider_online = was_proposed || { let forced_delay = self.dynamic_inclusion.acceptable_in(Instant::now(), self.table.includable_count()); - let public = ::ed25519::Public::from_raw(primary_validator.0); + let public = ed25519::Public::from_raw(primary_validator.0); match forced_delay { None => info!( "Potential Offline Validator: {} failed to propose during assigned slot: {}", diff --git a/polkadot/consensus/src/service.rs b/polkadot/consensus/src/service.rs index 8cf6838801..163ef4501b 100644 --- a/polkadot/consensus/src/service.rs +++ b/polkadot/consensus/src/service.rs @@ -29,7 +29,7 @@ use std::sync::Arc; use bft::{self, BftService}; use client::{BlockchainEvents, ChainHead, BlockBody}; -use ed25519; +use primitives::ed25519; use futures::prelude::*; use polkadot_api::LocalPolkadotApi; use polkadot_primitives::{Block, Header}; diff --git a/polkadot/consensus/src/shared_table/mod.rs b/polkadot/consensus/src/shared_table/mod.rs index 8455ac0c10..a6122baaa9 100644 --- a/polkadot/consensus/src/shared_table/mod.rs +++ b/polkadot/consensus/src/shared_table/mod.rs @@ -30,6 +30,7 @@ use futures::{future, prelude::*}; use super::{GroupInfo, TableRouter}; use self::includable::IncludabilitySender; +use primitives::ed25519; mod includable; @@ -39,7 +40,7 @@ pub use table::generic::Statement as GenericStatement; struct TableContext { parent_hash: Hash, - key: Arc<::ed25519::Pair>, + key: Arc, groups: HashMap, } @@ -320,7 +321,7 @@ impl SharedTable { /// block being built. pub fn new( groups: HashMap, - key: Arc<::ed25519::Pair>, + key: Arc, parent_hash: Hash, extrinsic_store: ExtrinsicStore, ) -> Self { diff --git a/polkadot/network/Cargo.toml b/polkadot/network/Cargo.toml index 7d6e0dd16a..b1e2333218 100644 --- a/polkadot/network/Cargo.toml +++ b/polkadot/network/Cargo.toml @@ -11,11 +11,10 @@ polkadot-availability-store = { path = "../availability-store" } polkadot-consensus = { path = "../consensus" } polkadot-primitives = { path = "../primitives" } substrate-bft = { git = "https://github.com/paritytech/substrate" } -substrate-codec = { git = "https://github.com/paritytech/substrate" } -substrate-codec-derive = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } +parity-codec-derive = { git = "https://github.com/paritytech/substrate" } substrate-network = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } -ed25519 = { git = "https://github.com/paritytech/substrate" } futures = "0.1" tokio = "0.1.7" log = "0.4" diff --git a/polkadot/network/src/consensus.rs b/polkadot/network/src/consensus.rs index e3a1c592e7..4836051a2d 100644 --- a/polkadot/network/src/consensus.rs +++ b/polkadot/network/src/consensus.rs @@ -19,7 +19,7 @@ //! each time consensus begins on a new chain head. use bft; -use ed25519; +use substrate_primitives::ed25519; use substrate_network::{self as net, generic_message as msg}; use substrate_network::consensus_gossip::ConsensusMessage; use polkadot_api::{PolkadotApi, LocalPolkadotApi}; diff --git a/polkadot/network/src/lib.rs b/polkadot/network/src/lib.rs index 5fcd6a9516..4f0ad2c6ed 100644 --- a/polkadot/network/src/lib.rs +++ b/polkadot/network/src/lib.rs @@ -21,7 +21,7 @@ //! and more. extern crate substrate_bft as bft; -extern crate substrate_codec as codec; +extern crate parity_codec as codec; extern crate substrate_network; extern crate substrate_primitives; @@ -30,7 +30,6 @@ extern crate polkadot_availability_store as av_store; extern crate polkadot_consensus; extern crate polkadot_primitives; -extern crate ed25519; extern crate futures; extern crate parking_lot; extern crate tokio; @@ -39,7 +38,7 @@ extern crate rhododendron; #[macro_use] extern crate log; #[macro_use] -extern crate substrate_codec_derive; +extern crate parity_codec_derive; mod collator_pool; mod local_collations; diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml index e9d2d2160c..4f841ce5f5 100644 --- a/polkadot/parachain/Cargo.toml +++ b/polkadot/parachain/Cargo.toml @@ -5,8 +5,8 @@ authors = ["Parity Technologies "] description = "Types and utilities for creating and working with parachains" [dependencies] -substrate-codec = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-codec-derive = { git = "https://github.com/paritytech/substrate", default-features = false } +parity-codec = { git = "https://github.com/paritytech/substrate", default-features = false } +parity-codec-derive = { git = "https://github.com/paritytech/substrate", default-features = false } wasmi = { version = "0.4", optional = true } error-chain = { version = "0.12", optional = true } @@ -15,4 +15,4 @@ tiny-keccak = "1.4" [features] default = ["std"] -std = ["substrate-codec/std", "wasmi", "error-chain"] +std = ["parity-codec/std", "wasmi", "error-chain"] diff --git a/polkadot/parachain/src/lib.rs b/polkadot/parachain/src/lib.rs index 3854fe2ca8..7c105c6f99 100644 --- a/polkadot/parachain/src/lib.rs +++ b/polkadot/parachain/src/lib.rs @@ -43,11 +43,11 @@ #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(not(feature = "std"), feature(alloc))] -/// Re-export of substrate-codec. -pub extern crate substrate_codec as codec; +/// Re-export of parity-codec. +pub extern crate parity_codec as codec; #[macro_use] -extern crate substrate_codec_derive; +extern crate parity_codec_derive; #[cfg(not(feature = "std"))] extern crate alloc; diff --git a/polkadot/parachain/tests/adder.rs b/polkadot/parachain/tests/adder.rs index 7ba3ff04fe..9903db1fbb 100644 --- a/polkadot/parachain/tests/adder.rs +++ b/polkadot/parachain/tests/adder.rs @@ -17,8 +17,8 @@ //! Basic parachain that adds a number as part of its state. #[macro_use] -extern crate substrate_codec_derive; -extern crate substrate_codec as codec; +extern crate parity_codec_derive; +extern crate parity_codec as codec; extern crate polkadot_parachain as parachain; extern crate tiny_keccak; diff --git a/polkadot/primitives/Cargo.toml b/polkadot/primitives/Cargo.toml index 503f84d26e..f8e6407d7b 100644 --- a/polkadot/primitives/Cargo.toml +++ b/polkadot/primitives/Cargo.toml @@ -6,11 +6,11 @@ authors = ["Parity Technologies "] [dependencies] serde = { version = "1.0", default_features = false } serde_derive = { version = "1.0", optional = true } -substrate-codec = { git = "https://github.com/paritytech/substrate", default_features = false } -substrate-codec-derive = { git = "https://github.com/paritytech/substrate", default_features = false } +parity-codec = { git = "https://github.com/paritytech/substrate", default_features = false } +parity-codec-derive = { git = "https://github.com/paritytech/substrate", default_features = false } substrate-primitives = { git = "https://github.com/paritytech/substrate", default_features = false } -substrate-runtime-std = { git = "https://github.com/paritytech/substrate", default_features = false } -substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate", default_features = false } +sr-std = { git = "https://github.com/paritytech/substrate", default_features = false } +sr-primitives = { git = "https://github.com/paritytech/substrate", default_features = false } [dev-dependencies] substrate-serializer = { git = "https://github.com/paritytech/substrate" } @@ -19,10 +19,10 @@ pretty_assertions = "0.4" [features] default = ["std"] std = [ - "substrate-codec/std", + "parity-codec/std", "substrate-primitives/std", - "substrate-runtime-std/std", - "substrate-runtime-primitives/std", + "sr-std/std", + "sr-primitives/std", "serde_derive", "serde/std", ] diff --git a/polkadot/primitives/src/lib.rs b/polkadot/primitives/src/lib.rs index ecff56529b..a32a32b1e6 100644 --- a/polkadot/primitives/src/lib.rs +++ b/polkadot/primitives/src/lib.rs @@ -21,16 +21,16 @@ #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(not(feature = "std"), feature(alloc))] -extern crate substrate_codec as codec; +extern crate parity_codec as codec; extern crate substrate_primitives as primitives; -extern crate substrate_runtime_primitives as runtime_primitives; -extern crate substrate_runtime_std as rstd; +extern crate sr_primitives as runtime_primitives; +extern crate sr_std as rstd; #[cfg(test)] extern crate substrate_serializer; #[macro_use] -extern crate substrate_codec_derive; +extern crate parity_codec_derive; #[cfg(feature = "std")] #[macro_use] @@ -39,27 +39,12 @@ extern crate serde_derive; #[cfg(feature = "std")] extern crate serde; -#[cfg(feature = "std")] -use primitives::bytes; - use rstd::prelude::*; -use runtime_primitives::traits::BlakeTwo256; -use runtime_primitives::generic; - +use runtime_primitives::{generic, traits::BlakeTwo256}; pub mod parachain; -/// Block header type as expected by this runtime. -pub type Header = generic::Header; - -/// Opaque, encoded, unchecked extrinsic. -pub type UncheckedExtrinsic = Vec; - -/// A "future-proof" block type for Polkadot. This will be resilient to upgrades in transaction -/// format, because it doesn't attempt to decode extrinsics. -/// -/// Specialized code needs to link to (at least one version of) the runtime directly -/// in order to handle the extrinsics within. -pub type Block = generic::Block; +#[cfg(feature = "std")] +use primitives::bytes; /// An index to a block. /// 32-bits will allow for 136 years of blocks assuming 1 block per second. @@ -88,7 +73,7 @@ pub type Index = u32; /// Alias to 512-bit hash when used in the context of a signature on the relay chain. /// Equipped with logic for possibly "unsigned" messages. -pub type Signature = runtime_primitives::MaybeUnsigned; +pub type Signature = runtime_primitives::Ed25519Signature; /// A timestamp: seconds since the unix epoch. pub type Timestamp = u64; @@ -102,14 +87,17 @@ pub type Timestamp = u64; /// that 32 bits may be multiplied with a balance in 128 bits without worrying about overflow. pub type Balance = u128; -/// "generic" block ID for the future-proof block type. -// TODO: parameterize blockid only as necessary. +/// Header type. +pub type Header = generic::Header>; +/// Block type. +pub type Block = generic::Block; +/// Block ID. pub type BlockId = generic::BlockId; -/// A log entry in the block. +/// Opaque, encoded, unchecked extrinsic. #[derive(PartialEq, Eq, Clone, Default, Encode, Decode)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))] -pub struct Log(#[cfg_attr(feature = "std", serde(with="bytes"))] pub Vec); +pub struct UncheckedExtrinsic(#[cfg_attr(feature = "std", serde(with="bytes"))] pub Vec); /// Inherent data to include in a block. #[derive(Encode, Decode)] diff --git a/polkadot/runtime/Cargo.toml b/polkadot/runtime/Cargo.toml index 06912458f0..2a5c21f5bb 100644 --- a/polkadot/runtime/Cargo.toml +++ b/polkadot/runtime/Cargo.toml @@ -10,25 +10,26 @@ serde = { version = "1.0", default_features = false } serde_derive = { version = "1.0", optional = true } safe-mix = { version = "1.0", default_features = false} polkadot-primitives = { path = "../primitives", default_features = false } -substrate-codec = { git = "https://github.com/paritytech/substrate" } -substrate-codec-derive = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } +parity-codec-derive = { git = "https://github.com/paritytech/substrate" } substrate-serializer = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-std = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-io = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-support = { git = "https://github.com/paritytech/substrate" } +sr-std = { git = "https://github.com/paritytech/substrate" } +sr-io = { git = "https://github.com/paritytech/substrate" } +srml-support = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } substrate-keyring = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-balances = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-consensus = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-council = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-democracy = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-executive = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-session = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-staking = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-system = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-timestamp = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-version = { git = "https://github.com/paritytech/substrate" } +srml-balances = { git = "https://github.com/paritytech/substrate" } +srml-consensus = { git = "https://github.com/paritytech/substrate" } +srml-council = { git = "https://github.com/paritytech/substrate" } +srml-democracy = { git = "https://github.com/paritytech/substrate" } +srml-executive = { git = "https://github.com/paritytech/substrate" } +sr-primitives = { git = "https://github.com/paritytech/substrate" } +srml-session = { git = "https://github.com/paritytech/substrate" } +srml-staking = { git = "https://github.com/paritytech/substrate" } +srml-system = { git = "https://github.com/paritytech/substrate" } +srml-timestamp = { git = "https://github.com/paritytech/substrate" } +srml-treasury = { git = "https://github.com/paritytech/substrate" } +sr-version = { git = "https://github.com/paritytech/substrate" } [dev-dependencies] hex-literal = "0.1.0" @@ -37,23 +38,24 @@ hex-literal = "0.1.0" default = ["std"] std = [ "polkadot-primitives/std", - "substrate-codec/std", - "substrate-codec-derive/std", + "parity-codec/std", + "parity-codec-derive/std", "substrate-primitives/std", - "substrate-runtime-std/std", - "substrate-runtime-io/std", - "substrate-runtime-support/std", - "substrate-runtime-balances/std", - "substrate-runtime-consensus/std", - "substrate-runtime-council/std", - "substrate-runtime-democracy/std", - "substrate-runtime-executive/std", - "substrate-runtime-primitives/std", - "substrate-runtime-session/std", - "substrate-runtime-staking/std", - "substrate-runtime-system/std", - "substrate-runtime-timestamp/std", - "substrate-runtime-version/std", + "sr-std/std", + "sr-io/std", + "srml-support/std", + "srml-balances/std", + "srml-consensus/std", + "srml-council/std", + "srml-democracy/std", + "srml-executive/std", + "sr-primitives/std", + "srml-session/std", + "srml-staking/std", + "srml-system/std", + "srml-timestamp/std", + "srml-treasury/std", + "sr-version/std", "serde_derive", "serde/std", "log", diff --git a/polkadot/runtime/src/checked_block.rs b/polkadot/runtime/src/checked_block.rs index 1a3fa467de..8089b039fd 100644 --- a/polkadot/runtime/src/checked_block.rs +++ b/polkadot/runtime/src/checked_block.rs @@ -32,7 +32,7 @@ impl CheckedBlock { /// Create a new checked block. Fails if the block is not structurally valid. pub fn new(block: Block) -> Result { let has_timestamp = block.extrinsics.get(TIMESTAMP_SET_POSITION as usize).map_or(false, |xt| { - !xt.is_signed() && match xt.extrinsic.function { + !xt.is_signed() && match xt.function { Call::Timestamp(TimestampCall::set(_)) => true, _ => false, } @@ -41,7 +41,7 @@ impl CheckedBlock { if !has_timestamp { return Err(block) } let has_heads = block.extrinsics.get(PARACHAINS_SET_POSITION as usize).map_or(false, |xt| { - !xt.is_signed() && match xt.extrinsic.function { + !xt.is_signed() && match xt.function { Call::Parachains(ParachainsCall::set_heads(_)) => true, _ => false, } @@ -66,7 +66,7 @@ impl CheckedBlock { /// Extract the timestamp from the block. pub fn timestamp(&self) -> ::primitives::Timestamp { - let x = self.inner.extrinsics.get(TIMESTAMP_SET_POSITION as usize).and_then(|xt| match xt.extrinsic.function { + let x = self.inner.extrinsics.get(TIMESTAMP_SET_POSITION as usize).and_then(|xt| match xt.function { Call::Timestamp(TimestampCall::set(x)) => Some(x), _ => None }); @@ -79,7 +79,7 @@ impl CheckedBlock { /// Extract the parachain heads from the block. pub fn parachain_heads(&self) -> &[CandidateReceipt] { - let x = self.inner.extrinsics.get(PARACHAINS_SET_POSITION as usize).and_then(|xt| match xt.extrinsic.function { + let x = self.inner.extrinsics.get(PARACHAINS_SET_POSITION as usize).and_then(|xt| match xt.function { Call::Parachains(ParachainsCall::set_heads(ref x)) => Some(&x[..]), _ => None }); @@ -92,7 +92,7 @@ impl CheckedBlock { /// Extract the noted missed proposal validator indices (if any) from the block. pub fn noted_offline(&self) -> &[u32] { - self.inner.extrinsics.get(NOTE_OFFLINE_POSITION as usize).and_then(|xt| match xt.extrinsic.function { + self.inner.extrinsics.get(NOTE_OFFLINE_POSITION as usize).and_then(|xt| match xt.function { Call::Consensus(ConsensusCall::note_offline(ref x)) => Some(&x[..]), _ => None, }).unwrap_or(&[]) diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index ed4ba6569b..02e85b3894 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -26,13 +26,13 @@ extern crate serde_derive; extern crate serde; #[macro_use] -extern crate substrate_runtime_io as runtime_io; +extern crate sr_io as runtime_io; #[macro_use] -extern crate substrate_runtime_support; +extern crate srml_support; #[macro_use] -extern crate substrate_runtime_primitives as runtime_primitives; +extern crate sr_primitives as runtime_primitives; #[cfg(test)] #[macro_use] @@ -44,23 +44,24 @@ extern crate substrate_serializer; extern crate substrate_primitives; #[macro_use] -extern crate substrate_runtime_std as rstd; +extern crate sr_std as rstd; #[macro_use] -extern crate substrate_codec_derive; +extern crate parity_codec_derive; extern crate polkadot_primitives as primitives; -extern crate substrate_codec as codec; -extern crate substrate_runtime_balances as balances; -extern crate substrate_runtime_consensus as consensus; -extern crate substrate_runtime_council as council; -extern crate substrate_runtime_democracy as democracy; -extern crate substrate_runtime_executive as executive; -extern crate substrate_runtime_session as session; -extern crate substrate_runtime_staking as staking; -extern crate substrate_runtime_system as system; -extern crate substrate_runtime_timestamp as timestamp; +extern crate parity_codec as codec; +extern crate srml_balances as balances; +extern crate srml_consensus as consensus; +extern crate srml_council as council; +extern crate srml_democracy as democracy; +extern crate srml_executive as executive; +extern crate srml_session as session; +extern crate srml_staking as staking; +extern crate srml_system as system; +extern crate srml_timestamp as timestamp; +extern crate srml_treasury as treasury; #[macro_use] -extern crate substrate_runtime_version as version; +extern crate sr_version as version; #[cfg(feature = "std")] mod checked_block; @@ -72,9 +73,13 @@ pub use checked_block::CheckedBlock; pub use utils::{inherent_extrinsics, check_extrinsic}; pub use balances::address::Address as RawAddress; -use primitives::{AccountId, AccountIndex, Balance, BlockNumber, Hash, Index, Log, SessionKey, Signature}; -use runtime_primitives::{generic, traits::{HasPublicAux, BlakeTwo256, Convert}}; +use rstd::prelude::*; +use codec::{Encode, Decode, Input}; +use substrate_primitives::u32_trait::{_2, _4}; +use primitives::{AccountId, AccountIndex, Balance, BlockNumber, Hash, Index, SessionKey, Signature}; +use runtime_primitives::{generic, traits::{Convert, BlakeTwo256, DigestItem}}; use version::RuntimeVersion; +use council::{motions as council_motions, voting as council_voting}; #[cfg(feature = "std")] pub use runtime_primitives::BuildStorage; @@ -82,7 +87,6 @@ pub use runtime_primitives::BuildStorage; pub use consensus::Call as ConsensusCall; pub use timestamp::Call as TimestampCall; pub use parachains::Call as ParachainsCall; -pub use primitives::Header; /// The position of the timestamp set extrinsic. pub const TIMESTAMP_SET_POSITION: u32 = 0; @@ -91,24 +95,24 @@ pub const PARACHAINS_SET_POSITION: u32 = 1; /// The position of the note_offline in the block, if it exists. pub const NOTE_OFFLINE_POSITION: u32 = 2; +/// Block header type as expected by this runtime. +pub type Header = generic::Header; /// The address format for describing accounts. -pub type Address = balances::Address; +pub type Address = balances::Address; /// Block Id type for this block. pub type BlockId = generic::BlockId; /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; -/// Extrinsic type as expected by this runtime. This is not the type that is signed. -pub type Extrinsic = generic::Extrinsic; -/// Extrinsic type that is signed. -pub type BareExtrinsic = generic::Extrinsic; +/// Extrinsic type that has already been checked. +pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Block type as expected by this runtime. pub type Block = generic::Block; -/// Concrete runtime type used to parameterize the various modules. +/// Runtime runtime type used to parameterize the various modules. // Workaround for https://github.com/rust-lang/rust/issues/26925 . Remove when sorted. #[derive(Clone, Copy, PartialEq, Eq)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] -pub struct Concrete; +pub struct Runtime; /// Polkadot runtime version. pub const VERSION: RuntimeVersion = RuntimeVersion { @@ -119,19 +123,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, }; -impl version::Trait for Concrete { - const VERSION: RuntimeVersion = VERSION; -} - -/// Version module for this concrete runtime. -pub type Version = version::Module; - -impl HasPublicAux for Concrete { - type PublicAux = AccountId; // TODO: Option -} - -impl system::Trait for Concrete { - type PublicAux = ::PublicAux; +impl system::Trait for Runtime { + type Origin = Origin; type Index = Index; type BlockNumber = BlockNumber; type Hash = Hash; @@ -142,9 +135,9 @@ impl system::Trait for Concrete { type Event = Event; } /// System module for this concrete runtime. -pub type System = system::Module; +pub type System = system::Module; -impl balances::Trait for Concrete { +impl balances::Trait for Runtime { type Balance = Balance; type AccountIndex = AccountIndex; type OnFreeBalanceZero = Staking; @@ -152,22 +145,23 @@ impl balances::Trait for Concrete { type Event = Event; } /// Staking module for this concrete runtime. -pub type Balances = balances::Module; +pub type Balances = balances::Module; -impl consensus::Trait for Concrete { +impl consensus::Trait for Runtime { const NOTE_OFFLINE_POSITION: u32 = NOTE_OFFLINE_POSITION; + type Log = Log; type SessionKey = SessionKey; type OnOfflineValidator = Staking; } /// Consensus module for this concrete runtime. -pub type Consensus = consensus::Module; +pub type Consensus = consensus::Module; -impl timestamp::Trait for Concrete { +impl timestamp::Trait for Runtime { const TIMESTAMP_SET_POSITION: u32 = TIMESTAMP_SET_POSITION; type Moment = u64; } /// Timestamp module for this concrete runtime. -pub type Timestamp = timestamp::Module; +pub type Timestamp = timestamp::Module; /// Session key conversion. pub struct SessionKeyConversion; @@ -177,82 +171,111 @@ impl Convert for SessionKeyConversion { } } -impl session::Trait for Concrete { +impl session::Trait for Runtime { type ConvertAccountIdToSessionKey = SessionKeyConversion; type OnSessionChange = Staking; type Event = Event; } /// Session module for this concrete runtime. -pub type Session = session::Module; +pub type Session = session::Module; -impl staking::Trait for Concrete { +impl staking::Trait for Runtime { + type OnRewardMinted = Treasury; type Event = Event; } /// Staking module for this concrete runtime. -pub type Staking = staking::Module; +pub type Staking = staking::Module; -impl democracy::Trait for Concrete { - type Proposal = PrivCall; +impl democracy::Trait for Runtime { + type Proposal = Call; + type Event = Event; } /// Democracy module for this concrete runtime. -pub type Democracy = democracy::Module; +pub type Democracy = democracy::Module; -impl council::Trait for Concrete {} -/// Council module for this concrete runtime. -pub type Council = council::Module; -/// Council voting module for this concrete runtime. -pub type CouncilVoting = council::voting::Module; - -impl parachains::Trait for Concrete { - const SET_POSITION: u32 = PARACHAINS_SET_POSITION; - - type PublicAux = ::PublicAux; +impl council::Trait for Runtime { + type Event = Event; } -pub type Parachains = parachains::Module; + +/// Council module for this concrete runtime. +pub type Council = council::Module; + +impl council::voting::Trait for Runtime { + type Event = Event; +} + +/// Council voting module for this concrete runtime. +pub type CouncilVoting = council::voting::Module; + +impl council::motions::Trait for Runtime { + type Origin = Origin; + type Proposal = Call; + type Event = Event; +} + +/// Council motions module for this concrete runtime. +pub type CouncilMotions = council_motions::Module; + +impl treasury::Trait for Runtime { + type ApproveOrigin = council_motions::EnsureMembers<_4>; + type RejectOrigin = council_motions::EnsureMembers<_2>; + type Event = Event; +} + +/// Treasury module for this concrete runtime. +pub type Treasury = treasury::Module; + +impl parachains::Trait for Runtime { + const SET_POSITION: u32 = PARACHAINS_SET_POSITION; +} +pub type Parachains = parachains::Module; impl_outer_event! { - pub enum Event for Concrete { - balances, session, staking + pub enum Event for Runtime { + //consensus, + balances, + //timetstamp, + session, + staking, + democracy, + council, + council_voting, + council_motions, + treasury + } +} + +impl_outer_log! { + pub enum Log(InternalLog: DigestItem) for Runtime { + consensus(AuthoritiesChange) + } +} + +impl_outer_origin! { + pub enum Origin for Runtime { + council_motions } } impl_outer_dispatch! { /// Call type for polkadot transactions. - #[derive(Clone, PartialEq, Eq)] - #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] - pub enum Call where aux: ::PublicAux { - Consensus = 0, - Balances = 1, - Session = 2, - Staking = 3, - Timestamp = 4, - Democracy = 5, - Council = 6, - CouncilVoting = 7, - Parachains = 8, - } - - /// Internal calls. - #[derive(Clone, PartialEq, Eq)] - #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] - pub enum PrivCall { - Consensus = 0, - Balances = 1, - Session = 2, - Staking = 3, - Democracy = 5, - Council = 6, - CouncilVoting = 7, - Parachains = 8, + pub enum Call where origin: ::Origin { + Consensus, + Balances, + Session, + Staking, + Timestamp, + Democracy, + Council, + CouncilVoting, + CouncilMotions, + Parachains, + Treasury, } } -/// Executive: handles dispatch to the various modules. -pub type Executive = executive::Executive; - impl_outer_config! { - pub struct GenesisConfig for Concrete { + pub struct GenesisConfig for Runtime { ConsensusConfig => consensus, SystemConfig => system, BalancesConfig => balances, @@ -261,13 +284,58 @@ impl_outer_config! { DemocracyConfig => democracy, CouncilConfig => council, TimestampConfig => timestamp, + TreasuryConfig => treasury, ParachainsConfig => parachains, } } +type AllModules = ( + Consensus, + Balances, + Session, + Staking, + Timestamp, + Democracy, + Council, + CouncilVoting, + CouncilMotions, + Parachains, + Treasury, +); + +impl_json_metadata!( + for Runtime with modules + system::Module with Storage, + consensus::Module with Storage, + balances::Module with Storage, + timestamp::Module with Storage, + session::Module with Storage, + staking::Module with Storage, + democracy::Module with Storage, + council::Module with Storage, + council_voting::Module with Storage, + council_motions::Module with Storage, + treasury::Module with Storage, + parachains::Module with Storage, +); + +impl DigestItem for Log { + type AuthorityId = SessionKey; + + fn as_authorities_change(&self) -> Option<&[Self::AuthorityId]> { + match self.0 { + InternalLog::consensus(ref item) => item.as_authorities_change(), + } + } +} + +/// Executive: handles dispatch to the various modules. +pub type Executive = executive::Executive; + pub mod api { impl_stubs!( - version => |()| super::Version::version(), + version => |()| super::VERSION, + json_metadata => |()| super::Runtime::json_metadata(), authorities => |()| super::Consensus::authorities(), initialise_block => |header| super::Executive::initialise_block(&header), apply_extrinsic => |extrinsic| super::Executive::apply_extrinsic(extrinsic), @@ -276,14 +344,14 @@ pub mod api { inherent_extrinsics => |(inherent, spec_version)| super::inherent_extrinsics(inherent, spec_version), validator_count => |()| super::Session::validator_count(), validators => |()| super::Session::validators(), - duty_roster => |()| super::Parachains::calculate_duty_roster(), - active_parachains => |()| super::Parachains::active_parachains(), - parachain_head => |id| super::Parachains::parachain_head(&id), - parachain_code => |id| super::Parachains::parachain_code(&id), timestamp => |()| super::Timestamp::get(), random_seed => |()| super::System::random_seed(), account_nonce => |account| super::System::account_nonce(&account), - lookup_address => |address| super::Balances::lookup_address(address) + lookup_address => |address| super::Balances::lookup_address(address), + duty_roster => |()| super::Parachains::calculate_duty_roster(), + active_parachains => |()| super::Parachains::active_parachains(), + parachain_head => |id| super::Parachains::parachain_head(&id), + parachain_code => |id| super::Parachains::parachain_code(&id) ); } @@ -294,7 +362,7 @@ mod tests { use codec::{Encode, Decode}; use substrate_primitives::hexdisplay::HexDisplay; use substrate_serializer as ser; - use runtime_primitives::traits::{Digest as DigestT, Header as HeaderT}; + use runtime_primitives::traits::Header as HeaderT; type Digest = generic::Digest; #[test] @@ -304,7 +372,7 @@ mod tests { number: 67, state_root: 3.into(), extrinsics_root: 6.into(), - digest: { let mut d = Digest::default(); d.push(Log(vec![1])); d }, + digest: Digest::default(), }; assert_eq!(ser::to_string_pretty(&header), r#"{ @@ -313,9 +381,7 @@ mod tests { "stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000003", "extrinsicsRoot": "0x0000000000000000000000000000000000000000000000000000000000000006", "digest": { - "logs": [ - "0x01" - ] + "logs": [] } }"#); @@ -328,13 +394,9 @@ mod tests { let mut block = Block { header: Header::new(1, Default::default(), Default::default(), Default::default(), Default::default()), extrinsics: vec![ - UncheckedExtrinsic::new( - generic::Extrinsic { - function: Call::Timestamp(timestamp::Call::set(100_000_000)), - signed: Default::default(), - index: Default::default(), - }, + UncheckedExtrinsic::new_unsigned( Default::default(), + Call::Timestamp(timestamp::Call::set(100_000_000)) ) ], }; @@ -344,13 +406,9 @@ mod tests { assert_eq!(block, decoded); - block.extrinsics.push(UncheckedExtrinsic::new( - generic::Extrinsic { - function: Call::Staking(staking::Call::stake()), - signed: Default::default(), - index: 10101, - }, - Default::default(), + block.extrinsics.push(UncheckedExtrinsic::new_unsigned( + 10101, + Call::Staking(staking::Call::stake()) )); let raw = block.encode(); @@ -364,24 +422,16 @@ mod tests { let mut block = Block { header: Header::new(1, Default::default(), Default::default(), Default::default(), Default::default()), extrinsics: vec![ - UncheckedExtrinsic::new( - generic::Extrinsic { - function: Call::Timestamp(timestamp::Call::set(100_000_000)), - signed: Default::default(), - index: Default::default(), - }, + UncheckedExtrinsic::new_unsigned( Default::default(), + Call::Timestamp(timestamp::Call::set(100_000_000)) ) ], }; - block.extrinsics.push(UncheckedExtrinsic::new( - generic::Extrinsic { - function: Call::Staking(staking::Call::stake()), - signed: Default::default(), - index: 10101, - }, - Default::default() + block.extrinsics.push(UncheckedExtrinsic::new_unsigned( + 10101, + Call::Staking(staking::Call::stake()) )); let raw = block.encode(); @@ -394,12 +444,10 @@ mod tests { #[test] fn serialize_unchecked() { - let tx = UncheckedExtrinsic::new( - Extrinsic { - signed: AccountId::from([1; 32]).into(), - index: 999, - function: Call::Timestamp(TimestampCall::set(135135)), - }, + let tx = UncheckedExtrinsic::new_signed( + 999, + Call::Timestamp(TimestampCall::set(135135)), + AccountId::from([1; 32]).into(), runtime_primitives::Ed25519Signature(primitives::hash::H512([0; 64])).into() ); @@ -411,29 +459,14 @@ mod tests { // 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 let v = Encode::encode(&tx); - assert_eq!(&v[..], &hex!["6f000000ff0101010101010101010101010101010101010101010101010101010101010101e70300000400df0f02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"][..]); + assert_eq!(&v[..], &hex!["7000000001ff010101010101010101010101010101010101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e70300000400df0f020000000000"][..]); println!("{}", HexDisplay::from(&v)); assert_eq!(UncheckedExtrinsic::decode(&mut &v[..]).unwrap(), tx); } - #[test] - fn serialize_checked() { - let xt = Extrinsic { - signed: AccountId::from(hex!["0d71d1a9cad6f2ab773435a7dec1bac019994d05d1dd5eb3108211dcf25c9d1e"]).into(), - index: 0, - function: Call::CouncilVoting(council::voting::Call::propose(Box::new( - PrivCall::Consensus(consensus::PrivCall::set_code( - vec![] - )) - ))), - }; - let v = Encode::encode(&xt); - assert_eq!(Extrinsic::decode(&mut &v[..]).unwrap(), xt); - } - #[test] fn parachain_calls_are_privcall() { - let _register = PrivCall::Parachains(parachains::PrivCall::register_parachain(0.into(), vec![1, 2, 3], vec![])); - let _deregister = PrivCall::Parachains(parachains::PrivCall::deregister_parachain(0.into())); + let _register = Call::Parachains(parachains::Call::register_parachain(0.into(), vec![1, 2, 3], vec![])); + let _deregister = Call::Parachains(parachains::Call::deregister_parachain(0.into())); } } diff --git a/polkadot/runtime/src/parachains.rs b/polkadot/runtime/src/parachains.rs index 3dc4813bbd..f98942949a 100644 --- a/polkadot/runtime/src/parachains.rs +++ b/polkadot/runtime/src/parachains.rs @@ -19,12 +19,12 @@ use rstd::prelude::*; use codec::Decode; -use runtime_primitives::traits::{Hash, BlakeTwo256, Executable, RefInto, MaybeEmpty}; +use runtime_primitives::traits::{Hash, BlakeTwo256, OnFinalise}; use primitives::parachain::{Id, Chain, DutyRoster, CandidateReceipt}; use {system, session}; -use substrate_runtime_support::{StorageValue, StorageMap}; -use substrate_runtime_support::dispatch::Result; +use srml_support::{StorageValue, StorageMap}; +use srml_support::dispatch::Result; #[cfg(any(feature = "std", test))] use rstd::marker::PhantomData; @@ -35,28 +35,21 @@ use runtime_primitives; #[cfg(any(feature = "std", test))] use std::collections::HashMap; +use system::{ensure_root, ensure_inherent}; + pub trait Trait: system::Trait + session::Trait { /// The position of the set_heads call in the block. const SET_POSITION: u32; - - type PublicAux: RefInto + MaybeEmpty; } decl_module! { /// Parachains module. - pub struct Module; - /// Call type for parachains. - #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] - pub enum Call where aux: ::PublicAux { - // provide candidate receipts for parachains, in ascending order by id. - fn set_heads(aux, heads: Vec) -> Result = 0; - } + pub struct Module for enum Call where origin: T::Origin { + /// Provide candidate receipts for parachains, in ascending order by id. + fn set_heads(origin, heads: Vec) -> Result; - /// Private calls for parachains. - #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] - pub enum PrivCall { - fn register_parachain(id: Id, code: Vec, initial_head_data: Vec) -> Result = 0; - fn deregister_parachain(id: Id) -> Result = 1; + fn register_parachain(origin, id: Id, code: Vec, initial_head_data: Vec) -> Result; + fn deregister_parachain(origin, id: Id) -> Result; } } @@ -126,7 +119,8 @@ impl Module { /// Register a parachain with given code. /// Fails if given ID is already used. - pub fn register_parachain(id: Id, code: Vec, initial_head_data: Vec) -> Result { + pub fn register_parachain(origin: T::Origin, id: Id, code: Vec, initial_head_data: Vec) -> Result { + ensure_root(origin)?; let mut parachains = Self::active_parachains(); match parachains.binary_search(&id) { Ok(_) => fail!("Parachain already exists"), @@ -141,7 +135,8 @@ impl Module { } /// Deregister a parachain with given id - pub fn deregister_parachain(id: Id) -> Result { + pub fn deregister_parachain(origin: T::Origin, id: Id) -> Result { + ensure_root(origin)?; let mut parachains = Self::active_parachains(); match parachains.binary_search(&id) { Ok(idx) => { parachains.remove(idx); } @@ -154,8 +149,8 @@ impl Module { Ok(()) } - fn set_heads(aux: &::PublicAux, heads: Vec) -> Result { - ensure!(aux.is_empty(), "set_heads must not be signed"); + fn set_heads(origin: T::Origin, heads: Vec) -> Result { + ensure_inherent(origin)?; ensure!(!>::exists(), "Parachain heads must be updated only once in the block"); ensure!( >::extrinsic_index() == Some(T::SET_POSITION), @@ -186,8 +181,8 @@ impl Module { } } -impl Executable for Module { - fn execute() { +impl OnFinalise for Module { + fn on_finalise(_n: T::BlockNumber) { assert!(::DidUpdate::take(), "Parachain heads must be updated once in the block"); } } @@ -246,24 +241,26 @@ impl runtime_primitives::BuildStorage for GenesisConfig mod tests { use super::*; use runtime_io::{TestExternalities, with_externalities}; - use substrate_primitives::{H256, KeccakHasher}; + use substrate_primitives::{H256, Blake2Hasher}; use runtime_primitives::BuildStorage; - use runtime_primitives::traits::{HasPublicAux, Identity, BlakeTwo256}; + use runtime_primitives::traits::{Identity, BlakeTwo256}; use runtime_primitives::testing::{Digest, Header}; use {consensus, timestamp}; + impl_outer_origin! { + pub enum Origin for Test {} + } + #[derive(Clone, Eq, PartialEq)] pub struct Test; - impl HasPublicAux for Test { - type PublicAux = u64; - } impl consensus::Trait for Test { const NOTE_OFFLINE_POSITION: u32 = 1; type SessionKey = u64; type OnOfflineValidator = (); + type Log = u64; } impl system::Trait for Test { - type PublicAux = ::PublicAux; + type Origin = Origin; type Index = u64; type BlockNumber = u64; type Hash = H256; @@ -284,13 +281,11 @@ mod tests { } impl Trait for Test { const SET_POSITION: u32 = 0; - - type PublicAux = ::PublicAux; } type Parachains = Module; - fn new_test_ext(parachains: Vec<(Id, Vec, Vec)>) -> TestExternalities { + fn new_test_ext(parachains: Vec<(Id, Vec, Vec)>) -> TestExternalities { let mut t = system::GenesisConfig::::default().build_storage().unwrap(); t.extend(consensus::GenesisConfig::{ code: vec![], @@ -334,12 +329,12 @@ mod tests { assert_eq!(Parachains::parachain_code(&5u32.into()), Some(vec![1,2,3])); assert_eq!(Parachains::parachain_code(&100u32.into()), Some(vec![4,5,6])); - Parachains::register_parachain(99u32.into(), vec![7,8,9], vec![1, 1, 1]).unwrap(); + assert_ok!(Parachains::register_parachain(Origin::ROOT, 99u32.into(), vec![7,8,9], vec![1, 1, 1])); assert_eq!(Parachains::active_parachains(), vec![5u32.into(), 99u32.into(), 100u32.into()]); assert_eq!(Parachains::parachain_code(&99u32.into()), Some(vec![7,8,9])); - Parachains::deregister_parachain(5u32.into()).unwrap(); + assert_ok!(Parachains::deregister_parachain(Origin::ROOT, 5u32.into())); assert_eq!(Parachains::active_parachains(), vec![99u32.into(), 100u32.into()]); assert_eq!(Parachains::parachain_code(&5u32.into()), None); diff --git a/polkadot/runtime/src/utils.rs b/polkadot/runtime/src/utils.rs index 95cead3014..1bb23f2c7b 100644 --- a/polkadot/runtime/src/utils.rs +++ b/polkadot/runtime/src/utils.rs @@ -17,29 +17,22 @@ //! Utils for block interaction. use rstd::prelude::*; -use super::{Call, UncheckedExtrinsic, Extrinsic, Balances}; -use runtime_primitives::traits::{Checkable, AuxLookup}; +use super::{Call, UncheckedExtrinsic, Balances}; +use runtime_primitives::traits::{Checkable, Lookup}; use timestamp::Call as TimestampCall; use parachains::Call as ParachainsCall; use consensus::Call as ConsensusCall; /// Produces the list of inherent extrinsics. pub fn inherent_extrinsics(data: ::primitives::InherentData, spec_version: u32) -> Vec { - let make_inherent = |function| UncheckedExtrinsic::new( - Extrinsic { - signed: Default::default(), - function, - index: 0, - }, - Default::default(), - ); + let make_inherent = |function| UncheckedExtrinsic::new_unsigned(0, function); let mut inherent = vec![ make_inherent(Call::Timestamp(TimestampCall::set(data.timestamp))), make_inherent(Call::Parachains(ParachainsCall::set_heads(data.parachain_heads))), ]; - if !data.offline_indices.is_empty() && spec_version == 4 { + if !data.offline_indices.is_empty() && spec_version == 5 { inherent.push(make_inherent( Call::Consensus(ConsensusCall::note_offline(data.offline_indices)) )); diff --git a/polkadot/runtime/wasm/Cargo.lock b/polkadot/runtime/wasm/Cargo.lock index e5c01eccb1..c8f40fcbf6 100644 --- a/polkadot/runtime/wasm/Cargo.lock +++ b/polkadot/runtime/wasm/Cargo.lock @@ -6,213 +6,25 @@ dependencies = [ "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "base58" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "bitflags" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "blake2-rfc" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", - "constant_time_eq 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "byteorder" version = "1.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "cfg-if" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "cloudabi" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "constant_time_eq" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "crossbeam-deque" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.5 (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.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "crossbeam-utils" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "crunchy" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "ed25519" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -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)", - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "elastic-array" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "environmental" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" - -[[package]] -name = "ethbloom" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "ethereum-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "ethbloom 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "uint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "ethereum-types" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "ethbloom 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "uint 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "ethereum-types-serialize" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "fixed-hash" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "fixed-hash" -version = "0.2.3" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "fuchsia-zircon" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "fuchsia-zircon-sys" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "gcc" -version = "0.3.54" -source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "hashdb" version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "heapsize" -version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", -] [[package]] name = "hex-literal" @@ -236,76 +48,6 @@ name = "integer-sqrt" version = "0.1.0" source = "git+https://github.com/paritytech/integer-sqrt-rs.git#886e9cb983c46498003878afe965d55caa762025" -[[package]] -name = "keccak-hash" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "lazy_static" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "lazy_static" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "version_check 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "libc" -version = "0.2.43" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "log" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "log 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "log" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "memoffset" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "memory_units" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "memorydb" -version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common)", - "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "plain_hasher 0.2.0 (git+https://github.com/paritytech/parity-common)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common)", -] - -[[package]] -name = "nan-preserving-float" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "nodrop" version = "0.1.12" @@ -317,70 +59,27 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "num_cpus" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "owning_ref" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "parity-bytes" +name = "parity-codec" version = "0.1.0" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" - -[[package]] -name = "parity-wasm" -version = "0.31.3" -source = "registry+https://github.com/rust-lang/crates.io-index" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "parking_lot" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" +name = "parity-codec-derive" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parking_lot_core 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "parking_lot_core" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "patricia-trie" -version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common)", - "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common)", - "rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "plain_hasher" version = "0.2.0" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -389,13 +88,12 @@ dependencies = [ name = "polkadot-primitives" version = "0.1.0" dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] @@ -403,25 +101,26 @@ name = "polkadot-runtime" version = "0.1.0" dependencies = [ "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "polkadot-primitives 0.1.0", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-version 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-council 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-executive 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-session 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-treasury 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] @@ -448,7 +147,7 @@ dependencies = [ [[package]] name = "pwasm-alloc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -457,7 +156,7 @@ dependencies = [ [[package]] name = "pwasm-libc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" [[package]] name = "quote" @@ -467,91 +166,6 @@ dependencies = [ "proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "rand" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rand" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", - "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "rand_core 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rand_core" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "rayon" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rayon-core" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "ring" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "gcc 0.3.54 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", - "rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rlp" -version = "0.2.2" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rlp" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "rustc-hex" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "rustc-hex" version = "2.0.1" @@ -573,11 +187,6 @@ dependencies = [ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "scopeguard" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "semver" version = "0.9.0" @@ -597,277 +206,47 @@ version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "serde_derive" -version = "1.0.75" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "smallvec" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "stable_deref_trait" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "substrate-codec" +name = "sr-io" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-codec-derive" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-keyring" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-primitives" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", - "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fixed-hash 0.2.3 (git+https://github.com/paritytech/parity-common)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common)", - "patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common)", - "plain_hasher 0.2.0 (git+https://github.com/paritytech/parity-common)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common)", - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "twox-hash 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "uint 0.4.1 (git+https://github.com/paritytech/parity-common)", - "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "substrate-runtime-balances" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "hex-literal 0.1.1 (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.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-consensus" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-council" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", - "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-democracy" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "hex-literal 0.1.1 (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.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-executive" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-io" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", - "environmental 0.1.0 (git+https://github.com/paritytech/substrate)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", - "triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "substrate-runtime-primitives" +name = "sr-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", - "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] -name = "substrate-runtime-sandbox" +name = "sr-sandbox" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "substrate-runtime-session" +name = "sr-std" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "hex-literal 0.1.1 (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.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-staking" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" -dependencies = [ - "hex-literal 0.1.1 (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.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", -] - -[[package]] -name = "substrate-runtime-std" -version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate)", "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", @@ -875,85 +254,240 @@ dependencies = [ ] [[package]] -name = "substrate-runtime-support" +name = "sr-version" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", - "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] -name = "substrate-runtime-system" +name = "srml-balances" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] -name = "substrate-runtime-timestamp" +name = "srml-consensus" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] -name = "substrate-runtime-version" +name = "srml-council" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] -name = "substrate-state-machine" +name = "srml-democracy" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.75 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-executive" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.75 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-session" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.75 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-staking" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.75 (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)", + "sr-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-session 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-support" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-metadata 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-system" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.75 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-timestamp" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.75 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "srml-treasury" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "serde 1.0.75 (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)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "srml-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "substrate-metadata" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" +dependencies = [ + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", +] + +[[package]] +name = "substrate-primitives" +version = "0.1.0" +source = "git+https://github.com/paritytech/substrate#b9849fe33203fd34105452ca8e8e638f3918d357" dependencies = [ "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common)", - "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.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "memorydb 0.2.1 (git+https://github.com/paritytech/parity-common)", - "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "triehash 0.2.1 (git+https://github.com/paritytech/parity-common)", + "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "plain_hasher 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "uint 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -966,64 +500,6 @@ dependencies = [ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "tiny-keccak" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "triehash" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "keccak-hash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "triehash" -version = "0.2.1" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common)", - "rlp 0.2.2 (git+https://github.com/paritytech/parity-common)", -] - -[[package]] -name = "twox-hash" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "uint" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "uint" -version = "0.4.1" -source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" -dependencies = [ - "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "uint" version = "0.4.1" @@ -1031,7 +507,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1040,168 +515,50 @@ name = "unicode-xid" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -[[package]] -name = "unreachable" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "untrusted" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "version_check" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "wasmi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "memory_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "nan-preserving-float 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-wasm 0.31.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "winapi" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - [metadata] "checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef" -"checksum base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83" -"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" -"checksum blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" "checksum byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "90492c5858dd7d2e78691cfb89f90d273a2800fc11d98f60786e5d87e2f83781" -"checksum cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0c4e7bb64a8ebb0d856483e1e682ea3422f883c5f5615a90d51a2c82fe87fdd3" -"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" -"checksum constant_time_eq 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e" -"checksum crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3" -"checksum crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150" -"checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9" "checksum crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a2f4a431c5c9f662e1200b7c7f02c34e91361150e382089a8f2dec3ba680cbda" -"checksum ed25519 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "88d4851b005ef16de812ea9acdb7bece2f0a40dd86c07b85631d7dafa54537bb" -"checksum environmental 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum ethbloom 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1a93a43ce2e9f09071449da36bfa7a1b20b950ee344b6904ff23de493b03b386" -"checksum ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c48729b8aea8aedb12cf4cb2e5cef439fdfe2dda4a89e47eeebd15778ef53b6" -"checksum ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "35b3c5a18bc5e73a32a110ac743ec04b02bbbcd3b71d3118d40a6113d509378a" -"checksum ethereum-types-serialize 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ac59a21a9ce98e188f3dace9eb67a6c4a3c67ec7fbc7218cb827852679dc002" "checksum fixed-hash 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0d5ec8112f00ea8a483e04748a85522184418fd1cf02890b626d8fc28683f7de" -"checksum fixed-hash 0.2.3 (git+https://github.com/paritytech/parity-common)" = "" -"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" -"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" -"checksum gcc 0.3.54 (registry+https://github.com/rust-lang/crates.io-index)" = "5e33ec290da0d127825013597dbdfc28bee4964690c7ce1166cbc2a7bd08b1bb" -"checksum hashdb 0.2.1 (git+https://github.com/paritytech/parity-common)" = "" -"checksum heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1679e6ea370dee694f91f1dc469bf94cf8f52051d147aec3e1f9497c6fc22461" +"checksum hashdb 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f1c71fc577cde89b3345d5f2880fecaf462a32e96c619f431279bdaf1ba5ddb1" "checksum hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4da5f0e01bd8a71a224a4eedecaacfcabda388dbb7a80faf04d3514287572d95" "checksum hex-literal-impl 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1d340b6514f232f6db1bd16db65302a5278a04fef9ce867cb932e7e5fa21130a" "checksum integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)" = "" -"checksum keccak-hash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "253bbe643c32c816bf58fa5a88248fafedeebb139705ad17a62add3517854a86" -"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" -"checksum lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca488b89a5657b0a2ecd45b95609b3e848cf1755da332a0da46e2b2b1cb371a7" -"checksum libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)" = "76e3a3ef172f1a0b9a9ff0dd1491ae5e6c948b94479a3021819ba7d860c8645d" -"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" -"checksum log 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cba860f648db8e6f269df990180c2217f333472b4a6e901e97446858487971e2" -"checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3" -"checksum memory_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" -"checksum memorydb 0.2.1 (git+https://github.com/paritytech/parity-common)" = "" -"checksum nan-preserving-float 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "34d4f00fcc2f4c9efa8cc971db0da9e28290e28e97af47585e48691ef10ff31f" "checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" "checksum num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "630de1ef5cc79d0cdd78b7e33b81f083cbfe90de0f4b2b2f07f905867c70e9fe" -"checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" -"checksum owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37" -"checksum parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common)" = "" -"checksum parity-wasm 0.31.3 (registry+https://github.com/rust-lang/crates.io-index)" = "511379a8194230c2395d2f5fa627a5a7e108a9f976656ce723ae68fca4097bfc" -"checksum parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "149d8f5b97f3c1133e3cfcd8886449959e856b557ff281e292b733d7c69e005e" -"checksum parking_lot_core 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "4db1a8ccf734a7bce794cc19b3df06ed87ab2f3907036b693c68f56b4d4537fa" -"checksum patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common)" = "" -"checksum plain_hasher 0.2.0 (git+https://github.com/paritytech/parity-common)" = "" +"checksum parity-codec 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum parity-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum plain_hasher 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "95fa6386b1d34aaf0adb9b7dd2885dbe7c34190e6263785e5a7ec2b19044a90f" "checksum proc-macro-hack 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ba8d4f9257b85eb6cdf13f055cea3190520aab1409ca2ab43493ea4820c25f0" "checksum proc-macro-hack-impl 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d5cb6f960ad471404618e9817c0e5d10b1ae74cfdf01fab89ea0641fe7fb2892" "checksum proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)" = "295af93acfb1d5be29c16ca5b3f82d863836efd9cb0c14fd83811eb9a110e452" "checksum pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dd636425967c33af890042c483632d33fa7a18f19ad1d7ea72e8998c6ef8dea5" -"checksum rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8356f47b32624fef5b3301c1be97e5944ecdd595409cc5da11d05f211db6cfbd" -"checksum rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e464cd887e869cddcae8792a4ee31d23c7edd516700695608f5b98c67ee0131c" -"checksum rand_core 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "edecf0f94da5551fc9b492093e30b041a891657db7940ee221f9d2f66e82eef2" -"checksum rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b614fe08b6665cb9a231d07ac1364b0ef3cb3698f1239ee0c4c3a88a524f54c8" -"checksum rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b055d1e92aba6877574d8fe604a63c8b5df60f60e5982bf7ccbb1338ea527356" -"checksum ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6f7d28b30a72c01b458428e0ae988d4149c20d902346902be881e3edc4bb325c" -"checksum rlp 0.2.2 (git+https://github.com/paritytech/parity-common)" = "" -"checksum rlp 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "524c5ad554859785dfc8469df3ed5e0b5784d4d335877ed47c8d90fc0eb238fe" -"checksum rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0ceb8ce7a5e520de349e1fa172baeba4a9e8d5ef06c47471863530bc4972ee1e" "checksum rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "403bb3a286107a04825a5f82e1270acc1e14028d3d554d7a1e08914549575ab8" "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" "checksum safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7f7bf422d23a88c16d5090d455f182bc99c60af4df6a345c63428acf5129e347" -"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" "checksum serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)" = "22d340507cea0b7e6632900a176101fea959c7065d93ba555072da90aaaafc87" -"checksum serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)" = "234fc8b737737b148ccd625175fc6390f5e4dacfdaa543cb93a3430d984a9119" -"checksum smallvec 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "153ffa32fd170e9944f7e0838edf824a754ec4c1fc64746fcc9fe1f8fa602e5d" -"checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" -"checksum substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-io 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-std 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum sr-version 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-session 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-staking 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-support 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum srml-system 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"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 substrate-metadata 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)" = "" -"checksum substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)" = "261ae9ecaa397c42b960649561949d69311f08eeaea86a65696e6e46517cf741" -"checksum tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e9175261fbdb60781fcd388a4d6cc7e14764a2b629a7ad94abb439aed223a44f" -"checksum triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2033893a813c70e7d8a739ca6c36dc0a7a2c913ec718d7cbf84a3837bbe3c7ce" -"checksum triehash 0.2.1 (git+https://github.com/paritytech/parity-common)" = "" -"checksum twox-hash 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4f85be565a110ed72ed7048cf56570db04ce0a592c98aa59b7dacde3e5718750" -"checksum uint 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "38051a96565903d81c9a9210ce11076b2218f3b352926baa1f5f6abbdfce8273" -"checksum uint 0.4.1 (git+https://github.com/paritytech/parity-common)" = "" "checksum uint 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "754ba11732b9161b94c41798e5197e5e75388d012f760c42adb5000353e98646" "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" -"checksum unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" -"checksum untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f392d7819dbe58833e26872f5f6f0d68b7bbbe90fc3667e98731c4a15ad9a7ae" -"checksum version_check 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7716c242968ee87e5542f8021178248f267f295a5c4803beae8b8b7fd9bc6051" -"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" -"checksum wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "522fe3fdd44a56f25cd5ddcd8ccdb1cf2e982ceb28fcb00f41d8a018ae5245a8" -"checksum winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "773ef9dcc5f24b7d850d0ff101e542ff24c3b090a9768e03ff889fdef41f00fd" -"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/polkadot/runtime/wasm/Cargo.toml b/polkadot/runtime/wasm/Cargo.toml index ca343e917a..48ff7b67b9 100644 --- a/polkadot/runtime/wasm/Cargo.toml +++ b/polkadot/runtime/wasm/Cargo.toml @@ -10,47 +10,24 @@ crate-type = ["cdylib"] integer-sqrt = { git = "https://github.com/paritytech/integer-sqrt-rs.git", branch = "master" } polkadot-primitives = { path = "../../primitives", default-features = false } safe-mix = { version = "1.0", default-features = false } -substrate-codec = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-codec-derive = { git = "https://github.com/paritytech/substrate", default-features = false } +parity-codec = { git = "https://github.com/paritytech/substrate", default-features = false } +parity-codec-derive = { git = "https://github.com/paritytech/substrate", default-features = false } substrate-primitives = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-std = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-io = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-support = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-balances = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-consensus = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-council = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-democracy = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-executive = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-session = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-staking = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-system = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false } -substrate-runtime-version = { git = "https://github.com/paritytech/substrate", default-features = false } - -[features] -default = [] -std = [ - "polkadot-primitives/std", - "safe-mix/std", - "substrate-codec/std", - "substrate-codec-derive/std", - "substrate-primitives/std", - "substrate-runtime-std/std", - "substrate-runtime-io/std", - "substrate-runtime-support/std", - "substrate-runtime-balances/std", - "substrate-runtime-consensus/std", - "substrate-runtime-council/std", - "substrate-runtime-democracy/std", - "substrate-runtime-executive/std", - "substrate-runtime-primitives/std", - "substrate-runtime-session/std", - "substrate-runtime-staking/std", - "substrate-runtime-system/std", - "substrate-runtime-timestamp/std", - "substrate-runtime-version/std", -] +sr-std = { git = "https://github.com/paritytech/substrate", default-features = false } +sr-io = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-support = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-balances = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-consensus = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-council = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-democracy = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-executive = { git = "https://github.com/paritytech/substrate", default-features = false } +sr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-session = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-staking = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-system = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false } +srml-treasury = { git = "https://github.com/paritytech/substrate", default-features = false } +sr-version = { git = "https://github.com/paritytech/substrate", default-features = false } [profile.release] panic = "abort" diff --git a/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm b/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm index e77f73c018..3774559aca 100644 Binary files a/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm and b/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm differ diff --git a/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm b/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm index 2e345e3222..7f2d3a864d 100755 Binary files a/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm and b/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm differ diff --git a/polkadot/service/Cargo.toml b/polkadot/service/Cargo.toml index 2de430603a..5e332fa951 100644 --- a/polkadot/service/Cargo.toml +++ b/polkadot/service/Cargo.toml @@ -11,7 +11,6 @@ log = "0.3" slog = "^2" tokio = "0.1.7" hex-literal = "0.1" -ed25519 = { git = "https://github.com/paritytech/substrate" } polkadot-availability-store = { path = "../availability-store" } polkadot-primitives = { path = "../primitives" } polkadot-runtime = { path = "../runtime" } @@ -20,7 +19,7 @@ polkadot-executor = { path = "../executor" } polkadot-api = { path = "../api" } polkadot-transaction-pool = { path = "../transaction-pool" } polkadot-network = { path = "../network" } -substrate-runtime-io = { git = "https://github.com/paritytech/substrate" } +sr-io = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } substrate-network = { git = "https://github.com/paritytech/substrate" } substrate-client = { git = "https://github.com/paritytech/substrate" } diff --git a/polkadot/service/res/krummelanke.json b/polkadot/service/res/krummelanke.json index 0e76ea124b..a6df35decf 100644 --- a/polkadot/service/res/krummelanke.json +++ b/polkadot/service/res/krummelanke.json @@ -45,7 +45,15 @@ "/ip4/104.211.48.51/tcp/30333/p2p/QmWCnXrhM1in1qPqVT3rDXQEJHedAzbPDMimdjqy2P9fGn", "/ip4/104.211.48.247/tcp/30333/p2p/QmY33GW69TnTsdQWjAkxJR1GrWTdeV1PmzzcSmUay4HvAB", "/ip4/40.114.120.164/tcp/30333/p2p/QmWzYU5X1NpFrprD1YZF5Lcj9aE5WF4QEg5FpvQx5XGWG7", - "/ip4/40.117.153.33/tcp/30333/p2p/QmSz8qCADMmi92QB8dTqMPu56JYQQKZBAHz7y8KXjvqcvW" + "/ip4/40.117.153.33/tcp/30333/p2p/QmSz8qCADMmi92QB8dTqMPu56JYQQKZBAHz7y8KXjvqcvW", + "/ip4/177.32.114.36/tcp/30333/p2p/QmPgSfuqyjxHWUtQ1fnpAcAdxMsusDNpTQeJsoM5P5HdGn", + "/ip4/149.28.131.52/tcp/30333/p2p/QmXxUhbiH4MrFnPhs1TcAt349ba7jhedA66VQNAwGkRxr7", + "/ip4/144.217.5.91/tcp/30333/p2p/QmUDCNHn87dwZQDd35XTsyjSTfUmJ2iCST9SZeD5ocMkhw", + "/ip4/140.82.45.229/tcp/30333/p2p/QmYGL2yf8UYtCLGfwtZFiE8An59kv5NzYGyEstChbD2vJZ", + "/ip4/45.77.202.29/tcp/30333/p2p/QmbcPnLqWwWZUVW7sU7ttRJHWGGA4jtqxv8V7swwmAMpJ2", + "/ip4/167.99.191.24/tcp/30333/p2p/QmQWZhtBatdb82kaDSQGGzNSFM4F7jTpLTN2v3KUVyKZf7", + "/ip4/35.236.220.53/tcp/30333/p2p/QmQShZHiGGvwijD86qXMFL3e1KjwwakAzGUAc11DPPApSc", + "/ip4/81.187.58.219/tcp/30333/p2p/QmPLEZvyzwpE9CWM3QsB1oQL23FE386sanJQ1gk87J21bF" ], "telemetryUrl": "wss://telemetry.polkadot.io/submit/" } diff --git a/polkadot/service/src/chain_spec.rs b/polkadot/service/src/chain_spec.rs index 1cd8886f53..aeb7c4a097 100644 --- a/polkadot/service/src/chain_spec.rs +++ b/polkadot/service/src/chain_spec.rs @@ -16,8 +16,7 @@ //! Polkadot chain configurations. -use ed25519; -use primitives::AuthorityId; +use primitives::{AuthorityId, ed25519}; use polkadot_runtime::{GenesisConfig, ConsensusConfig, CouncilConfig, DemocracyConfig, SessionConfig, StakingConfig, TimestampConfig, BalancesConfig}; use service::ChainSpec; @@ -60,7 +59,7 @@ fn staging_testnet_config_genesis() -> GenesisConfig { staking: Some(StakingConfig { current_era: 0, intentions: initial_authorities.iter().cloned().map(Into::into).collect(), - early_era_slash: 10000, + offline_slash: 10000, session_reward: 100, validator_count: 12, sessions_per_era: 12, // 1 hour per era @@ -92,6 +91,7 @@ fn staging_testnet_config_genesis() -> GenesisConfig { timestamp: Some(TimestampConfig { period: 5, // 5 second block time. }), + treasury: Some(Default::default()), } } @@ -142,7 +142,7 @@ fn testnet_genesis(initial_authorities: Vec) -> GenesisConfig { validator_count: 2, sessions_per_era: 5, bonding_duration: 2 * 60 * 12, - early_era_slash: 0, + offline_slash: 0, session_reward: 0, offline_slash_grace: 0, }), @@ -170,6 +170,7 @@ fn testnet_genesis(initial_authorities: Vec) -> GenesisConfig { timestamp: Some(TimestampConfig { period: 5, // 5 second block time. }), + treasury: Some(Default::default()), } } diff --git a/polkadot/service/src/lib.rs b/polkadot/service/src/lib.rs index ae6d4779b1..0e4569cf08 100644 --- a/polkadot/service/src/lib.rs +++ b/polkadot/service/src/lib.rs @@ -18,7 +18,6 @@ //! Polkadot service. Specialized wrapper over substrate service. -extern crate ed25519; extern crate polkadot_availability_store as av_store; extern crate polkadot_primitives; extern crate polkadot_runtime; @@ -50,7 +49,7 @@ use client::{Client, BlockchainEvents}; use polkadot_network::{PolkadotProtocol, consensus::ConsensusNetwork}; use tokio::runtime::TaskExecutor; use service::FactoryFullConfiguration; -use primitives::{KeccakHasher, RlpCodec}; +use primitives::{Blake2Hasher, RlpCodec}; pub use service::{Roles, PruningMode, ExtrinsicPoolOptions, ErrorKind, Error, ComponentBlock, LightComponents, FullComponents}; @@ -67,9 +66,9 @@ pub trait Components: service::Components { /// Polkadot API. type Api: 'static + PolkadotApi + Send + Sync; /// Client backend. - type Backend: 'static + client::backend::Backend; + type Backend: 'static + client::backend::Backend; /// Client executor. - type Executor: 'static + client::CallExecutor + Send + Sync; + type Executor: 'static + client::CallExecutor + Send + Sync; } impl Components for service::LightComponents { diff --git a/polkadot/statement-table/Cargo.toml b/polkadot/statement-table/Cargo.toml index 25522ce6f3..eda77e1779 100644 --- a/polkadot/statement-table/Cargo.toml +++ b/polkadot/statement-table/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Parity Technologies "] [dependencies] -substrate-codec = { git = "https://github.com/paritytech/substrate" } -substrate-codec-derive = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } +parity-codec-derive = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } polkadot-primitives = { path = "../primitives" } diff --git a/polkadot/statement-table/src/lib.rs b/polkadot/statement-table/src/lib.rs index 02457ac4ae..3b10979fcd 100644 --- a/polkadot/statement-table/src/lib.rs +++ b/polkadot/statement-table/src/lib.rs @@ -14,12 +14,12 @@ //! propose and attest to validity of candidates, and those who can only attest //! to availability. -extern crate substrate_codec as codec; +extern crate parity_codec as codec; extern crate substrate_primitives; extern crate polkadot_primitives as primitives; #[macro_use] -extern crate substrate_codec_derive; +extern crate parity_codec_derive; pub mod generic; diff --git a/polkadot/test-parachains/adder/Cargo.toml b/polkadot/test-parachains/adder/Cargo.toml index 98da71517f..faa07b81e0 100644 --- a/polkadot/test-parachains/adder/Cargo.toml +++ b/polkadot/test-parachains/adder/Cargo.toml @@ -6,5 +6,5 @@ description = "Test parachain which adds to a number as its state transition" [dependencies] polkadot-parachain = { path = "../../parachain/", default-features = false } -substrate-codec-derive = { git = "https://github.com/paritytech/substrate", default-features = false } +parity-codec-derive = { git = "https://github.com/paritytech/substrate", default-features = false } tiny-keccak = "1.4" diff --git a/polkadot/test-parachains/adder/collator/Cargo.toml b/polkadot/test-parachains/adder/collator/Cargo.toml index ed735ae310..7eb81ab145 100644 --- a/polkadot/test-parachains/adder/collator/Cargo.toml +++ b/polkadot/test-parachains/adder/collator/Cargo.toml @@ -8,7 +8,7 @@ adder = { path = ".." } polkadot-parachain = { path = "../../../parachain" } polkadot-collator = { path = "../../../collator" } polkadot-primitives = { path = "../../../primitives" } -ed25519 = { git = "https://github.com/paritytech/substrate" } +substrate-primitives = { git = "https://github.com/paritytech/substrate" } parking_lot = "0.4" ctrlc = { git = "https://github.com/paritytech/rust-ctrlc.git" } futures = "0.1" diff --git a/polkadot/test-parachains/adder/collator/src/main.rs b/polkadot/test-parachains/adder/collator/src/main.rs index a20e64b230..f416672354 100644 --- a/polkadot/test-parachains/adder/collator/src/main.rs +++ b/polkadot/test-parachains/adder/collator/src/main.rs @@ -17,10 +17,10 @@ //! Collator for polkadot extern crate adder; +extern crate substrate_primitives; extern crate polkadot_parachain as parachain; extern crate polkadot_primitives as primitives; extern crate polkadot_collator as collator; -extern crate ed25519; extern crate parking_lot; extern crate ctrlc; extern crate futures; @@ -31,7 +31,7 @@ use std::collections::HashMap; use std::sync::Arc; use adder::{HeadData as AdderHead, BlockData as AdderBody}; -use ed25519::Pair; +use substrate_primitives::ed25519::Pair; use parachain::codec::{Encode, Decode}; use primitives::parachain::{HeadData, BlockData, Id as ParaId, Message}; use collator::{InvalidHead, ParachainContext, VersionInfo}; diff --git a/polkadot/test-parachains/adder/src/lib.rs b/polkadot/test-parachains/adder/src/lib.rs index a0491ec23b..ff237fb9c3 100644 --- a/polkadot/test-parachains/adder/src/lib.rs +++ b/polkadot/test-parachains/adder/src/lib.rs @@ -19,7 +19,7 @@ #![no_std] #[macro_use] -extern crate substrate_codec_derive; +extern crate parity_codec_derive; extern crate polkadot_parachain as parachain; extern crate tiny_keccak; diff --git a/polkadot/transaction-pool/Cargo.toml b/polkadot/transaction-pool/Cargo.toml index d27480cd28..bb4685ee4f 100644 --- a/polkadot/transaction-pool/Cargo.toml +++ b/polkadot/transaction-pool/Cargo.toml @@ -11,9 +11,8 @@ polkadot-api = { path = "../api" } polkadot-primitives = { path = "../primitives" } polkadot-runtime = { path = "../runtime" } substrate-client = { git = "https://github.com/paritytech/substrate" } -substrate-codec = { git = "https://github.com/paritytech/substrate" } +parity-codec = { git = "https://github.com/paritytech/substrate" } substrate-keyring = { git = "https://github.com/paritytech/substrate" } substrate-extrinsic-pool = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } -substrate-runtime-primitives = { git = "https://github.com/paritytech/substrate" } -ed25519 = { git = "https://github.com/paritytech/substrate" } +sr-primitives = { git = "https://github.com/paritytech/substrate" } diff --git a/polkadot/transaction-pool/src/lib.rs b/polkadot/transaction-pool/src/lib.rs index eb048518af..acb0d10f1e 100644 --- a/polkadot/transaction-pool/src/lib.rs +++ b/polkadot/transaction-pool/src/lib.rs @@ -14,12 +14,11 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -extern crate ed25519; extern crate substrate_client as client; -extern crate substrate_codec as codec; +extern crate parity_codec as codec; extern crate substrate_extrinsic_pool as extrinsic_pool; extern crate substrate_primitives; -extern crate substrate_runtime_primitives; +extern crate sr_primitives; extern crate polkadot_runtime as runtime; extern crate polkadot_primitives as primitives; extern crate polkadot_api; @@ -47,7 +46,7 @@ use extrinsic_pool::{Readiness, scoring::{Change, Choice}, VerifiedFor, Extrinsi use polkadot_api::PolkadotApi; use primitives::{AccountId, BlockId, Block, Hash, Index}; use runtime::{Address, UncheckedExtrinsic}; -use substrate_runtime_primitives::traits::{Bounded, Checkable, Hash as HashT, BlakeTwo256}; +use sr_primitives::traits::{Bounded, Checkable, Hash as HashT, BlakeTwo256}; pub use extrinsic_pool::{Options, Status, LightStatus, VerifiedTransaction as VerifiedTransactionOps}; pub use error::{Error, ErrorKind, Result}; @@ -182,7 +181,13 @@ impl extrinsic_pool::ChainApi for ChainApi where Err(Self::NO_ACCOUNT) => None, Err(e) => bail!(e), }; - let sender = inner.as_ref().map(|x| x.signed.clone()); + let sender = match inner.as_ref() { + Some(cxt) => match cxt.signed { + Some(ref sender) => Some(sender.clone()), + None => bail!(ErrorKind::IsInherent(uxt)) + }, + None => None, + }; if encoded_size < 1024 { debug!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt); @@ -191,7 +196,7 @@ impl extrinsic_pool::ChainApi for ChainApi where } Ok(VerifiedTransaction { - index: uxt.extrinsic.index, + index: uxt.index, inner, sender, hash, @@ -291,9 +296,9 @@ mod tests { use polkadot_api::{PolkadotApi, BlockBuilder, Result}; use primitives::{AccountId, AccountIndex, Block, BlockId, Hash, Index, SessionKey, UncheckedExtrinsic as FutureProofUncheckedExtrinsic}; - use runtime::{RawAddress, Call, TimestampCall, BareExtrinsic, Extrinsic, UncheckedExtrinsic}; + use runtime::{RawAddress, Call, TimestampCall, UncheckedExtrinsic}; use primitives::parachain::{DutyRoster, Id as ParaId}; - use substrate_runtime_primitives::{MaybeUnsigned, generic}; + use sr_primitives::generic; use extrinsic_pool::Pool; use super::ChainApi; @@ -340,7 +345,7 @@ mod tests { fn parachain_code(&self, _at: &BlockId, _parachain: ParaId) -> Result>> { unimplemented!() } fn parachain_head(&self, _at: &BlockId, _parachain: ParaId) -> Result>> { unimplemented!() } fn build_block(&self, _at: &BlockId, _inherent: ::primitives::InherentData) -> Result { unimplemented!() } - fn inherent_extrinsics(&self, _at: &BlockId, _inherent: ::primitives::InherentData) -> Result>> { unimplemented!() } + fn inherent_extrinsics(&self, _at: &BlockId, _inherent: ::primitives::InherentData) -> Result> { unimplemented!() } fn index(&self, _at: &BlockId, _account: AccountId) -> Result { Ok((_account[0] as u32) + number_of(_at)) @@ -366,28 +371,24 @@ mod tests { } fn uxt(who: Keyring, nonce: Index, use_id: bool) -> FutureProofUncheckedExtrinsic { - let sxt = BareExtrinsic { - signed: who.to_raw_public().into(), - index: nonce, - function: Call::Timestamp(TimestampCall::set(0)), - }; + let sxt = (nonce, Call::Timestamp(TimestampCall::set(0))); let sig = sxt.using_encoded(|e| who.sign(e)); - UncheckedExtrinsic::new(Extrinsic { - signed: if use_id { RawAddress::Id(sxt.signed) } else { RawAddress::Index( - match who { - Alice => 0, - Bob => 1, - Charlie => 2, - Dave => 3, - Eve => 4, - Ferdie => 5, - One => 6, - Two => 7, - } - )}, - index: sxt.index, - function: sxt.function, - }, MaybeUnsigned(sig.into())).using_encoded(|e| FutureProofUncheckedExtrinsic::decode(&mut &e[..])).unwrap() + let signed = who.to_raw_public().into(); + let sender = if use_id { RawAddress::Id(signed) } else { RawAddress::Index( + match who { + Alice => 0, + Bob => 1, + Charlie => 2, + Dave => 3, + Eve => 4, + Ferdie => 5, + One => 6, + Two => 7, + } + )}; + UncheckedExtrinsic::new_signed(sxt.0, sxt.1, sender, sig.into()) + .using_encoded(|e| FutureProofUncheckedExtrinsic::decode(&mut &e[..])) + .unwrap() } fn pool(api: &TestPolkadotApi) -> Pool> {