diff --git a/polkadot/api/Cargo.toml b/polkadot/api/Cargo.toml index bf51a09ef2..92d8ca81b8 100644 --- a/polkadot/api/Cargo.toml +++ b/polkadot/api/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Parity Technologies "] [dependencies] error-chain = "0.12" +log = "0.3" polkadot-executor = { path = "../executor" } polkadot-runtime = { path = "../runtime" } polkadot-primitives = { path = "../primitives" } @@ -16,7 +17,6 @@ substrate-client = { git = "https://github.com/paritytech/substrate" } substrate-primitives = { git = "https://github.com/paritytech/substrate" } substrate-executor = { git = "https://github.com/paritytech/substrate" } substrate-state-machine = { git = "https://github.com/paritytech/substrate" } -log = "0.3" [dev-dependencies] substrate-keyring = { git = "https://github.com/paritytech/substrate" } diff --git a/polkadot/api/src/full.rs b/polkadot/api/src/full.rs index a1ec9c2e6e..c1a14858fe 100644 --- a/polkadot/api/src/full.rs +++ b/polkadot/api/src/full.rs @@ -18,47 +18,67 @@ use client::backend::LocalBackend; use client::block_builder::BlockBuilder as ClientBlockBuilder; -use client::{Client, LocalCallExecutor}; +use client::{self, Client, LocalCallExecutor, CallExecutor}; +use codec::{Encode, Decode}; use polkadot_executor::Executor as LocalDispatch; use substrate_executor::NativeExecutor; -use state_machine; +use state_machine::ExecutionManager; use runtime::Address; -use runtime_primitives::traits::AuxLookup; use primitives::{ AccountId, Block, Header, BlockId, Hash, Index, InherentData, SessionKey, Timestamp, UncheckedExtrinsic, }; use primitives::parachain::{DutyRoster, Id as ParaId}; use substrate_primitives::{KeccakHasher, RlpCodec}; +use {BlockBuilder, PolkadotApi, LocalPolkadotApi, Error, ErrorKind, Result}; -use {BlockBuilder, PolkadotApi, LocalPolkadotApi, ErrorKind, Error, Result}; - -// set up the necessary scaffolding to execute a set of calls to the runtime. -// this creates a new block on top of the given ID and initialises it. -macro_rules! with_runtime { - ($client: ident, $at: expr, $exec: expr) => {{ - let parent = $at; - let header = Header { - parent_hash: $client.block_hash_from_id(&parent)? - .ok_or_else(|| ErrorKind::UnknownBlock(format!("{:?}", parent)))?, - number: $client.block_number_from_id(&parent)? +fn call( + client: &Client>, Block>, + at: &BlockId, + function: &'static str, + input: &[u8]) +-> Result +where + R: Decode, + B: LocalBackend, +{ + let parent = at; + let header = Header { + parent_hash: client.block_hash_from_id(&parent)? + .ok_or_else(|| ErrorKind::UnknownBlock(format!("{:?}", parent)))?, + number: client.block_number_from_id(&parent)? .ok_or_else(|| ErrorKind::UnknownBlock(format!("{:?}", parent)))? + 1, - state_root: Default::default(), - extrinsics_root: Default::default(), - digest: Default::default(), - }; - - $client.state_at(&parent).map_err(Error::from).and_then(|state| { - let mut changes = Default::default(); - let mut ext = state_machine::Ext::new(&mut changes, &state); - - ::substrate_executor::with_native_environment(&mut ext, || { - ::runtime::Executive::initialise_block(&header); - ($exec)() - }).map_err(Into::into) - }) - }} + state_root: Default::default(), + extrinsics_root: Default::default(), + digest: Default::default(), + }; + client.state_at(&parent).map_err(Error::from).and_then(|state| { + let mut overlay = Default::default(); + let execution_manager = || ExecutionManager::Both(|wasm_result, native_result| { + warn!("Consensus error between wasm and native runtime execution at block {:?}", at); + warn!(" Function {:?}", function); + warn!(" Native result {:?}", native_result); + warn!(" Wasm result {:?}", wasm_result); + wasm_result + }); + client.executor().call_at_state( + &state, + &mut overlay, + "initialise_block", + &header.encode(), + execution_manager() + )?; + let (r, _) = client.executor().call_at_state( + &state, + &mut overlay, + function, + input, + execution_manager() + )?; + Ok(R::decode(&mut &r[..]) + .ok_or_else(|| client::error::Error::from(client::error::ErrorKind::CallResultDecode(function)))?) + }) } impl> BlockBuilder for ClientBlockBuilder>, Block, KeccakHasher, RlpCodec> { @@ -76,79 +96,63 @@ impl> PolkadotApi for Client>, Block, KeccakHasher, RlpCodec>; fn session_keys(&self, at: &BlockId) -> Result> { - with_runtime!(self, at, ::runtime::Consensus::authorities) + Ok(self.authorities_at(at)?) } fn validators(&self, at: &BlockId) -> Result> { - with_runtime!(self, at, ::runtime::Session::validators) + call(self, at, "validators", &[]) } fn random_seed(&self, at: &BlockId) -> Result { - with_runtime!(self, at, ::runtime::System::random_seed) + call(self, at, "random_seed", &[]) } fn duty_roster(&self, at: &BlockId) -> Result { - with_runtime!(self, at, ::runtime::Parachains::calculate_duty_roster) + call(self, at, "duty_roster", &[]) } fn timestamp(&self, at: &BlockId) -> Result { - with_runtime!(self, at, ::runtime::Timestamp::get) + call(self, at, "timestamp", &[]) } fn evaluate_block(&self, at: &BlockId, block: Block) -> Result { - use substrate_executor::error::ErrorKind as ExecErrorKind; - use codec::Encode; - use state_machine::ExecutionManager; - use client::CallExecutor; - - let parent = at; - let res = self.state_at(&parent).map_err(Error::from).and_then(|state| { - let mut overlay = Default::default(); - let execution_manager = || ExecutionManager::Both(|wasm_result, native_result| { - warn!("Consensus error between wasm and native runtime execution at block {:?}", at); - warn!(" While executing block {:?}", (block.header.number, block.header.hash())); - warn!(" Native result {:?}", native_result); - warn!(" Wasm result {:?}", wasm_result); - wasm_result - }); - let (r, _) = self.executor().call_at_state( - &state, - &mut overlay, - "execute_block", - &block.encode(), - execution_manager() - )?; - - Ok(r) - }); - + let encoded = block.encode(); + let res: Result<()> = call(self, at, "execute_block", &encoded); match res { Ok(_) => Ok(true), Err(err) => match err.kind() { - &ErrorKind::Executor(ExecErrorKind::Runtime) => Ok(false), + &ErrorKind::Execution(_) => Ok(false), _ => Err(err) } } } fn index(&self, at: &BlockId, account: AccountId) -> Result { - with_runtime!(self, at, || ::runtime::System::account_nonce(account)) + account.using_encoded(|encoded| { + call(self, at, "account_nonce", encoded) + }) } fn lookup(&self, at: &BlockId, address: Address) -> Result> { - with_runtime!(self, at, || <::runtime::Balances as AuxLookup>::lookup(address).ok()) + address.using_encoded(|encoded| { + call(self, at, "lookup_address", encoded) + }) } fn active_parachains(&self, at: &BlockId) -> Result> { - with_runtime!(self, at, ::runtime::Parachains::active_parachains) + call(self, at, "active_parachains", &[]) } fn parachain_code(&self, at: &BlockId, parachain: ParaId) -> Result>> { - with_runtime!(self, at, || ::runtime::Parachains::parachain_code(parachain)) + parachain.using_encoded(|encoded| { + call(self, at, "parachain_code", encoded) + }) } fn parachain_head(&self, at: &BlockId, parachain: ParaId) -> Result>> { - with_runtime!(self, at, || ::runtime::Parachains::parachain_head(parachain)) + parachain.using_encoded(|encoded| { + call(self, at, "parachain_head", encoded) + }) } fn build_block(&self, at: &BlockId, inherent_data: InherentData) -> Result { @@ -161,17 +165,9 @@ impl> PolkadotApi for Client Result> { - use codec::{Encode, Decode}; - let runtime_version = self.runtime_version_at(at)?; - - with_runtime!(self, at, || { - let extrinsics = ::runtime::inherent_extrinsics(inherent_data, runtime_version.spec_version); - extrinsics.into_iter() - .map(|x| x.encode()) // get encoded representation - .map(|x| Decode::decode(&mut &x[..])) // get byte-vec equivalent to extrinsic - .map(|x| x.expect("UncheckedExtrinsic has encoded representation equivalent to Vec; qed")) - .collect() + (inherent_data, runtime_version.spec_version).using_encoded(|encoded| { + call(self, at, "inherent_extrinsics", encoded) }) } } diff --git a/polkadot/api/src/lib.rs b/polkadot/api/src/lib.rs index 1265faf961..9f139faa89 100644 --- a/polkadot/api/src/lib.rs +++ b/polkadot/api/src/lib.rs @@ -60,6 +60,11 @@ error_chain! { description("Unknown block") display("Unknown block {}", b) } + /// Execution error. + Execution(e: String) { + description("Execution error") + display("Execution error: {}", e) + } /// Some other error. // TODO: allow to be specified as associated type of PolkadotApi Other(e: Box<::std::error::Error + Send>) { @@ -67,16 +72,14 @@ error_chain! { display("Other error: {}", e.description()) } } - - links { - Executor(substrate_executor::error::Error, substrate_executor::error::ErrorKind); - } } impl From for Error { fn from(e: client::error::Error) -> Error { match e { client::error::Error(client::error::ErrorKind::UnknownBlock(b), _) => Error::from_kind(ErrorKind::UnknownBlock(b)), + client::error::Error(client::error::ErrorKind::Execution(e), _) => + Error::from_kind(ErrorKind::Execution(format!("{}", e))), other => Error::from_kind(ErrorKind::Other(Box::new(other) as Box<_>)), } } diff --git a/polkadot/demo/runtime/wasm/target/wasm32-unknown-unknown/release/demo_runtime.compact.wasm b/polkadot/demo/runtime/wasm/target/wasm32-unknown-unknown/release/demo_runtime.compact.wasm new file mode 100644 index 0000000000..5221e8365c Binary files /dev/null and b/polkadot/demo/runtime/wasm/target/wasm32-unknown-unknown/release/demo_runtime.compact.wasm differ diff --git a/polkadot/demo/runtime/wasm/target/wasm32-unknown-unknown/release/demo_runtime.wasm b/polkadot/demo/runtime/wasm/target/wasm32-unknown-unknown/release/demo_runtime.wasm new file mode 100755 index 0000000000..cf1e12b82a Binary files /dev/null and b/polkadot/demo/runtime/wasm/target/wasm32-unknown-unknown/release/demo_runtime.wasm differ diff --git a/polkadot/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm b/polkadot/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm new file mode 100644 index 0000000000..beef806e0e Binary files /dev/null and b/polkadot/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm differ diff --git a/polkadot/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm b/polkadot/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm new file mode 100755 index 0000000000..ccc77ddb64 Binary files /dev/null and b/polkadot/polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm differ diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index 80e5073b13..ed4ba6569b 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -275,7 +275,15 @@ pub mod api { finalise_block => |()| super::Executive::finalise_block(), inherent_extrinsics => |(inherent, spec_version)| super::inherent_extrinsics(inherent, spec_version), validator_count => |()| super::Session::validator_count(), - validators => |()| super::Session::validators() + validators => |()| super::Session::validators(), + duty_roster => |()| super::Parachains::calculate_duty_roster(), + active_parachains => |()| super::Parachains::active_parachains(), + parachain_head => |id| super::Parachains::parachain_head(&id), + parachain_code => |id| super::Parachains::parachain_code(&id), + timestamp => |()| super::Timestamp::get(), + random_seed => |()| super::System::random_seed(), + account_nonce => |account| super::System::account_nonce(&account), + lookup_address => |address| super::Balances::lookup_address(address) ); } diff --git a/polkadot/runtime/wasm/Cargo.lock b/polkadot/runtime/wasm/Cargo.lock index 2288217721..e5c01eccb1 100644 --- a/polkadot/runtime/wasm/Cargo.lock +++ b/polkadot/runtime/wasm/Cargo.lock @@ -87,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?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -108,7 +108,7 @@ dependencies = [ [[package]] name = "environmental" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" [[package]] name = "ethbloom" @@ -391,11 +391,11 @@ version = "0.1.0" dependencies = [ "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)", + "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)", ] [[package]] @@ -405,23 +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?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] @@ -448,16 +448,16 @@ dependencies = [ [[package]] name = "pwasm-alloc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ - "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pwasm-libc" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" [[package]] name = "quote" @@ -622,7 +622,7 @@ 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?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -630,7 +630,7 @@ dependencies = [ [[package]] name = "substrate-codec-derive" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -640,9 +640,9 @@ dependencies = [ [[package]] name = "substrate-keyring" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -650,7 +650,7 @@ dependencies = [ [[package]] name = "substrate-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -664,9 +664,9 @@ dependencies = [ "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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "twox-hash 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "uint 0.4.1 (git+https://github.com/paritytech/parity-common)", @@ -676,276 +676,272 @@ dependencies = [ [[package]] name = "substrate-runtime-balances" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-consensus" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-council" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-democracy" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-executive" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-io" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" 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)", + "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", + "environmental 0.1.0 (git+https://github.com/paritytech/substrate)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)", "triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-runtime-primitives" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "integer-sqrt 0.1.0 (git+https://github.com/paritytech/integer-sqrt-rs.git)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-sandbox" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" 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)", - "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-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", "wasmi 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-runtime-session" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-staking" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-keyring 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-balances 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-std" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" 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)", + "pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate)", + "pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-runtime-support" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ - "ed25519 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "ed25519 0.1.0 (git+https://github.com/paritytech/substrate)", "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-system" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "hex-literal 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.75 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate?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-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-runtime-version" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "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)", + "substrate-codec 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-codec-derive 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)", + "substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)", ] [[package]] name = "substrate-state-machine" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot#f074c15cae617ed1734efda5308e4753d79d9006" +source = "git+https://github.com/paritytech/substrate#e6bf0c7d2b23b57f2821b31a1951903b68b64d27" dependencies = [ "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", "hashdb 0.2.1 (git+https://github.com/paritytech/parity-common)", @@ -956,7 +952,7 @@ dependencies = [ "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "patricia-trie 0.2.1 (git+https://github.com/paritytech/parity-common)", "rlp 0.2.2 (git+https://github.com/paritytech/parity-common)", - "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)", + "substrate-primitives 0.1.0 (git+https://github.com/paritytech/substrate)", "triehash 0.2.1 (git+https://github.com/paritytech/parity-common)", ] @@ -1110,9 +1106,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "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?branch=polkadot)" = "" +"checksum ed25519 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum elastic-array 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "88d4851b005ef16de812ea9acdb7bece2f0a40dd86c07b85631d7dafa54537bb" -"checksum environmental 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum environmental 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum ethbloom 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1a93a43ce2e9f09071449da36bfa7a1b20b950ee344b6904ff23de493b03b386" "checksum ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c48729b8aea8aedb12cf4cb2e5cef439fdfe2dda4a89e47eeebd15778ef53b6" "checksum ethereum-types 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "35b3c5a18bc5e73a32a110ac743ec04b02bbbcd3b71d3118d40a6113d509378a" @@ -1150,8 +1146,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum proc-macro-hack 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ba8d4f9257b85eb6cdf13f055cea3190520aab1409ca2ab43493ea4820c25f0" "checksum proc-macro-hack-impl 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d5cb6f960ad471404618e9817c0e5d10b1ae74cfdf01fab89ea0641fe7fb2892" "checksum proc-macro2 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)" = "295af93acfb1d5be29c16ca5b3f82d863836efd9cb0c14fd83811eb9a110e452" -"checksum pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" -"checksum pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate?branch=polkadot)" = "" +"checksum pwasm-alloc 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum pwasm-libc 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dd636425967c33af890042c483632d33fa7a18f19ad1d7ea72e8998c6ef8dea5" "checksum rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8356f47b32624fef5b3301c1be97e5944ecdd595409cc5da11d05f211db6cfbd" "checksum rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e464cd887e869cddcae8792a4ee31d23c7edd516700695608f5b98c67ee0131c" @@ -1172,26 +1168,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "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 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-balances 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-consensus 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-council 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-democracy 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-executive 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-io 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-primitives 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-sandbox 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-session 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-staking 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-std 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-support 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-system 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-timestamp 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-runtime-version 0.1.0 (git+https://github.com/paritytech/substrate)" = "" +"checksum substrate-state-machine 0.1.0 (git+https://github.com/paritytech/substrate)" = "" "checksum syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)" = "261ae9ecaa397c42b960649561949d69311f08eeaea86a65696e6e46517cf741" "checksum tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e9175261fbdb60781fcd388a4d6cc7e14764a2b629a7ad94abb439aed223a44f" "checksum triehash 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2033893a813c70e7d8a739ca6c36dc0a7a2c913ec718d7cbf84a3837bbe3c7ce" 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 b416119590..e77f73c018 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 aa8241e9a5..2e345e3222 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