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

safe-global / safe-eth-py / 35707274319
94%

Build:
DEFAULT BRANCH: main
Ran 22 Sep 2026 08:57AM UTC
Jobs 3
Files 124
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

22 Sep 2026 08:53AM UTC coverage: 93.435% (-0.02%) from 93.453%
35707274319

push

github

web-flow
fix: Align CowSwap TradeResponse with the API schema (#2752)

The `/trades` endpoint returns `executedProtocolFees`, `gasCost` and
`penaltyCapNative`, and none of them was in the TypedDict. The orderbook
OpenAPI schema marks the three as optional, so they use `NotRequired`.

It also documents `txHash` as nullable and every `ExecutedProtocolFee`
member as optional, so both are typed accordingly.

`test_get_trades` was comparing the full response dict, so it broke when
CowSwap added `penaltyCapNative`. It now checks only the expected keys.

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

12 of 12 new or added lines in 2 files covered. (100.0%)

3 existing lines in 2 files now uncovered.

11314 of 12109 relevant lines covered (93.43%)

2.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
85.9
-2.56% safe_eth/eth/tests/clients/test_etherscan_client_v2.py
1
86.43
-0.71% safe_eth/eth/clients/etherscan_client_v2.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.10 - 35707274319.1 22 Sep 2026 08:57AM UTC 124
93.43
GitHub Action Run
2 run-3.11 - 35707274319.2 22 Sep 2026 08:57AM UTC 124
93.43
GitHub Action Run
3 run-3.12 - 35707274319.3 22 Sep 2026 08:57AM UTC 124
93.43
GitHub Action Run
Source Files on build 35707274319
  • Tree
  • List 124
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35707274319
  • 3ce654f5 on github
  • Prev Build on v7.25.0 (#34233640827)
  • Next Build on main (#35738716473)
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