Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add test to make sure env vars in .env.example.holesky are valid #286

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

samlaf
Copy link
Collaborator

@samlaf samlaf commented Feb 11, 2025

Fixes Issue

Fixes #

Changes proposed

Mantle has run into issues because one of the flags in our .env.holesky.example file was incorrect.

In the configuration file example and the readme file, the variable name has always been EIGENDA_PROXY_EIGENDA_ETH_CONFIRMATION_DEPTH.
https://github.com/Layr-Labs/eigenda-proxy/blob/97b71bda6e2136a6c0d71be2f7e9642dc840fefc/.env.example.holesky
https://github.com/Layr-Labs/eigenda-proxy/blob/main/README.md

This PR removes the flags in the README which are just very prone to be outdated and induce errors like this, and also adds a ci check to make sure the flags defined in .env.example.holesky are valid. This test is simple and will only catch if that file still contains deprecated flags (which cause the proxy to crash on startup); it won't be able to catch the subtle case above where the flag is not an old deprecated flag but instead just an unused env var.

Screenshots (Optional)

Note to reviewers

bxue-l2
bxue-l2 previously approved these changes Feb 11, 2025
Copy link
Collaborator

@ethenotethan ethenotethan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants