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

ExWeb3 / elixir_ethers / 968481c35b75f0dbe60db057ff1e827abec3de29
88%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2026 09:42PM UTC
Jobs 1
Files 33
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

17 Jul 2026 09:40PM UTC coverage: 88.248% (+1.1%) from 87.197%
968481c35b75f0dbe60db057ff1e827abec3de29

push

github

web-flow
Add EIP-712 Typed Data Support (#264)

* Bare minimum EIP-712 definition

* Add EIP712 Schema

* Address PR review: harden typed-data signing/recovery contracts

- Ethers.sign_typed_data/2: return {:error, :not_supported} instead of
  crashing with UndefinedFunctionError when the resolved signer does not
  implement the optional sign_typed_data/2 callback (scoped rescue; other
  UndefinedFunctionErrors are re-raised).
- Signer.JsonRPC.sign_typed_data/2: return {:error, :missing_from_address}
  instead of raising KeyError when :from is absent, honoring the callback's
  {:ok, _} | {:error, _} contract.
- TypedData.recover_signer/2: return {:error, :invalid_signature} on
  malformed input (bad length/hex) instead of raising, matching the
  documented return and making valid_signature?/3 robust; also accept v as
  raw parity (0/1) in addition to 27/28 for wider signer interoperability.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

226 of 243 new or added lines in 8 files covered. (93.0%)

1269 of 1438 relevant lines covered (88.25%)

41.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
90.82
lib/ethers/typed_data.ex
5
91.23
lib/ethers/typed_data/schema.ex
1
95.48
0.28% lib/ethers.ex
1
98.18
lib/ethers/typed_data/encoder.ex
1
75.0
lib/ethers/typed_data/field.ex
Jobs
ID Job ID Ran Files Coverage
1 968481c35b75f0dbe60db057ff1e827abec3de29.1 17 Jul 2026 09:42PM UTC 33
88.25
GitHub Action Run
Source Files on build 968481c35b75f0dbe60db057ff1e827abec3de29
  • Tree
  • List 33
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 968481c3 on github
  • Prev Build on main (#7E239EF3...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc