From e381fcd75544de3323fcd0c1342720e5ca68dbd5 Mon Sep 17 00:00:00 2001 From: girazoki Date: Thu, 7 Sep 2023 15:21:38 +0200 Subject: [PATCH 1/2] fix zombie upgrade test --- test/scripts/modify-plain-specs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/modify-plain-specs.ts b/test/scripts/modify-plain-specs.ts index bfe3d95ed..e2cbb78ca 100644 --- a/test/scripts/modify-plain-specs.ts +++ b/test/scripts/modify-plain-specs.ts @@ -30,7 +30,7 @@ yargs(hideBin(process.argv)) plainSpec.bootNodes = []; // TODO: change to invulnerables once we upgrade to 200 - plainSpec.genesis.runtime.collatorSelection.invulnerables = [ALICE_ADDRESS]; + plainSpec.genesis.runtime.invulnerables.invulnerables = [ALICE_ADDRESS]; process.stdout.write(`Writing to: ${argv.outputPath} ...`); await fs.writeFile(argv.outputPath!, convertExponentials(JSONbig.stringify(plainSpec, null, 3))); From 9f9c0607aed0e4dd8f05244a1f1b63f767aa2f1e Mon Sep 17 00:00:00 2001 From: girazoki Date: Fri, 8 Sep 2023 11:20:23 +0200 Subject: [PATCH 2/2] remove todo --- test/scripts/modify-plain-specs.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/test/scripts/modify-plain-specs.ts b/test/scripts/modify-plain-specs.ts index e2cbb78ca..db6d48d71 100644 --- a/test/scripts/modify-plain-specs.ts +++ b/test/scripts/modify-plain-specs.ts @@ -29,7 +29,6 @@ yargs(hideBin(process.argv)) process.stdout.write(`Done ✅\n`); plainSpec.bootNodes = []; - // TODO: change to invulnerables once we upgrade to 200 plainSpec.genesis.runtime.invulnerables.invulnerables = [ALICE_ADDRESS]; process.stdout.write(`Writing to: ${argv.outputPath} ...`);