Skip to content

Governance-Only Upgradability Pattern #23

@hman38705

Description

@hman38705

Descriptions:

Issue #13:

Developer Goal: Implement safe contract upgrades via the update_current_contract_wasm host function.

  • The upgrade function MUST be locked behind a 48-hour timelock and require a majority vote from the GuardianSet.

Verification Checklist:

  • initiate_upgrade successfully starts a 48-hour clock.
  • Attempting to execute_upgrade before 48 hours results in ErrorCode::TimelockActive.
  • execute_upgrade successfully replaces the contract WASM and retains all persistent state.
  • git checkout -b features/issue-13-Governance-Only Upgradability Pattern
  • Pr Request create your pr against develop branch

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions