Skip to content

Commit 91ffcc2

Browse files
committed
Fix time before dissolve guardrail
1 parent 1c9522c commit 91ffcc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/contract/dao/protocol/settings/RocketDAOProtocolSettingsMegapool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ contract RocketDAOProtocolSettingsMegapool is RocketDAOProtocolSettings, RocketD
3636
// Some safety guards for certain settings
3737
bytes32 settingKey = keccak256(abi.encodePacked(_settingPath));
3838
if (settingKey == keccak256(abi.encodePacked("megapool.time.before.dissolve"))) {
39-
require(_value >= 28 days, "Time must be greater than 48 hours");
39+
require(_value >= 10 days, "Time must be greater than 10 days");
4040
} else if (settingKey == keccak256(abi.encodePacked("maximum.megapool.eth.penalty"))) {
4141
// Per RPIP-42
4242
// TODO: This is a placeholder value

test/megapool/megapool-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export default function() {
408408
});
409409

410410
snapshotDescribe('With full deposit pool', () => {
411-
const dissolvePeriod = (60 * 60 * 48); // 24 hours
411+
const dissolvePeriod = (60 * 60 * 24 * 10); // 10 Days
412412

413413
before(async () => {
414414
// Deposit ETH into deposit pool

0 commit comments

Comments
 (0)