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

ExWeb3 / elixir_ethers / 8dedc0d77d47107524951aea15d307145eacecdb
90%

Build:
DEFAULT BRANCH: main
Ran 19 Jul 2026 05:25AM UTC
Jobs 1
Files 35
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

19 Jul 2026 05:24AM UTC coverage: 88.838% (+0.3%) from 88.558%
8dedc0d77d47107524951aea15d307145eacecdb

push

github

web-flow
Add universal signature verification (ERC-1271 + ERC-6492) (#266)

* Add universal signature verification (ERC-1271 + ERC-6492)

Add Ethers.Signature with verify_hash/4, verify_message/4 and
verify_typed_data/4, verifying any signature kind against an address:

- Plain EOA ECDSA signatures verify locally via ecrecover with no RPC
  round-trip (fast path).
- ERC-1271 smart-contract wallet signatures and ERC-6492-wrapped
  signatures from counterfactual (not-yet-deployed) wallets verify with
  a single deployless eth_call executing the ERC-6492
  UniversalSigValidator reference contract (bytecode vendored from
  viem / Ambire signature-validator, shipped as a constant in
  Ethers.Contracts.UniversalSigValidator — nothing is deployed).

Invalid signatures return {:ok, false}; {:error, reason} is reserved for
malformed input and RPC transport failures, so there are deliberately no
bang variants.

Tested against anvil with a minimal ERC-1271 wallet fixture and a
CREATE2 factory fixture covering deployed-wallet and counterfactual
(ERC-6492) verification, plus EOA fast-path tests proving no RPC usage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Tighten UniversalSigValidator specs for dialyzer underspecs flag

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Update lib/ethers/signature.ex

* Use a variable for recovered address instead of piping into ==

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

37 of 37 new or added lines in 1 file covered. (100.0%)

1345 of 1514 relevant lines covered (88.84%)

43.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8dedc0d77d47107524951aea15d307145eacecdb.1 19 Jul 2026 05:25AM UTC 35
88.84
GitHub Action Run
Source Files on build 8dedc0d77d47107524951aea15d307145eacecdb
  • Tree
  • List 35
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8dedc0d7 on github
  • Prev Build on main (#271C39D0...)
  • Next Build on main (#FD269F6C...)
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