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

ExWeb3 / elixir_ethers / 2c9e29a521386fbcf0d234f9763de759c050f890-PR-222
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: feat/get-contract-events
DEFAULT BRANCH: main
Ran 19 Jul 2026 06:21AM UTC
Jobs 1
Files 38
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 06:19AM UTC coverage: 90.132% (+0.1%) from 90.029%
2c9e29a521386fbcf0d234f9763de759c050f890-PR-222

Pull #222

github

alisinabh
Add combined event filters for fetching multiple events in one request

Introduce Ethers.CombinedEventFilter, created via Ethers.EventFilter.combine/1
or the generated EventFilters.all/0 function of contract modules. The combined
topic_0 values are sent as an OR-ed list so filtering happens server side, and
fetched logs are decoded with their matching event selector. Works with both
Ethers.get_logs/2 and Ethers.batch/2.

Combining validates that all filters use wildcard indexed arguments and have
no conflicting default addresses (eth_getLogs accepts a single address).

Also normalize from_block/to_block keys to fromBlock/toBlock in get_logs
pre-processing, fixing batched get_logs requests with block ranges which
bypassed Ethereumex's key normalization.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #222: Add a way to fetch all contract events

46 of 48 new or added lines in 4 files covered. (95.83%)

1 existing line in 1 file now uncovered.

1571 of 1743 relevant lines covered (90.13%)

48.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
94.74
lib/ethers/combined_event_filter.ex

Coverage Regressions

Lines Coverage ∆ File
1
80.0
-20.0% lib/ethers/rpc_client/ethereumex_http_client.ex
Jobs
ID Job ID Ran Files Coverage
1 2c9e29a521386fbcf0d234f9763de759c050f890-PR-222.1 19 Jul 2026 06:21AM UTC 38
90.13
GitHub Action Run
Source Files on build 2c9e29a521386fbcf0d234f9763de759c050f890-PR-222
  • Tree
  • List 38
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #222
  • PR Base - main (#997D9A57...)
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