mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 20:26:19 +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:
authored and
1 parent
56092fdda0
commit
332cfad83a
3 files changed
+160
-159
No files matched your search
Generated
+156
-158
File diff suppressed because it is too large.
Load diff
@@ -11678,5 +11678,8 @@
|
||||
},
|
||||
"childrenDefault": {}
|
||||
}
|
||||
},
|
||||
"codeSubstitutes": {
|
||||
"0x86aa36a140dfc449c30dbce16ce0fea33d5c3786766baa764e33f336841b9e29": "0x0061736d010000000184033660037f7f7f017f60027f7f017f60027f7f0060017f0060047f7f7f7f0060057f7f7f7f7f0060037f7f7f0060017f017e60027e7e0060037f7e7e0060027f7e017f60037f7e7f017f6000017f60027f7f017e60037f7f7e017e60000060017e017f60017f017f60017e0060017e017e60047f7e7e7e017f60027f7e017e6000017e60037e7e7f017e60027e7f017f60057f7f7f7f7f017f60047f7f7f7f017f60067f7f7f7f7f7f0060037e7f7f0060047f7f7f7e0060047f7f7e7e0060067f7f7f7e7e7f0060027e7f0060047e7f7f7f0060097f7f7f7f7f7f7f7f7e0060067f7f7f7f7e7e00600a7f7f7f7f7f7f7f7f7f7f0060097f7f7f7f7f7f7f7f7f0060077f7f7e7e7e7f7f0060027f7e0060077f7e7e7e7e7e7e0060047e7e7e7e017f60037e7f7f017f60047f7e7f7f0060047f7e7e7f0060057f7f7f7e7e0060057e7f7e7e7f0060077f7f7e7e7f7e7e0060067f7f7f7f7f7f017f60057f7f7e7e7f0060057f7f7f7e7e017f60057f7e7e7e7e017f60057f7e7e7f7f0060057f7e7e7e7e0002a70e2d03656e76066d656d6f727902001403656e76206578745f6f6666636861696e5f696e6465785f7365745f76657273696f6e5f31000803656e76196578745f6c6f6767696e675f6c6f675f76657273696f6e5f31000903656e76256578745f63727970746f5f656432353531395f67656e65726174655f76657273696f6e5f31000a03656e76236578745f63727970746f5f656432353531395f7665726966795f76657273696f6e5f31000b03656e76286578745f63727970746f5f66696e6973685f62617463685f7665726966795f76657273696f6e5f31000c03656e762c6578745f63727970746f5f736563703235366b315f65636473615f7265636f7665725f76657273696f6e5f31000d03656e76376578745f63727970746f5f736563703235366b315f65636473615f7265636f7665725f636f6d707265737365645f76657273696f6e5f31000d03656e76256578745f63727970746f5f737232353531395f67656e65726174655f76657273696f6e5f31000a03656e76286578745f63727970746f5f737232353531395f7075626c69635f6b6579735f76657273696f6e5f31000703656e76216578745f63727970746f5f737232353531395f7369676e5f76657273696f6e5f31000e03656e76236578745f63727970746f5f737232353531395f7665726966795f76657273696f6e5f32000b03656e76276578745f63727970746f5f73746172745f62617463685f7665726966795f76657273696f6e5f31000f03656e762a6578745f747269655f626c616b65325f3235365f6f7264657265645f726f6f745f76657273696f6e5f31001003656e761c6578745f616c6c6f6361746f725f667265655f76657273696f6e5f31000303656e761e6578745f616c6c6f6361746f725f6d616c6c6f635f76657273696f6e5f31001103656e76206578745f68617368696e675f626c616b65325f3132385f76657273696f6e5f31001003656e76206578745f68617368696e675f626c616b65325f3235365f76657273696f6e5f31001003656e76206578745f68617368696e675f6b656363616b5f3235365f76657273696f6e5f31001003656e761e6578745f68617368696e675f74776f785f3132385f76657273696f6e5f31001003656e761d6578745f68617368696e675f74776f785f36345f76657273696f6e5f31001003656e761c6578745f6d6973635f7072696e745f6865785f76657273696f6e5f31001203656e761c6578745f6d6973635f7072696e745f6e756d5f76657273696f6e5f31001203656e761d6578745f6d6973635f7072696e745f757466385f76657273696f6e5f31001203656e76226578745f6d6973635f72756e74696d655f76657273696f6e5f76657273696f6e5f31001303656e76236578745f6f6666636861696e5f69735f76616c696461746f725f76657273696f6e5f31000c03656e76346578745f6f6666636861696e5f6c6f63616c5f73746f726167655f636f6d706172655f616e645f7365745f76657273696f6e5f31001403656e76286578745f6f6666636861696e5f6c6f63616c5f73746f726167655f6765745f76657273696f6e5f31001503656e76286578745f6f6666636861696e5f6c6f63616c5f73746f726167655f7365745f76657273696f6e5f31000903656e76246578745f6f6666636861696e5f6e6574776f726b5f73746174655f76657273696f6e5f31001603656e76226578745f6f6666636861696e5f72616e646f6d5f736565645f76657273696f6e5f31000c03656e76296578745f6f6666636861696e5f7375626d69745f7472616e73616374696f6e5f76657273696f6e5f31001303656e761c6578745f73746f726167655f617070656e645f76657273696f6e5f31000803656e76226578745f73746f726167655f6368616e6765735f726f6f745f76657273696f6e5f31001303656e761b6578745f73746f726167655f636c6561725f76657273696f6e5f31001203656e76226578745f73746f726167655f636c6561725f7072656669785f76657273696f6e5f31001203656e76286578745f73746f726167655f636f6d6d69745f7472616e73616374696f6e5f76657273696f6e5f31000f03656e761c6578745f73746f726167655f6578697374735f76657273696f6e5f31001003656e76196578745f73746f726167655f6765745f76657273696f6e5f31001303656e761e6578745f73746f726167655f6e6578745f6b65795f76657273696f6e5f31001303656e761a6578745f73746f726167655f726561645f76657273696f6e5f31001703656e762a6578745f73746f726167655f726f6c6c6261636b5f7472616e73616374696f6e5f76657273696f6e5f31000f03656e761a6578745f73746f726167655f726f6f745f76657273696f6e5f31001603656e76196578745f73746f726167655f7365745f76657273696f6e5f31000803656e76276578745f73746f726167655f73746172745f7472616e73616374696f6e5f76657273696f6e5f31000f03c408c20811110303000011110f0f0f0f0f060602060005000101020102020201180307191a06000501010111110106061b01010101060101000101000101001c00010102011106060202020206060206060606060204010203060604051d05010101020201060201010206020602030602060606060606060602060d0202020202020202020202020602040202020202020206060302010202060202020202020202020202020202020f02020f02020202020202020202020203030202020202020202020202020202030204020202020102061e061e030202060203030203020202020Line truncated
|
||||
}
|
||||
}
|
||||
@@ -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