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.
This commit is contained in:
Gonza Montiel 2026-03-16 13:39:46 +01:00
parent cdf438d6db
commit 201ebbe34a

View file

@ -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);
}
});