-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: simplify
DENCUN_FORK_EPOCH
validation
Simplify validation of the `DENCUN_FORK_EPOCH` environment variable. Now the validation is based on these two assumptions: 1. If the value of the `DENCUN_FORK_EPOCH` variable is not provided, it is now implicitly set to the maximum integer for any unknown networks. So, the app assumes that by default the Dencun fork is not applied to any unknown network. 2. For the 3 officially supported networks correct values for the `DENCUN_FORK_EPOCH` variable are set implicitly. For these 3 networks values that the user sets for the `DENCUN_FORK_EPOCH` variable are silently ignored. Custom validation directive and complex transform function have been removed. The app now logs the actual value of the `DENCUN_FORK_EPOCH` variable when it starts.
- Loading branch information
1 parent
9a07dfd
commit 334eb16
Showing
3 changed files
with
15 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters