Skip to content

Add timelock for contract upgrade()ย #316

Description

@Abidoyesimze

Problem

upgrade() is instant. A compromised owner key can swap WASM immediately with no recovery window.

Scope

  • upgrade, new storage for pending upgrade hash + activation ledger

Acceptance criteria

  • Two-step or timelocked upgrade with cancel path.
  • Tests for schedule, execute, and cancel flows.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions