diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 05a08c647a..702aa5b139 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -448,7 +448,7 @@ dependencies = [ [[package]] name = "ed25519" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -488,7 +488,7 @@ dependencies = [ [[package]] name = "environmental" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" [[package]] name = "error-chain" @@ -1979,7 +1979,7 @@ dependencies = [ [[package]] name = "pwasm-alloc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "pwasm-libc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" [[package]] name = "quick-error" @@ -2488,7 +2488,7 @@ 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?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2507,7 +2507,7 @@ dependencies = [ [[package]] name = "substrate-cli" version = "0.3.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2538,7 +2538,7 @@ dependencies = [ [[package]] name = "substrate-client" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2568,7 +2568,7 @@ dependencies = [ [[package]] name = "substrate-client-db" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2590,7 +2590,7 @@ dependencies = [ [[package]] name = "substrate-codec" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2598,7 +2598,7 @@ dependencies = [ [[package]] name = "substrate-codec-derive" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2608,7 +2608,7 @@ dependencies = [ [[package]] name = "substrate-executor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "byteorder 1.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", @@ -2634,7 +2634,7 @@ dependencies = [ [[package]] name = "substrate-extrinsic-pool" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2649,7 +2649,7 @@ dependencies = [ [[package]] name = "substrate-keyring" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2659,7 +2659,7 @@ dependencies = [ [[package]] name = "substrate-keystore" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2675,7 +2675,7 @@ dependencies = [ [[package]] name = "substrate-network" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", @@ -2697,7 +2697,7 @@ dependencies = [ [[package]] name = "substrate-network-libp2p" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2720,7 +2720,7 @@ dependencies = [ [[package]] name = "substrate-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "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)", @@ -2746,7 +2746,7 @@ dependencies = [ [[package]] name = "substrate-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2768,7 +2768,7 @@ dependencies = [ [[package]] name = "substrate-rpc-servers" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2783,7 +2783,7 @@ dependencies = [ [[package]] name = "substrate-runtime-balances" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2807,7 +2807,7 @@ dependencies = [ [[package]] name = "substrate-runtime-consensus" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2824,7 +2824,7 @@ dependencies = [ [[package]] name = "substrate-runtime-council" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2847,7 +2847,7 @@ dependencies = [ [[package]] name = "substrate-runtime-democracy" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2868,7 +2868,7 @@ dependencies = [ [[package]] name = "substrate-runtime-executive" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2885,7 +2885,7 @@ dependencies = [ [[package]] name = "substrate-runtime-io" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "environmental 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", @@ -2900,7 +2900,7 @@ dependencies = [ [[package]] name = "substrate-runtime-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2918,7 +2918,7 @@ dependencies = [ [[package]] name = "substrate-runtime-sandbox" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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?branch=polkadot)", @@ -2931,7 +2931,7 @@ dependencies = [ [[package]] name = "substrate-runtime-session" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2953,7 +2953,7 @@ dependencies = [ [[package]] name = "substrate-runtime-staking" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -2978,7 +2978,7 @@ dependencies = [ [[package]] name = "substrate-runtime-std" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", @@ -2988,7 +2988,7 @@ dependencies = [ [[package]] name = "substrate-runtime-support" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3003,7 +3003,7 @@ dependencies = [ [[package]] name = "substrate-runtime-system" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -3021,7 +3021,7 @@ dependencies = [ [[package]] name = "substrate-runtime-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -3039,7 +3039,7 @@ dependencies = [ [[package]] name = "substrate-runtime-version" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -3052,7 +3052,7 @@ dependencies = [ [[package]] name = "substrate-serializer" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -3061,7 +3061,7 @@ dependencies = [ [[package]] name = "substrate-service" version = "0.3.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -3093,7 +3093,7 @@ dependencies = [ [[package]] name = "substrate-state-db" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3105,7 +3105,7 @@ dependencies = [ [[package]] name = "substrate-state-machine" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", @@ -3123,7 +3123,7 @@ dependencies = [ [[package]] name = "substrate-telemetry" version = "0.3.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f13dfce672731908995ea406e37812aefafe0eea" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", diff --git a/polkadot/api/src/full.rs b/polkadot/api/src/full.rs index 0c5e5dbc41..a1ec9c2e6e 100644 --- a/polkadot/api/src/full.rs +++ b/polkadot/api/src/full.rs @@ -166,7 +166,7 @@ impl> PolkadotApi for Client consensus, SystemConfig => system, - BaalncesConfig => balances, + BalancesConfig => balances, SessionConfig => session, StakingConfig => staking, DemocracyConfig => democracy, @@ -273,7 +273,7 @@ pub mod api { apply_extrinsic => |extrinsic| super::Executive::apply_extrinsic(extrinsic), execute_block => |block| super::Executive::execute_block(block), finalise_block => |()| super::Executive::finalise_block(), - inherent_extrinsics => |(inherent, version)| super::inherent_extrinsics(inherent, version), + inherent_extrinsics => |(inherent, spec_version)| super::inherent_extrinsics(inherent, spec_version), validator_count => |()| super::Session::validator_count(), validators => |()| super::Session::validators() ); diff --git a/polkadot/runtime/src/parachains.rs b/polkadot/runtime/src/parachains.rs index 528b85b01e..3dc4813bbd 100644 --- a/polkadot/runtime/src/parachains.rs +++ b/polkadot/runtime/src/parachains.rs @@ -258,7 +258,9 @@ mod tests { type PublicAux = u64; } impl consensus::Trait for Test { + const NOTE_OFFLINE_POSITION: u32 = 1; type SessionKey = u64; + type OnOfflineValidator = (); } impl system::Trait for Test { type PublicAux = ::PublicAux; @@ -269,11 +271,12 @@ mod tests { type Digest = Digest; type AccountId = u64; type Header = Header; + type Event = (); } impl session::Trait for Test { - const NOTE_OFFLINE_POSITION: u32 = 1; type ConvertAccountIdToSessionKey = Identity; type OnSessionChange = (); + type Event = (); } impl timestamp::Trait for Test { const TIMESTAMP_SET_POSITION: u32 = 0; @@ -296,7 +299,6 @@ mod tests { t.extend(session::GenesisConfig::{ session_length: 1000, validators: vec![1, 2, 3, 4, 5, 6, 7, 8], - broken_percent_late: 100, }.build_storage().unwrap()); t.extend(GenesisConfig::{ parachains: parachains, diff --git a/polkadot/runtime/src/utils.rs b/polkadot/runtime/src/utils.rs index 426e8c5228..95cead3014 100644 --- a/polkadot/runtime/src/utils.rs +++ b/polkadot/runtime/src/utils.rs @@ -22,10 +22,9 @@ use runtime_primitives::traits::{Checkable, AuxLookup}; use timestamp::Call as TimestampCall; use parachains::Call as ParachainsCall; use consensus::Call as ConsensusCall; -use version::RuntimeVersion; /// Produces the list of inherent extrinsics. -pub fn inherent_extrinsics(data: ::primitives::InherentData, runtime_version: RuntimeVersion) -> Vec { +pub fn inherent_extrinsics(data: ::primitives::InherentData, spec_version: u32) -> Vec { let make_inherent = |function| UncheckedExtrinsic::new( Extrinsic { signed: Default::default(), @@ -40,7 +39,7 @@ pub fn inherent_extrinsics(data: ::primitives::InherentData, runtime_version: Ru make_inherent(Call::Parachains(ParachainsCall::set_heads(data.parachain_heads))), ]; - if !data.offline_indices.is_empty() && runtime_version.spec_version == 4 { + if !data.offline_indices.is_empty() && spec_version == 4 { 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 76780437bc..2288217721 100644 --- a/polkadot/runtime/wasm/Cargo.lock +++ b/polkadot/runtime/wasm/Cargo.lock @@ -13,7 +13,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "bitflags" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -27,19 +27,22 @@ dependencies = [ [[package]] name = "byteorder" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "cc" -version = "1.0.17" +version = "1.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "cfg-if" -version = "0.1.3" +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" @@ -60,9 +63,9 @@ 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.3 (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.0.1 (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)", @@ -73,7 +76,7 @@ name = "crossbeam-utils" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -84,13 +87,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "ed25519" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -105,7 +108,7 @@ dependencies = [ [[package]] name = "environmental" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" [[package]] name = "ethbloom" @@ -114,8 +117,8 @@ 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)", - "serde 1.0.64 (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)", ] @@ -127,48 +130,61 @@ 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)", - "rustc_version 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.64 (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.64 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "fixed-hash" -version = "0.2.1" -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.41 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 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)", + "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "fixed-hash" version = "0.2.2" -source = "git+https://github.com/paritytech/parity-common#26baede0d9cd8cdad3511d75408228051dbc23dd" +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.41 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 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.3 (registry+https://github.com/rust-lang/crates.io-index)", + "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)", ] @@ -185,7 +201,7 @@ 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#26baede0d9cd8cdad3511d75408228051dbc23dd" +source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" dependencies = [ "elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -195,7 +211,7 @@ name = "heapsize" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -222,11 +238,10 @@ source = "git+https://github.com/paritytech/integer-sqrt-rs.git#886e9cb983c46498 [[package]] name = "keccak-hash" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", - "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)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -237,12 +252,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "lazy_static" -version = "1.0.1" +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.41" +version = "0.2.43" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -250,15 +268,15 @@ name = "log" version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "log" -version = "0.4.1" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -274,13 +292,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#26baede0d9cd8cdad3511d75408228051dbc23dd" +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.1 (git+https://github.com/paritytech/parity-common)", + "rlp 0.2.2 (git+https://github.com/paritytech/parity-common)", ] [[package]] @@ -295,7 +313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "num-traits" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -303,7 +321,7 @@ name = "num_cpus" version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -311,20 +329,20 @@ name = "owning_ref" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "stable_deref_trait 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "parity-bytes" version = "0.1.0" -source = "git+https://github.com/paritytech/parity-common#26baede0d9cd8cdad3511d75408228051dbc23dd" +source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" [[package]] name = "parity-wasm" -version = "0.31.0" +version = "0.31.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -341,28 +359,28 @@ name = "parking_lot_core" version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "smallvec 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.4 (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)", + "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#26baede0d9cd8cdad3511d75408228051dbc23dd" +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.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.4.3 (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#26baede0d9cd8cdad3511d75408228051dbc23dd" +source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" dependencies = [ "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -371,13 +389,13 @@ dependencies = [ name = "polkadot-primitives" version = "0.1.0" dependencies = [ - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "substrate-runtime-std 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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] @@ -387,21 +405,23 @@ dependencies = [ "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", "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-primitives 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-codec 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] @@ -419,7 +439,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "proc-macro2" -version = "0.4.4" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -428,63 +448,69 @@ dependencies = [ [[package]] name = "pwasm-alloc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ - "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", - "rustc_version 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pwasm-libc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" [[package]] name = "quote" -version = "0.6.3" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "proc-macro2 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rand" -version = "0.3.22" +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.41 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 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)", + "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rand" -version = "0.4.2" +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.41 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.4 (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.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rayon-core" -version = "1.4.0" +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.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.41 (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)", - "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -494,31 +520,31 @@ 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.41 (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.1" -source = "git+https://github.com/paritytech/parity-common#26baede0d9cd8cdad3511d75408228051dbc23dd" +version = "0.2.2" +source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" dependencies = [ - "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "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 1.0.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 = "rlp" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "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 1.0.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]] @@ -528,12 +554,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "rustc-hex" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "rustc_version" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -544,7 +570,7 @@ name = "safe-mix" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "rustc_version 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)", ] [[package]] @@ -567,22 +593,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "serde" -version = "1.0.64" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "serde_derive" -version = "1.0.64" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "proc-macro2 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.14.1 (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 = "smallvec" -version = "0.6.4" +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)", @@ -590,13 +616,13 @@ dependencies = [ [[package]] name = "stable_deref_trait" -version = "1.0.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "substrate-codec" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -604,297 +630,324 @@ dependencies = [ [[package]] name = "substrate-codec-derive" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ - "proc-macro2 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.14.1 (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 = "substrate-keyring" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", + "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.0.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#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", - "byteorder 1.2.3 (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.2 (git+https://github.com/paritytech/parity-common)", + "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.1 (git+https://github.com/paritytech/parity-common)", - "rustc-hex 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "twox-hash 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "uint 0.2.2 (git+https://github.com/paritytech/parity-common)", + "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?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", +] + [[package]] name = "substrate-runtime-consensus" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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)", + "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?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-council" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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-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-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)", + "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?branch=polkadot)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-democracy" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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-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-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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-executive" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-io" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.2 (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)", + "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "environmental 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "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?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "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#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.4 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-sandbox" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ - "rustc_version 0.2.2 (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)", + "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?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "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#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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-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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-staking" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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-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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-std" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.2 (registry+https://github.com/rust-lang/crates.io-index)", + "pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "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#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", + "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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)", + "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?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-system" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" 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.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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)", + "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?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-runtime-version" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ - "serde 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.64 (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)", + "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?branch=polkadot)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", ] [[package]] name = "substrate-state-machine" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate#54e6d763a5d091ca1c41f431f8c7e76c384263d5" +source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" dependencies = [ - "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "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)", @@ -902,18 +955,18 @@ dependencies = [ "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.1 (git+https://github.com/paritytech/parity-common)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", - "triehash 0.2.0 (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?branch=polkadot)", + "triehash 0.2.1 (git+https://github.com/paritytech/parity-common)", ] [[package]] name = "syn" -version = "0.14.1" +version = "0.14.9" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "proc-macro2 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 0.6.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)", "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -932,26 +985,26 @@ 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)", + "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.0" -source = "git+https://github.com/paritytech/parity-common#26baede0d9cd8cdad3511d75408228051dbc23dd" +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.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.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "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)", ] [[package]] @@ -959,20 +1012,31 @@ name = "uint" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "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.2 (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.2.2" -source = "git+https://github.com/paritytech/parity-common#26baede0d9cd8cdad3511d75408228051dbc23dd" +version = "0.4.1" +source = "git+https://github.com/paritytech/parity-common#51258799ee639783a7153d807ce9ddf4d49b29fa" dependencies = [ - "byteorder 1.2.3 (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.2 (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)", + "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "uint" +version = "0.4.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)", + "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)", ] [[package]] @@ -993,6 +1057,11 @@ 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" @@ -1003,15 +1072,15 @@ name = "wasmi" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "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.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.4" +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)", @@ -1031,24 +1100,25 @@ 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.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d0c54bb8f454c567f21197eefcdbf5679d0bd99f2ddbe52e84c77061952e6789" +"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.3 (registry+https://github.com/rust-lang/crates.io-index)" = "74c0b906e9446b0a2e4f760cdb3fa4b2c48cdc6db8766a845c54b6ff063fd2e9" -"checksum cc 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "49ec142f5768efb5b7622aebc3fdbdbb8950a4b9ba996393cb76ef7466e8747d" -"checksum cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "405216fd8fe65f718daa7102ea808a946b6ce40c742998fbfd3463645552de18" +"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 ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" "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 environmental 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" "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.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18d6fd718fb4396e7a9c93ac59ba7143501467ca7a143c145b5555a571d5576" -"checksum fixed-hash 0.2.2 (git+https://github.com/paritytech/parity-common)" = "" +"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" @@ -1057,81 +1127,85 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "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.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b7f51f30d7986536accaec4a6a288008dfb3dbffe8a2863a65292bc395a3ae7" +"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.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e6412c5e2ad9584b0b8e979393122026cdd6d2a80b933f890dcd694ddbe73739" -"checksum libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)" = "ac8ebf8343a981e2fa97042b14768f02ed3e1d602eac06cae6166df3c8ced206" +"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.1 (registry+https://github.com/rust-lang/crates.io-index)" = "89f010e843f2b1a31dbd316b3b8d443758bc634bed37aabade59c686d644e0a2" +"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.4 (registry+https://github.com/rust-lang/crates.io-index)" = "775393e285254d2f5004596d69bb8bc1149754570dcc08cf30cabeba67955e28" +"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.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e1c91199d14bd5b78ecade323d4a891d094799749c1b9e82d9c590c2e2849a40" +"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 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.4 (registry+https://github.com/rust-lang/crates.io-index)" = "1fa93823f53cfd0f5ac117b189aed6cfdfb2cfc0a9d82e956dd7927595ed7d46" -"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.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e44651a0dc4cdd99f71c83b561e221f714912d11af1a4dff0631f923d53af035" -"checksum rand 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)" = "15a732abf9d20f0ad8eeb6f909bf6868722d9a06e1e50802b6a70351f40b4eb1" -"checksum rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eba5f8cb59cc50ed56be8880a5c7b496bfd9bd26394e176bc67884094145c2c5" +"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?branch=polkadot)" = "" +"checksum pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"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.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9d24ad214285a7729b174ed6d3bcfcb80177807f959d95fafd5bfc5c4f201ac8" +"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.1 (git+https://github.com/paritytech/parity-common)" = "" -"checksum rlp 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "89db7f8dfdd5eb7ab3ac3ece7a07fd273a680b4b224cb231181280e8996f9f0b" +"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.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d2b03280c2813907a030785570c577fb27d3deec8da4c18566751ade94de0ace" -"checksum rustc_version 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a54aa04a10c68c1c4eacb4337fd883b435997ede17a9385784b990777686b09a" +"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.64 (registry+https://github.com/rust-lang/crates.io-index)" = "fba5be06346c5200249c8c8ca4ccba4a09e8747c71c16e420bd359a0db4d8f91" -"checksum serde_derive 1.0.64 (registry+https://github.com/rust-lang/crates.io-index)" = "79e4620ba6fbe051fc7506fab6f84205823564d55da18d55b695160fb3479cd8" -"checksum smallvec 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "211a489e65e94b103926d2054ae515a1cdb5d515ea0ef414fee23b7e043ce748" -"checksum stable_deref_trait 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "15132e0e364248108c5e2c02e3ab539be8d6f5d52a01ca9bbf27ed657316f02b" -"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 substrate-primitives 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.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6dfd71b2be5a58ee30a6f8ea355ba8290d397131c00dfa55c3d34e6e13db5101" +"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?branch=polkadot)" = "" +"checksum substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"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.0 (git+https://github.com/paritytech/parity-common)" = "" -"checksum twox-hash 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "475352206e7a290c5fccc27624a163e8d0d115f7bb60ca18a64fc9ce056d7435" +"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.2.2 (git+https://github.com/paritytech/parity-common)" = "" +"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.4 (registry+https://github.com/rust-lang/crates.io-index)" = "04e3bd221fcbe8a271359c04f21a76db7d0c6028862d1bb5512d85e1e2eb5bb3" +"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 e583b12e21..524d789cae 100644 --- a/polkadot/runtime/wasm/Cargo.toml +++ b/polkadot/runtime/wasm/Cargo.toml @@ -11,10 +11,12 @@ integer-sqrt = { git = "https://github.com/paritytech/integer-sqrt-rs.git", bran polkadot-primitives = { path = "../../primitives", default-features = false } safe-mix = { version = "1.0", default-features = false } substrate-codec = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } +substrate-codec-derive = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } substrate-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } substrate-runtime-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } substrate-runtime-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } substrate-runtime-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } +substrate-runtime-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } substrate-runtime-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } substrate-runtime-council = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } substrate-runtime-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot", default-features = false } @@ -32,10 +34,12 @@ 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", 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 5473a9a11b..b416119590 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 2339f1b2a2..aa8241e9a5 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/src/chain_spec.rs b/polkadot/service/src/chain_spec.rs index 85ecbe5196..1cd8886f53 100644 --- a/polkadot/service/src/chain_spec.rs +++ b/polkadot/service/src/chain_spec.rs @@ -19,7 +19,7 @@ use ed25519; use primitives::AuthorityId; use polkadot_runtime::{GenesisConfig, ConsensusConfig, CouncilConfig, DemocracyConfig, - SessionConfig, StakingConfig, TimestampConfig}; + SessionConfig, StakingConfig, TimestampConfig, BalancesConfig}; use service::ChainSpec; const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/"; @@ -44,26 +44,29 @@ fn staging_testnet_config_genesis() -> GenesisConfig { authorities: initial_authorities.clone(), }), system: None, - session: Some(SessionConfig { - validators: initial_authorities.iter().cloned().map(Into::into).collect(), - session_length: 60, // that's 5 minutes per session. - broken_percent_late: 50, - }), - staking: Some(StakingConfig { - current_era: 0, - intentions: initial_authorities.iter().cloned().map(Into::into).collect(), + balances: Some(BalancesConfig { transaction_base_fee: 100, transaction_byte_fee: 1, existential_deposit: 500, transfer_fee: 0, creation_fee: 0, reclaim_rebate: 0, + balances: endowed_accounts.iter().map(|&k|(k, 1u128 << 60)).collect(), + }), + session: Some(SessionConfig { + validators: initial_authorities.iter().cloned().map(Into::into).collect(), + session_length: 60, // that's 5 minutes per session. + }), + staking: Some(StakingConfig { + current_era: 0, + intentions: initial_authorities.iter().cloned().map(Into::into).collect(), early_era_slash: 10000, session_reward: 100, - balances: endowed_accounts.iter().map(|&k|(k, 1u128 << 60)).collect(), validator_count: 12, sessions_per_era: 12, // 1 hour per era bonding_duration: 24 * 60 * 12, // 1 day per bond. + offline_slash_grace: 4, + minimum_validator_count: 4, }), democracy: Some(DemocracyConfig { launch_period: 12 * 60 * 24, // 1 day per public referendum @@ -119,14 +122,7 @@ fn testnet_genesis(initial_authorities: Vec) -> GenesisConfig { authorities: initial_authorities.clone(), }), system: None, - session: Some(SessionConfig { - validators: initial_authorities.iter().cloned().map(Into::into).collect(), - session_length: 10, - broken_percent_late: 30, - }), - staking: Some(StakingConfig { - current_era: 0, - intentions: initial_authorities.iter().cloned().map(Into::into).collect(), + balances: Some(BalancesConfig { transaction_base_fee: 1, transaction_byte_fee: 0, existential_deposit: 500, @@ -134,11 +130,21 @@ fn testnet_genesis(initial_authorities: Vec) -> GenesisConfig { creation_fee: 0, reclaim_rebate: 0, balances: endowed_accounts.iter().map(|&k|(k, (1u128 << 60))).collect(), + }), + session: Some(SessionConfig { + validators: initial_authorities.iter().cloned().map(Into::into).collect(), + session_length: 10, + }), + staking: Some(StakingConfig { + current_era: 0, + intentions: initial_authorities.iter().cloned().map(Into::into).collect(), + minimum_validator_count: 1, validator_count: 2, sessions_per_era: 5, bonding_duration: 2 * 60 * 12, early_era_slash: 0, session_reward: 0, + offline_slash_grace: 0, }), democracy: Some(DemocracyConfig { launch_period: 9,