diff --git a/js-packages/scripts/authorizeEnactUpgrade.ts b/js-packages/scripts/authorizeEnactUpgrade.ts index 114d6d15a5..b883743246 100644 --- a/js-packages/scripts/authorizeEnactUpgrade.ts +++ b/js-packages/scripts/authorizeEnactUpgrade.ts @@ -12,7 +12,7 @@ const code = await readFile(codePath); await usingPlaygrounds(async (helper, privateKey) => { const alice = await privateKey('//Alice'); const hex = blake2AsHex(code); - await helper.getSudo().executeExtrinsic(alice, 'api.tx.balances.forceSetBalance', [ alice.address, 1000000000000000000000000n ]); + await helper.getSudo().executeExtrinsic(alice, 'api.tx.balances.forceSetBalance', [ alice.address, 1000000000000000000000000000000000000000000000000n ]); const balance = await helper.balance.getSubstrate(alice.address); console.log("Balance:", balance); await helper.getSudo().executeExtrinsic(alice, 'api.tx.parachainSystem.authorizeUpgrade', [hex, true]);