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

fix: skip validation of START_EPOCH env variable #212

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

AlexanderLukin
Copy link
Contributor

As the Altair epoch is different in different testnets, it is not possible to set a static pre-defined number of the START_EPOCH as a required minimum value of this variable. So, for now, we skip the validation of this env variable on testnets.

Later it would be better to implement a custom validation directive for validating the minimum possible value of the START_EPOCH variable depending on the testnet where the application is running.

As the Altair epoch is different in different testnets, it is not
possible to set a static pre-defined number of the `START_EPOCH` as a
required minimum value of this variable. So, for now, we skip the
validation of this env variable on testnets.

Later it would be better to implement a custom validation directive for
validating the minimum possible value of the `START_EPOCH` variable
depending on the testnet where the application is running.
Remove checking that prevents validation of the `START_EPOCH`
environment variable value in the test environment. So, now the
validation rules for this variable become stronger.
@AlexanderLukin AlexanderLukin merged commit a905df7 into develop Oct 18, 2023
5 checks passed
@AlexanderLukin AlexanderLukin deleted the fix/start-epoch-validation branch October 18, 2023 13:30
@AlexanderLukin AlexanderLukin restored the fix/start-epoch-validation branch October 18, 2023 13:30
@AlexanderLukin AlexanderLukin deleted the fix/start-epoch-validation branch October 18, 2023 13:30
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