Skip to content

Commit

Permalink
Merge pull request #212 from lidofinance/fix/start-epoch-validation
Browse files Browse the repository at this point in the history
fix: skip validation of `START_EPOCH` env variable
  • Loading branch information
AlexanderLukin authored Oct 18, 2023
2 parents f32025d + fe4b1a4 commit a905df7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/config/env.validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export class EnvironmentVariables {
@IsNumber()
@Min(74240) // Altair
@Transform(({ value }) => parseInt(value, 10), { toClassOnly: true })
@ValidateIf((vars) => vars.ETH_NETWORK === Network.Mainnet)
public START_EPOCH = 155000;

@IsNumber()
Expand Down

0 comments on commit a905df7

Please sign in to comment.