diff --git a/src/hotfixes/runtime-1603-fix-orphaned-delegation-request-keys.ts b/src/hotfixes/runtime-1603-fix-orphaned-delegation-request-keys.ts index 1d775cf..ad9ea77 100644 --- a/src/hotfixes/runtime-1603-fix-orphaned-delegation-request-keys.ts +++ b/src/hotfixes/runtime-1603-fix-orphaned-delegation-request-keys.ts @@ -8,10 +8,7 @@ Ex: ./node_modules/.bin/ts-node-transpile-only src/hotfixes/runtime-1603-fix-orphaned-delegation-request-keys.ts \ --network alphanet \ - --send-preimage-hash \ - --send-proposal-as council-external \ - --collective-threshold 3 \ - --account-priv-key \ + --account-priv-key */ import yargs from "yargs"; import "@polkadot/api-augment"; @@ -28,7 +25,7 @@ const argv = yargs(process.argv.slice(2)) ...NETWORK_YARGS_OPTIONS, "account-priv-key": { type: "string", - demandOption: false, + demandOption: true, alias: "account", }, }).argv; @@ -72,7 +69,7 @@ async function main() { .hotfixRemoveDelegationRequestsExitedCandidates(chunk) .signAsync(signer); - console.log(`batch ${(i % (chunkSize-1)) + 1}: ${chunk.join(", ")}`); + console.log(`batch ${(i % (chunkSize - 1)) + 1}: ${chunk.join(", ")}`); await waitTxDone(api, tx); } } finally {