Skip to content

Commit

Permalink
assert mindelay
Browse files Browse the repository at this point in the history
  • Loading branch information
danoctavian committed Aug 8, 2024
1 parent c0734bd commit 959e902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/VerifyYnLSDe.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ contract VerifyYnLSDeScript is BaseYnEigenScript {
console.log("\u2705 upgradeTimelock: CANCELLER_ROLE - ", vm.toString(address(actors.wallets.YNDev)));

// Verify delay
uint256 expectedDelay = 3 days; // Adjust this value if the expected delay is different
uint256 expectedDelay = block.chainid == 17000 ? 15 minutes : 3 days;
require(
deployment.upgradeTimelock.getMinDelay() == expectedDelay,
"upgradeTimelock: DELAY INVALID"
Expand Down

0 comments on commit 959e902

Please sign in to comment.