mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
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: André Silva <andrerfosilva@gmail.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user