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

ExWeb3 / elixir_ethers / 06a45ff6f28dbb0860b016bb65ea1ca7a1b65edc
92%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 08:21PM 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

15 Nov 2026 08:20PM UTC coverage: 90.523% (+0.1%) from 90.396%
06a45ff6f28dbb0860b016bb65ea1ca7a1b65edc

push

github

web-flow
Fix access lists, signed transactions and authorizations in Transaction RPC maps (#299)

* Fix access lists and signed transactions in Transaction RPC maps

- `from_rpc_map/1` decodes `accessList` entries and `blobVersionedHashes`
  into the internal binary representation, so a transaction fetched with
  `Ethers.get_transaction/2` re-encodes and hashes back to its own hash
  (#281).
- `to_rpc_map/1` emits access list entries as `{address, storageKeys}`
  objects as the JSON-RPC spec requires. Geth rejects the previous array
  form on every path that sends transaction params as JSON, including
  gas estimation for locally signed transactions (#282).
- `to_rpc_map/1` serialises `%Signed{}` transactions as the payload's map
  plus `r`, `s` (quantities), `yParity` and `v` (only `v` for legacy) and
  any block metadata, so `from_rpc_map/1` reads them back, and raises an
  `ArgumentError` naming the field and value for unsupported values
  instead of a `FunctionClauseError` (#287).

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

* Encode EIP-7702 authorization r and s as JSON-RPC quantities

`to_rpc_map/1` emitted authorization `r`/`s` as DATA, keeping leading zero
bytes and nibbles. The JSON-RPC spec types them as uint256 quantities
(geth decodes them with `hexutil.U256`, which rejects leading zeros), so
encode them with the same quantity helper as the transaction signature.

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

* Await the batched send in the batch/2 test

"batch/2 Can batch multiple requests" sends a node-signed transaction from
the shared test account inside `Ethers.batch/2` and never waited for it.
A following test that signs locally from the same account reads the
"latest" nonce before anvil mines that transaction, reuses its nonce, and
anvil rejects or drops it ("nonce too low", "replacement transaction
underpriced", or a transaction that is never mi... (continued)

46 of 47 new or added lines in 1 file covered. (97.87%)

1853 of 2047 relevant lines covered (90.52%)

54.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.04
1.33% lib/ethers/transaction.ex
Jobs
ID Job ID Ran Files Coverage
1 06a45ff6f28dbb0860b016bb65ea1ca7a1b65edc.1 15 Nov 2026 08:21PM UTC 42
90.52
GitHub Action Run
Source Files on build 06a45ff6f28dbb0860b016bb65ea1ca7a1b65edc
  • Tree
  • List 42
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 06a45ff6 on github
  • Prev Build on main (#0A2BFAB1...)
  • Next Build on main (#730F5C54...)
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