From 7c1f6a47c38951f986045954a315d57851f3e8dd Mon Sep 17 00:00:00 2001 From: Eddort Date: Tue, 14 Jan 2025 16:27:40 +0100 Subject: [PATCH] fix: pivotSlot from env --- script/DeployCSVerifierElectra.s.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/DeployCSVerifierElectra.s.sol b/script/DeployCSVerifierElectra.s.sol index e700788f..0e0facf5 100644 --- a/script/DeployCSVerifierElectra.s.sol +++ b/script/DeployCSVerifierElectra.s.sol @@ -142,8 +142,8 @@ contract DeployCSVerifierDevNet is DeployCSVerifier { gIFirstValidatorCurr: FIRST_VALIDATOR_ELECTRA, gIHistoricalSummariesPrev: HISTORICAL_SUMMARIES_DENEB, gIHistoricalSummariesCurr: HISTORICAL_SUMMARIES_ELECTRA, - firstSupportedSlot: Slot.wrap(5 * 32), // epoch 5 // TODO: verify - pivotSlot: Slot.wrap(5 * 32), // epoch 5 // TODO: verify + firstSupportedSlot: Slot.wrap(0), + pivotSlot: Slot.wrap(uint64(vm.envUint("DEVNET_ELECTRA_EPOCH")) * 32), chainName: "devnet" }); }