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

ExWeb3 / elixir_ethers / 9a0c88c188d975119441dac6dc218fdf24b9ea5d
92%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 08:40PM UTC
Jobs 1
Files 43
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

15 Nov 2026 08:39PM UTC coverage: 90.944% (+0.07%) from 90.87%
9a0c88c188d975119441dac6dc218fdf24b9ea5d

push

github

web-flow
Add `eth_config` (EIP-7910) support (#295)

* Add `eth_config` (EIP-7910) support

Add `Ethers.config/1` and `Ethers.config!/1` returning the node's current,
next and last fork configuration, decoded to maps with snake_case atom keys
(chain id to an integer, fork id kept as its canonical 4-byte hex string,
precompile and system contract addresses checksummed, null next/last to nil,
unknown members ignored).

The RPC call goes through a new optional `eth_config/1` adapter callback
(`{:error, :not_supported}` for adapters without it), implemented in
`Ethers.RpcClient.EthereumexHttpClient` with Ethereumex's generic request.
Also usable in `Ethers.batch/2` as `:config`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Return `eth_config` fork configurations as `Ethers.ForkConfig` structs

Each of `current`, `next` and `last` returned by `Ethers.config/1` (and
batch `:config`) is now an `%Ethers.ForkConfig{}` struct instead of a
plain map. The decoding moves into `Ethers.ForkConfig` and stays the same.
The per-field documentation moves to `t:Ethers.ForkConfig.t/0`, and the
`config/1` and `config!/1` specs are tightened to the returned shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Add `eth_config` changelog entry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012hqvX8DbbP3mgXy5hVEDc6

* Cover omitted `blobSchedule` and `chainId` in `eth_config` decoding test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012hqvX8DbbP3mgXy5hVEDc6

---------

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

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

1898 of 2087 relevant lines covered (90.94%)

67.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9a0c88c188d975119441dac6dc218fdf24b9ea5d.1 15 Nov 2026 08:40PM UTC 43
90.94
GitHub Action Run
Source Files on build 9a0c88c188d975119441dac6dc218fdf24b9ea5d
  • Tree
  • List 43
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9a0c88c1 on github
  • Prev Build on main (#ED9C85E9...)
  • Next Build on main (#96B7156B...)
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