Skip to content

Contract upgrade and versioning #579

Description

@codebestia

Write contracts/docs/concepts-upgrades.md centred on token_transfer's upgrade(env, new_wasm_hash): who may call it, how a new WASM hash is produced and verified, and the storage-compatibility rules that make an upgrade safe.

Acceptance criteria:

  • Documents the authorization required to upgrade and the consequence of that key being compromised
  • Gives the end-to-end procedure: build, hash, verify, invoke, confirm
  • Documents storage-layout compatibility rules — which changes are safe across an upgrade and which corrupt existing state
  • States which contracts are upgradeable and which are not

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 programcontractsdocumentationImprovements or additions to documentation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions