mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
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:
parent
cdf438d6db
commit
201ebbe34a
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue