Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add local ingestion client to indexer-alt (#19924)
## Description This PR adds an IngestionClientTrait that abstracts over checkpoint fetching. The existing one is moved into RemoteIngestionClient. Added a new one LocalIngestionClient to read from files. The retry logic is kept in a top-level struct, which then calls into the traits. Each trait decides the type of error for various cases. ## Test plan Added a test. --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
- Loading branch information