Skip to content

Add network ID of DA to env vars of sequencer-relayer #978

@Fraser999

Description

@Fraser999

We want to avoid accidentally connecting to a wrong DA network. Currently the network ID isn't explicitly specified by the operator of the sequencer relayer; the network is defined only by the endpoint chosen in ASTRIA_SEQUENCER_RELAYER_CELESTIA_ENDPOINT.

We should add an explicit configuration env var taking the ID of the relevant Celestia network.

This issue is blocked by #963, since that PR has logic whereby the network ID is retrieved from the Celestia app on startup. We want to build the ID check into the handler for that response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproduction-qualitynecessary features for production quality softwaresequencer-relayerpertaining to the astria-sequencer-relayer crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions