Skip to content

Add STELLAR_NETWORK configuration validation#411

Description

@meshackyaro

Description

STELLAR_NETWORK accepts unknown values silently defaulting to testnet. Dangerous misconfiguration possible.

Component

Backend

Difficulty

馃煝 Easy

Tasks

  • Validate STELLAR_NETWORK enum values
  • Fail fast on unknown values
  • Document accepted values (TESTNET/PUBLIC)
  • Update .env.example
  • Test with invalid values

Acceptance Criteria

  • Unknown networks rejected at startup
  • Clear error message
  • Valid values documented

Estimated Time

1 day

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions