Skip to content

Multisig timelock duration tests#41

Open
sh3ifu wants to merge 15 commits into
devfrom
multisig-timelock-duration-tests
Open

Multisig timelock duration tests#41
sh3ifu wants to merge 15 commits into
devfrom
multisig-timelock-duration-tests

Conversation

@sh3ifu

@sh3ifu sh3ifu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

test(R-W-11): MIN_TIMELOCK floor regression tests

Companion test PR for the R-W-11 / EXT-W-11 fix (branch multisig-timelock-duration-fix). Stacked on the fix branch.

Added — post-fix regression

  • test_constructor_revertsOnTimelockBelowMinTimelock (UT-FIX-13) — deploying with timelockDuration < minTimelock reverts TimelockTooShort.
  • test_constructor_revertsOnZeroMinTimelock / test_constructor_revertsOnMinTimelockTooLongInvalidMinTimelock for a zero or out-of-range floor.
  • test_proposeSetTimelockDuration_revertsBelowMinTimelock_afterFix (UT-FIX-13) — a SetTimelockDuration proposal below the floor reverts at execution; timelockDuration is unchanged.
  • test_proposeSetTimelockDuration_acceptsAtMinTimelock_afterFix — boundary: a value exactly at the floor is accepted.
  • test_minTimelock_returnsConfiguredFloor — the MIN_TIMELOCK() view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant