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

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

Build:
DEFAULT BRANCH: main
Ran 04 Jul 2024 09:43AM UTC
Jobs 4
Files 106
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

04 Jul 2024 09:39AM UTC coverage: 93.557% (-0.2%) from 93.798%
9792068910

push

github

web-flow
Add configuration object for the EnsClient (#1187)

- Adds a required configuration argument to the `EnsClient`.
- The new configuration is still based on what is required by The Graph (schemas, authentication, requests).
- This configuration abstracts away from where the information should be retrieved.
  * The base `Config` class provides a mapping between a Network (chain) and a URL.
  * The `SubgraphConfig` class provides a Subgraph configuration if the `EnsClient` should use a SubGraph instead. See https://docs.ens.domains/web/subgraph
- This change does not update the URLs that are required to access The Graph services. It delegates the respective configuration to the consumers of `safe-eth-py`. So in order to continue using the `EnsClient`, a valid configuration should be provided.

---------

Co-authored-by: Uxío <Uxio0@users.noreply.github.com>

22 of 23 new or added lines in 2 files covered. (95.65%)

26 existing lines in 3 files now uncovered.

8233 of 8800 relevant lines covered (93.56%)

3.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
60.32
-28.77% gnosis/eth/clients/ens_client.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
93.75
0.0% gnosis/eth/clients/blockscout_client.py
5
86.11
-8.33% gnosis/eth/tests/clients/test_ens_client.py
19
60.32
-28.77% gnosis/eth/clients/ens_client.py
Jobs
ID Job ID Ran Files Coverage
1 9792068910.1 04 Jul 2024 09:43AM UTC 106
93.56
GitHub Action Run
2 9792068910.2 04 Jul 2024 09:43AM UTC 106
93.51
GitHub Action Run
3 9792068910.3 04 Jul 2024 09:43AM UTC 106
93.51
GitHub Action Run
4 9792068910.4 04 Jul 2024 09:44AM UTC 106
93.51
GitHub Action Run
Source Files on build 9792068910
  • Tree
  • List 106
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e2c332d2 on github
  • Prev Build on main (#9614187344)
  • Next Build on main (#9792787036)
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