From 201ebbe34aa5566dc10537bb29a6082264794c54 Mon Sep 17 00:00:00 2001 From: Gonza Montiel Date: Mon, 16 Mar 2026 13:39:46 +0100 Subject: [PATCH] fix(tests): update gas estimation expectations after PoV base cost eth_estimateGas now applies proof_size_base_cost and a proof-size cap, so the runner reserves PoV for the extrinsic and limits execution to the remaining budget. Estimates can be lower than before because they are now bounded by this PoV limit instead of unbounded; update moonwall expectations (contract creation and Incrementor create) to the new values. --- .../suites/dev/stagenet/gas/test-gas-estimation-contracts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/moonwall/suites/dev/stagenet/gas/test-gas-estimation-contracts.ts b/test/moonwall/suites/dev/stagenet/gas/test-gas-estimation-contracts.ts index 2fb5f28e..fd613ebc 100644 --- a/test/moonwall/suites/dev/stagenet/gas/test-gas-estimation-contracts.ts +++ b/test/moonwall/suites/dev/stagenet/gas/test-gas-estimation-contracts.ts @@ -40,13 +40,13 @@ describeSuite({ data: bytecode, gasPrice: 0n }); - expect(result).to.equal(255341n); + expect(result).to.equal(172902n); const result2 = await context.viem().estimateGas({ account: ALITH_ADDRESS, data: bytecode }); - expect(result2).to.equal(255341n); + expect(result2).to.equal(172902n); } });