Skip to content

Commit

Permalink
feat: custom SLOTS_PER_EPOCH support
Browse files Browse the repository at this point in the history
  • Loading branch information
eddort committed Dec 22, 2024
1 parent b495553 commit e1bbb41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/DeployCSVerifierElectra.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ contract DeployCSVerifierDevNet is DeployCSVerifier {
config = Config({
withdrawalVault: vm.envAddress("CSM_WITHDRAWAL_VAULT"),
module: vm.envAddress("CSM_MODULE"),
slotsPerEpoch: 32,
slotsPerEpoch: vm.envUint("DEVNET_SLOTS_PER_EPOCH"),
gIFirstWithdrawalPrev: FIRST_WITHDRAWAL_DENEB,
gIFirstWithdrawalCurr: FIRST_WITHDRAWAL_ELECTRA,
gIFirstValidatorPrev: FIRST_VALIDATOR_DENEB,
Expand Down
2 changes: 1 addition & 1 deletion script/DeployLocalDevNet.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ contract DeployLocalDevNet is DeployBase {

// Oracle
config.secondsPerSlot = 12;
config.slotsPerEpoch = 32;
config.slotsPerEpoch = vm.envUint("DEVNET_SLOTS_PER_EPOCH");
config.clGenesisTime = vm.envUint("DEVNET_GENESIS_TIME");
config.oracleReportEpochsPerFrame = 225 * 7; // 7 days
config.fastLaneLengthSlots = 0;
Expand Down

0 comments on commit e1bbb41

Please sign in to comment.