From 47a36bac23b6ec4c6e766b9572cf1b4b0a0b9e00 Mon Sep 17 00:00:00 2001 From: crystalin Date: Thu, 28 Nov 2024 11:30:01 +0100 Subject: [PATCH] fix dev tests --- .../dev/moonbase/test-fees/test-fee-multiplier-genesis.ts | 2 +- test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts | 2 +- test/suites/dev/moonbase/test-fees/test-fee-multiplier-min.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-genesis.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-genesis.ts index 49e4940ff7..09ed7b4299 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-genesis.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-genesis.ts @@ -16,7 +16,7 @@ describeSuite({ expect(initialValue).to.equal(8_000_000_000_000_000_000n); const gasPrice = await context.viem().getGasPrice(); - expect(gasPrice).to.eq(10_000_000_000n); + expect(gasPrice).to.eq(2_500_000_000n); // min gas price }, }); }, diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts index ef59791d3e..5ce6f66919 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts @@ -143,7 +143,7 @@ describeSuite({ blockNumber = (await context.polkadotJs().rpc.chain.getHeader()).number.toBigInt(); baseFeePerGas = (await context.viem().getBlock({ blockNumber: blockNumber })) .baseFeePerGas!; - expect(baseFeePerGas).to.equal(124_827_007_821_127n); + expect(baseFeePerGas).to.equal(31_206_751_955_281n); const rawSigned = await createEthersTransaction(context, { to: contractAddress, diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-min.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-min.ts index c05e76cec9..17d3c8eb64 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-min.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-min.ts @@ -51,7 +51,7 @@ describeSuite({ expect(multiplier).to.equal(100_000_000_000_000_000n); const gasPrice = await context.viem().getGasPrice(); - expect(gasPrice).to.eq(125_000_000n); + expect(gasPrice).to.eq(31_250_000n); }, }); },