Skip to content

Commit

Permalink
Add wasm file.
Browse files Browse the repository at this point in the history
  • Loading branch information
arijitAD committed Jun 21, 2021
1 parent 0aa4c84 commit 306f954
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/polkadotjs_test/test/test-polkadot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 306f954

Please sign in to comment.