Skip to content

contracts: a pause entered just before pauseDeadline never sunsets #2768

Done

Description

@yigitdot

A pause entered just before pauseDeadline never sunsets

  • contracts/src/SunsettingPausable.sol:37 — the sunset gates entering a pause; a pause already in force persists indefinitely, and only PAUSER_ROLE can unpause (governance recovery takes the 48 h timelock plus a role grant).
  • Make paused() return false once pauseDeadline has passed, or auto-expire the pause at the deadline

Edited: the original §1 (a pause blocks slash but not unbond) and §2 (a SlashAppeal pause does not stop finalizeUnappealedSlash) were removed as moot, since slashing is retired (#2917, #2938). This section was §3.

Activity

  1. added
    kind:security
    prio:medium
    area:contracts
    on Oct 30, 2026
  2. thiras commented on Nov 10, 2026

    @thiras
    Contributor

    Status on main (ee1d12d):

    • §2: fixed by fix(contracts)!: security review fixes (24 findings) #2833. openSlashAppeal (SlashAppeal.sol:205) is no longer whenNotPaused, so an operator can file during a pause.
    • §1: requestUnbond and unbond (CapacityBond.sol:668, :699) still run while paused, but slash (:1074) is blocked.
    • §3: SunsettingPausable.sol gates only entering a pause, and paused() has no override, so a pause already in force outlives the sunset.
  3. changed the title [-]contracts: pause gates are asymmetric — bond exits and slash finalization run while slashing and appeals are blocked[/-] [+]contracts: a pause entered just before pauseDeadline never sunsets[/+] on Nov 23, 2026
  4. alpergundogdu commented on Nov 27, 2026

    @alpergundogdu
    Contributor

    §3 is fixed by #3008 (a pause ends at pauseDeadline). §1 and §2 are moot: slashing is retired, and the remaining bond behaviour is superseded by the registration and tokenomics redesign.

  5. moved this from Backlog to Done in deCDNon Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:contractskind:securityprio:medium

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions