diff --git a/polkadot/api/src/full.rs b/polkadot/api/src/full.rs index 131a780bef..7f340b53b6 100644 --- a/polkadot/api/src/full.rs +++ b/polkadot/api/src/full.rs @@ -200,7 +200,7 @@ mod tests { timestamp: Some(Default::default()), }; - ::client::new_in_mem(LocalDispatch::new(), genesis_config).unwrap() + ::client::new_in_mem(LocalDispatch::with_heap_pages(8), genesis_config).unwrap() } #[test] diff --git a/polkadot/consensus/src/service.rs b/polkadot/consensus/src/service.rs index 0145164fea..c577a98e96 100644 --- a/polkadot/consensus/src/service.rs +++ b/polkadot/consensus/src/service.rs @@ -56,6 +56,7 @@ fn start_bft( C: bft::BlockImport + bft::Authorities + 'static, F::Error: ::std::fmt::Debug, >::Error: ::std::fmt::Display + Into, + >::Error: ::std::fmt::Display { let mut handle = LocalThreadHandle::current(); match bft_service.build_upon(&header) { @@ -63,7 +64,7 @@ fn start_bft( debug!(target: "bft", "Couldn't initialize BFT agreement: {:?}", e); }, Ok(None) => {}, - Err(e) => debug!(target: "bft", "BFT agreement error: {:?}", e), + Err(e) => warn!(target: "bft", "BFT agreement error: {}", e), } } diff --git a/polkadot/runtime/wasm/genesis.wasm b/polkadot/runtime/wasm/genesis.wasm deleted file mode 100644 index 52a44fb882..0000000000 Binary files a/polkadot/runtime/wasm/genesis.wasm and /dev/null differ 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 52a44fb882..f86af93423 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 11c3609bc8..f56523de59 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 fec7916101..fe2bcb71bb 100644 --- a/polkadot/service/src/chain_spec.rs +++ b/polkadot/service/src/chain_spec.rs @@ -38,7 +38,7 @@ fn staging_testnet_config_genesis() -> GenesisConfig { ]; GenesisConfig { consensus: Some(ConsensusConfig { - code: include_bytes!("../../runtime/wasm/genesis.wasm").to_vec(), // TODO change + code: include_bytes!("../../runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm").to_vec(), // TODO change authorities: initial_authorities.clone(), }), system: None,