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

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

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2024 02:59PM UTC
Jobs 1
Files 572
Run time 2min
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

20 Aug 2024 02:57PM UTC coverage: 46.695% (+0.02%) from 46.675%
10474055122

push

github

web-flow
Add `/v1/:chainId/about/indexing` endpoint (#1826)

Adds a new `GET` `/v1/:chainId/about/indexing` endpoint for returning the indexer status relative to the current block timestamp:

```ts
type Response = {
  lastSync: string // timestamp of oldest block synced by singleton or ERC-20/721 indexers
  synced: boolean // if Transaction Service returns `true` both singletons and ERC-20/721 indexers
}
```

- Add `expirationTimeInSeconds.indexing` configuration
- Add `indexing` cache key
- Add `IndexingStatusSchema` with inferred type/builder
- Add `ITransactionApi['getIndexingStatus']` method and implementation
- Add `ChainsRepository['getIndexingStatus'] method
- Add `GET` `/v1/:chainId/about/indexing` route with entity
- Add appropriate test coverage

487 of 2951 branches covered (16.5%)

Branch coverage included in aggregate %.

16 of 32 new or added lines in 9 files covered. (50.0%)

4642 of 8033 relevant lines covered (57.79%)

12.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
58.1
-0.16% src/datasources/cache/cache.router.ts
1
76.92
-1.34% src/routes/chains/chains.controller.ts
2
66.67
src/routes/chains/entities/indexing-status.entity.ts
3
50.0
-6.25% src/domain/chains/chains.repository.ts
4
29.79
2.29% src/routes/chains/chains.service.ts
5
19.18
-0.05% src/datasources/transaction-api/transaction-api.service.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 10474055122.1 20 Aug 2024 02:59PM UTC 1144
51.19
GitHub Action Run
Source Files on build 10474055122
  • Tree
  • List 572
  • Changed 11
  • Source Changed 9
  • Coverage Changed 173
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #10474055122
  • 6d0ffb15 on github
  • Prev Build on main (#10471489493)
  • Next Build on main (#10474470690)
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