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

ExWeb3 / elixir_ethers / 0d8f8c072205542d31910925b58d9bb60b62c3ca-PR-270
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: dependabot/hex/req-0.7.4
DEFAULT BRANCH: main
Ran 29 Jul 2026 09:03PM UTC
Jobs 1
Files 38
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

29 Jul 2026 08:54PM UTC coverage: 90.117% (+0.09%) from 90.028%
0d8f8c072205542d31910925b58d9bb60b62c3ca-PR-270

Pull #270

github

alisinabh
Add eth_feeHistory based fee estimation

- New Ethers.fee_history/4 (+ bang variant) wrapping eth_feeHistory with all
  quantities decoded to integers; also usable in Ethers.batch/2 via
  {:fee_history, [block_count, newest_block, reward_percentiles]}
- New Ethers.estimate_fees/1 (+ bang variant): estimates EIP-1559 fees from the
  median of recent blocks' priority fees sampled at a percentile selected by
  :speed (:slow/:standard/:fast or a raw percentile), with
  max_fee_per_gas = 2 * next_base_fee + max_priority_fee_per_gas
- Transaction auto-fill now prices missing max_fee_per_gas /
  max_priority_fee_per_gas through estimate_fees instead of a margin over
  eth_gasPrice, falling back to the legacy estimation on RPC clients without
  eth_feeHistory support (the new adapter callback is optional)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pKYp3j1ew76CY7HA2nBTF
Pull Request #270: Add `eth_feeHistory` based fee estimation

45 of 48 new or added lines in 2 files covered. (93.75%)

11 existing lines in 1 file now uncovered.

1623 of 1801 relevant lines covered (90.12%)

50.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.04
-0.42% lib/ethers.ex

Coverage Regressions

Lines Coverage ∆ File
11
95.04
-0.42% lib/ethers.ex
Jobs
ID Job ID Ran Files Coverage
1 0d8f8c072205542d31910925b58d9bb60b62c3ca-PR-270.1 29 Jul 2026 09:03PM UTC 38
90.12
GitHub Action Run
Source Files on build 0d8f8c072205542d31910925b58d9bb60b62c3ca-PR-270
  • Tree
  • List 38
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #270
  • PR Base - main (#FD832C5D...)
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