Skip to content

Commit

Permalink
fix: add validation for deposit address (ai)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Dec 2, 2024
1 parent 3e96e75 commit 923c420
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/integration/1_DeployBootstrap.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ contract DeployContracts is Script {

// read the network configuration parameters and validate them
depositAddress = vm.envOr("INTEGRATION_DEPOSIT_ADDRESS", address(0x6969696969696969696969696969696969696969));
require(depositAddress != address(0), "Deposit address must be set");
denebTimestamp = vm.envUint("INTEGRATION_DENEB_TIMESTAMP");
require(denebTimestamp > 0, "Deneb timestamp must be set");
beaconGenesisTimestamp = vm.envUint("INTEGRATION_BEACON_GENESIS_TIMESTAMP");
Expand Down

0 comments on commit 923c420

Please sign in to comment.