From 70d90627a8ea49c93f0325326a034f02e3cefcc1 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Tue, 10 Dec 2024 18:56:23 +0000 Subject: [PATCH] test(smoke): use parachain connection when fetching the runtime name --- test/suites/smoke/test-dynamic-fees.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/suites/smoke/test-dynamic-fees.ts b/test/suites/smoke/test-dynamic-fees.ts index 0494975e4b..366cbd469a 100644 --- a/test/suites/smoke/test-dynamic-fees.ts +++ b/test/suites/smoke/test-dynamic-fees.ts @@ -304,7 +304,8 @@ describeSuite({ log("Skipping test suite due to runtime version"); return; } - const weightFee = ConstantStore(context).WEIGHT_FEE.get(specVersion.toNumber()); + const runtime = paraApi.runtimeChain.toUpperCase(); + const weightFee = RUNTIME_CONSTANTS[runtime].WEIGHT_FEE.get(specVersion.toNumber()); const failures = blockData .map(({ blockNum, nextFeeMultiplier, baseFeePerGasInGwei }) => {