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

iotaledger / iota / 20979039114

13 Jan 2026 01:38PM UTC coverage: 63.148% (+0.4%) from 62.785%
20979039114

push

github

web-flow
feat(iota-indexer): add cache in `HttpRestKVClient` (#9658)

# Description of change

The following PR adds a caching layer to the `HttpRestKVClient`. The
implementation is very similar to the one already implemented for the
`HttpKVStore`.

## Links to any relevant issues

fixes #9501 

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)

Started the indexer reader and checked if the requests would be cached.

### Infrastructure QA (only required for crates that are maintained by
@iotaledger/infrastructure)

- [ ] Synchronization of the indexer from genesis for a network
including migration objects.
- [ ] Restart of indexer synchronization locally without resetting the
database.
- [ ] Restart of indexer synchronization on a production-like database.
- [ ] Deployment of services using Docker.
- [ ] Verification of API backward compatibility.

> [!NOTE]
> This patch does not affect the normal operation of the indexer. By
default pruning is not enabled and also the fallback feature is enabled
only if an additional CLI argument is provided during the startup. No
further tests were conducted.

---------

Co-authored-by: kodemartin <konstantinos.demartinos@iota.org>

0 of 80 new or added lines in 6 files covered. (0.0%)

3093 existing lines in 89 files now uncovered.

213336 of 337833 relevant lines covered (63.15%)

2504678.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.88
/consensus/core/src/commit_observer.rs


Source Not Available

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