Unverified Commit a3e5d6b3 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Introduce polkadot code substitute (#3093)



* Introduce polkadot code substitute

This introduces a code substitute for the on-chain wasm of Polkadot from
block
`0x86aa36a140dfc449c30dbce16ce0fea33d5c3786766baa764e33f336841b9e29`
on wards. The underlying problem was that there exists some
miscompilation by the rust compiler in the wasm runtime that results in
state mismatches between the native/wasm runtime of the
the 0.8.30 release. This resulted in blocks being authored by the native
runtime not being importable by nodes using the wasm runtime. The
on-chain wasm is replaced by a wasm build from the 0.8.30 using the
rustc nightly from 1.03.2021.

* update the wasm substitute blob

* update Substrate

Co-authored-by: default avatarAndré Silva <andrerfosilva@gmail.com>
Co-authored-by: parity-processbot <>
parent 644d50a1
Pipeline #139265 passed with stages
in 29 minutes and 50 seconds
This diff is collapsed.
This diff is collapsed.
......@@ -33,7 +33,7 @@ pub use polkadot_test_service::{
pub use polkadot_test_runtime as runtime;
/// Test client executor.
pub type Executor = client::LocalCallExecutor<FullBackend, sc_executor::NativeExecutor<PolkadotTestExecutor>>;
pub type Executor = client::LocalCallExecutor<Block, FullBackend, sc_executor::NativeExecutor<PolkadotTestExecutor>>;
/// Test client builder for Polkadot.
pub type TestClientBuilder = substrate_test_client::TestClientBuilder<Block, Executor, FullBackend, GenesisParameters>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment