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

safe-global / safe-client-gateway / 7211760186
89%

Build:
DEFAULT BRANCH: main
Ran 14 Dec 2023 04:32PM UTC
Jobs 2
Files 522
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

14 Dec 2023 04:30PM UTC coverage: 89.868% (-0.1%) from 89.994%
7211760186

push

github

web-flow
Remove Transaction Service + Exchange Rates API token prices retrieval (#898)

Configuration changes:
- `FF_PRICES_PROVIDER_CHAIN_IDS` has been removed, as it is not applicable right now. Price retrieval is being done via CoinGecko for all the chains.

Domain changes:
- `DomainModule` was updated: some unused classes were removed from the module initialization.
- `BalancesRepository` was updated: now the class only implements one way to retrieve balances.
- Validators, interfaces, and test utility classes for the old `Balance` items, and for the Exchange API specific classes were removed.
- `src/domain/balances/entities/schemas/balance.schema.ts` was partially removed.

Datasource changes: 
- `/datasources/exchange-api` folder and its contents are deleted from the project, as its classes are not used anymore.
- `CacheRouter.EXCHANGE_FIAT_CODES_KEY`, `CacheRouter.EXCHANGE_RATES_KEY` and related functions.
- `CacheRouter.getBalanceCacheDir` was removed.
- `TransactionApi.clearLocalBalances` and `TransactionApi.getBalances` were refactored/removed.

Routes changes:
- `BalancesService` was updated: now the class only implements one way to retrieve balances.
- `BalancesController` tests classes were updated to remove the testing of the removed classes.

Out of scope:
- During the transition to the new way of retrieving prices (via a prices provider), `SimpleBalance` and some related classes/functions were introduced, to make some distinctions between strategies. It makes sense now to rename `SimpleBalance` to `Balance` again, but this will be done in a separate PR for the sake of clarity.

1413 of 1701 branches covered (0.0%)

Branch coverage included in aggregate %.

10 of 12 new or added lines in 4 files covered. (83.33%)

5337 of 5810 relevant lines covered (91.86%)

151.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
95.29
-0.58% src/domain/balances/balances.repository.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 7211760186.1 14 Dec 2023 04:32PM UTC 874
55.1
GitHub Action Run
2 run-test:cov - 7211760186.2 14 Dec 2023 04:33PM UTC 1040
90.28
GitHub Action Run
Source Files on build 7211760186
  • Tree
  • List 522
  • Changed 207
  • Source Changed 10
  • Coverage Changed 132
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7211760186
  • c00af196 on github
  • Prev Build on main (#7209130388)
  • Next Build on main (#7222179232)
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