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

lmittmann / w3 / 8493355636
64%

Build:
DEFAULT BRANCH: main
Ran 30 Mar 2024 09:01PM UTC
Jobs 1
Files 43
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 Mar 2024 09:01PM UTC coverage: 74.753% (-0.03%) from 74.781%
8493355636

push

github

web-flow
Changed `WithRateLimiter` `costFunc`-arg to include the methods of all calls (#122)

* When rate limiting, include cost of batch request itself too.

This allows the cost func to provide a cost for the batch itself in
batch requests. Some providers (Infura) include this as part of their
rate limiting.

Ref: https://docs.infura.io/api/networks/ethereum/how-to/make-batch-requests

* In WithRateLimiter, change costFunc signature to receive all batch methods at once.

* simplified costFunc-example and fixed comment

* small cleanup

---------

Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>

0 of 5 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

1966 of 2630 relevant lines covered (74.75%)

1347.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
62.62
-0.59% client.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
62.62
-0.59% client.go
Jobs
ID Job ID Ran Files Coverage
1 8493355636.1 30 Mar 2024 09:01PM UTC 43
74.75
GitHub Action Run
Source Files on build 8493355636
  • Tree
  • List 43
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e60a0e84 on github
  • Prev Build on main (#8493296509)
  • Next Build on main (#8498343304)
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

© 2025 Coveralls, Inc