diff --git a/tests/polkadotjs_test/test/node_runtime.compact.wasm b/tests/polkadotjs_test/test/node_runtime.compact.wasm new file mode 100644 index 0000000000..1e9ebe1b03 Binary files /dev/null and b/tests/polkadotjs_test/test/node_runtime.compact.wasm differ diff --git a/tests/polkadotjs_test/test/test-polkadot.js b/tests/polkadotjs_test/test/test-polkadot.js index 84273dfdaf..3e5ea8abef 100644 --- a/tests/polkadotjs_test/test/test-polkadot.js +++ b/tests/polkadotjs_test/test/test-polkadot.js @@ -73,7 +73,7 @@ describe('Testing polkadot.js/api calls:', function () { const aliceKey = keyring.addFromUri('//Alice'); // Retrieve the runtime to upgrade - const code = fs.readFileSync('./node_runtime_2.compact.wasm').toString('hex'); + const code = fs.readFileSync('./node_runtime.compact.wasm').toString('hex'); const proposal = api.tx.system && api.tx.system.setCode ? api.tx.system.setCode(`0x${code}`) // For newer versions of Substrate : api.tx.consensus.setCode(`0x${code}`); // For previous versions