Skip to content

core: add timelocked multisig recovery to parameters-contract #54

Description

@EmeditWeb

Problem

configure_multisig() in parameters-contract can only be called ONCE (lib.rs:46-48 has if storage::has_multisig(&env) check). If signer keys are lost, the only recovery path is through a proposal from the existing multisig — creating a circular dependency.

What To Build

  1. Add an escape hatch: after a timelock delay (30 days + multisig signatures), the admin can reconfigure multisig
  2. Or: store a separate recovery key that can reset multisig

Files To Touch

  • contracts/parameters-contract/src/lib.rs
  • contracts/parameters-contract/src/storage.rs
  • contracts/parameters-contract/src/types.rs

Acceptance Criteria

  • Multisig recovery path exists
  • Recovery has timelock delay
  • Requires admin or recovery key
  • All existing tests pass

Mandatory Checks

  • context/ files read
  • cargo build passes
  • cargo test passes
  • PR references this issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions