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

safe-global / safe-client-gateway / 7211760186 / 2
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 14 Dec 2023 04:33PM UTC
Files 1040
Run time 37s
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: 90.278% (-0.2%) from 90.435%
7211760186.2

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.

1443 of 1747 branches covered (0.0%)

Branch coverage included in aggregate %.

10610 of 11604 relevant lines covered (91.43%)

71.85 hits per line

Source Files on job run-test:cov - 7211760186.2
  • Tree
  • List 1040
  • Changed 207
  • Source Changed 10
  • Coverage Changed 131
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7211760186
  • c00af196 on github
  • Prev Job for on main (#7209130388.2)
  • Next Job for on main (#7222179232.1)
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