Skip to content

ADR 009: Pause function sunset clause has no implementation mechanism #78

Closed

Description

@thiras

Category: Missing Specification

Severity: MEDIUM

File: adr/009-governance.md (~line 62)

"After 12 months, the pause function is permanently disabled (or requires governance vote to extend)."

Problem:
A smart contract function cannot disable itself based on time without explicit implementation. Two approaches exist, neither specified:

  1. Hardcoded timestamp check: require(block.timestamp < deployTime + 365 days) — truly permanent, but inflexible
  2. Governance extension: requires a proposal + vote mechanism — contradicts "permanently disabled"

The ADR uses "or" between two fundamentally different approaches without choosing one.

Recommendation:
Pick one approach and specify it:

  • If permanent: hardcode the timestamp check in the contract
  • If extensible: specify the governance proposal type and required quorum for extension

ADRs affected

  • ADR 009 (Governance Model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:missing-decision

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions