• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ExWeb3 / elixir_ethers / c590e562228927da72f06e80bdd6b220ec4f4a02
92%

Build:
DEFAULT BRANCH: main
Ran 16 Nov 2026 01:29AM UTC
Jobs 1
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Nov 2026 01:29AM UTC coverage: 91.935% (+0.08%) from 91.853%
c590e562228927da72f06e80bdd6b220ec4f4a02

push

github

web-flow
Check transaction gas limits against the EIP-7825 cap (#307)

EIP-7825 (Fusaka) caps the gas limit of a single transaction at
16,777,216. Gas auto-fill applied its margin without any bound, so an
estimate above ~15.25M produced a transaction mainnet rejects.

Without configuration, a gas limit above the EIP-7825 cap now logs a
warning and nothing else changes, since L2s and other EVM chains use
other caps or none. A cap set with `config :ethers, max_transaction_gas`
or the per-call `:max_transaction_gas` option (which takes precedence)
is enforced: the auto-filled margin is clamped to it and a gas limit
above it returns `{:error, :gas_limit_exceeds_cap}`. `false` disables
the check and the warning.

The check covers transactions prepared by `send_transaction/2`,
`sign_transaction/2`, `deploy/2` and batched `:send_transaction`
requests (signer path and explicit gas sent with eth_sendTransaction),
and the auto-fill of `Ethers.Utils.maybe_add_gas_limit/2`. Simulations
(`call/2`, `estimate_gas/2`, `create_access_list/2`) are not affected.

Also fix the stale `mult` option doc of `maybe_add_gas_limit/2`.


Claude-Session: https://claude.ai/code/session_012hqvX8DbbP3mgXy5hVEDc6

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

40 of 40 new or added lines in 3 files covered. (100.0%)

1995 of 2170 relevant lines covered (91.94%)

77.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 c590e562228927da72f06e80bdd6b220ec4f4a02.1 16 Nov 2026 01:29AM UTC 44
91.94
GitHub Action Run
Source Files on build c590e562228927da72f06e80bdd6b220ec4f4a02
  • Tree
  • List 44
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c590e562 on github
  • Prev Build on main (#E4C6B2E4...)
  • Next Build on main (#19BB78C7...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc