Skip to content

Commit

Permalink
fix: local devnet deploy params
Browse files Browse the repository at this point in the history
  • Loading branch information
eddort committed Jan 14, 2025
1 parent e1bbb41 commit 765a798
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: vm.envUint("DEVNET_SLOTS_PER_EPOCH"),
slotsPerEpoch: uint64(vm.envUint("DEVNET_SLOTS_PER_EPOCH")),
gIFirstWithdrawalPrev: FIRST_WITHDRAWAL_DENEB,
gIFirstWithdrawalCurr: FIRST_WITHDRAWAL_ELECTRA,
gIFirstValidatorPrev: FIRST_VALIDATOR_DENEB,
Expand Down
7 changes: 4 additions & 3 deletions script/DeployLocalDevNet.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ contract DeployLocalDevNet is DeployBase {
config.secondsPerSlot = 12;
config.slotsPerEpoch = vm.envUint("DEVNET_SLOTS_PER_EPOCH");
config.clGenesisTime = vm.envUint("DEVNET_GENESIS_TIME");
config.oracleReportEpochsPerFrame = 225 * 7; // 7 days
config.oracleReportEpochsPerFrame = 50;
config.fastLaneLengthSlots = 0;
config.consensusVersion = 1;
config.avgPerfLeewayBP = 500;
config.oracleMembers = new address[](2);
config.oracleMembers = new address[](3);
config.oracleMembers[0] = vm.envAddress("CSM_ORACLE_1_ADDRESS");
config.oracleMembers[1] = vm.envAddress("CSM_ORACLE_2_ADDRESS");
config.hashConsensusQuorum = 2;
config.oracleMembers[2] = vm.envAddress("CSM_ORACLE_3_ADDRESS");
config.hashConsensusQuorum = 3;
// Verifier
// NOTE: Deneb fork gIndexes. Should be updated according to `config.verifierSupportedEpoch` fork epoch if needed
config.gIFirstWithdrawal = GIndex.wrap(
Expand Down

0 comments on commit 765a798

Please sign in to comment.