Skip to content

SC-21: Implement upgradeability pattern for game_contract #930

Description

@chinweobtagaz

Context: If a critical bug is discovered in production, deploying a completely new contract breaks state continuity (active escrows, balances). There is currently no way to seamlessly patch the contract.
Location: contracts/game_contract/src/lib.rs
Acceptance Criteria:

  • Implement Soroban's native contract upgrade functionality via env.deployer().update_current_contract_wasm() restricted to ADMIN_KEY.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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