From 37758491bdf44698e51b8fa5a7f7f40fecb3bfc4 Mon Sep 17 00:00:00 2001 From: Agusrodri Date: Thu, 29 Aug 2024 16:24:48 -0700 Subject: [PATCH] fix zombie tests --- test/suites/para/test_tanssi_containers.ts | 2 +- test/suites/parathreads/test_tanssi_parathreads.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/suites/para/test_tanssi_containers.ts b/test/suites/para/test_tanssi_containers.ts index 505eb11f4..184feae22 100644 --- a/test/suites/para/test_tanssi_containers.ts +++ b/test/suites/para/test_tanssi_containers.ts @@ -241,7 +241,7 @@ describeSuite({ const chainSpec2002 = JSON.parse(spec2002); const containerChainGenesisData = chainSpecToContainerChainGenesisData(paraApi, chainSpec2002); - const tx1 = paraApi.tx.registrar.register(2002, containerChainGenesisData); + const tx1 = paraApi.tx.registrar.register(2002, containerChainGenesisData, null); const purchasedCredits = 100000n; const requiredBalance = purchasedCredits * 1_000_000n; const tx2 = paraApi.tx.servicesPayment.purchaseCredits(2002, requiredBalance); diff --git a/test/suites/parathreads/test_tanssi_parathreads.ts b/test/suites/parathreads/test_tanssi_parathreads.ts index bc5b4ea8e..a9a133750 100644 --- a/test/suites/parathreads/test_tanssi_parathreads.ts +++ b/test/suites/parathreads/test_tanssi_parathreads.ts @@ -466,7 +466,7 @@ function createCollatorKeyToNameMap(paraApi, collatorNames: string[]): Record