Skip to content

testnet: validate indexer configuration at startup with clear fatal errors #509

Description

@Depo-dev

Related to #215. A misconfigured indexer that starts and then misbehaves is far worse than one that refuses to start.

Scope

  • Validate required configuration at startup: RPC endpoint, database URL, network, start ledger.
  • Fail fast with a message naming the offending variable and what was expected.
  • Reject contradictory combinations, such as a start ledger inconsistent with the configured network.
  • Log the resolved effective configuration at boot, with secrets redacted.

Done when

  • Every invalid configuration produces an immediate, specific fatal error rather than a degraded run.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programindexerRust indexer core (crates/indexer)testnet-launchBlocks or de-risks the testnet launch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions