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

ExWeb3 / elixir_ethers / 2e01bb08f22c2cf97e918c5b34fb72b2ac7733da
90%

Build:
DEFAULT BRANCH: main
Ran 30 Jul 2026 03:34AM UTC
Jobs 1
Files 42
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

30 Jul 2026 03:32AM UTC coverage: 90.347% (+0.2%) from 90.174%
2e01bb08f22c2cf97e918c5b34fb72b2ac7733da

push

github

web-flow
Add `eth_call` state overrides and `eth_createAccessList` support (#271)

* Add eth_call state overrides and eth_createAccessList support

- New :state_overrides option on Ethers.call/2 and Ethers.estimate_gas/2 to
  simulate against modified chain state (balances, nonces, code, storage slots)
- New Ethers.StateOverride module validating and encoding override sets into
  their JSON-RPC representation
- New Ethers.create_access_list/2 (+ bang variant) wrapping eth_createAccessList,
  returning the access list in the format transaction overrides accept so it can
  be fed straight back into send_transaction
- New optional RPC adapter callbacks (eth_call/4, eth_estimate_gas/4,
  eth_create_access_list/3) - custom adapters remain backwards compatible and
  get {:error, :state_overrides_not_supported} / {:error, :not_supported} when
  they do not implement them

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pKYp3j1ew76CY7HA2nBTF

* Accept exactly one representation per state override input

Never dispatch on a 0x prefix to tell hex strings from raw binaries - a valid
raw binary can itself start with the bytes "0x". Each field now accepts a
single representation, following the library convention of native types:

- addresses: hex strings only (no raw 20-byte binaries)
- balance/nonce: non-negative integers only (no hex strings)
- code: raw binary only, always hex encoded for the RPC (no hex strings)
- storage slots/values: non-negative integers or raw 32-byte binaries
  (no hex strings)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pKYp3j1ew76CY7HA2nBTF

* Support batching any adapter RPC method, including eth_createAccessList

The adapter delegated batch_request to Ethereumex.HttpClient.batch_request/2,
which dispatches batch entries to named functions on Ethereumex.HttpClient -
so methods Ethereumex does not implement (like eth_createAcces... (continued)

75 of 78 new or added lines in 3 files covered. (96.15%)

1825 of 2020 relevant lines covered (90.35%)

50.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.37
0.09% lib/ethers.ex
1
84.62
4.62% lib/ethers/rpc_client/ethereumex_http_client.ex
Jobs
ID Job ID Ran Files Coverage
1 2e01bb08f22c2cf97e918c5b34fb72b2ac7733da.1 30 Jul 2026 03:34AM UTC 42
90.35
GitHub Action Run
Source Files on build 2e01bb08f22c2cf97e918c5b34fb72b2ac7733da
  • Tree
  • List 42
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2e01bb08 on github
  • Prev Build on main (#F2E8D029...)
  • Next Build on main (#28049264...)
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