fix: use the gas limit a site sends as gas (closes #207) #543

Merged
clawbot merged 1 commits from issue-207-site-gas-limit into next 2026-10-14 13:48:52 +02:00
1 Commits
Author SHA1 Message Date
sneak 4bad27e219 fix: use the gas limit a site sends as gas (closes #207)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
Sites send the gas limit under its JSON-RPC name, `gas`. ethers only
reads `gasLimit`, so the field was dropped and the node's estimate was
shown and signed instead. The page's request now takes `gas` as the gas
limit, and the existing ceiling, display and comparison with the signed
transaction cover it as they already did `gasLimit`. A request that
gives both with different values is refused.

Model: opus-5-5
2026-10-14 08:57:35 +00:00