Skip to content

Design and implement upgradable smart contracts #7

@crtahlin

Description

@crtahlin

Summary

Design and implement an upgrade strategy for the provenance smart contracts so they can be updated at production time without disrupting operations.

Problem

Current contracts are not upgradable. Any changes require redeployment, which breaks existing references and disrupts live operations.

Requirements

  • Contracts must be upgradable in-place (no migration, no downtime)
  • Existing data and state must be preserved across upgrades
  • Upgrade process must be secure (access-controlled)

Investigation

  • Look into OpenZeppelin upgradable contracts (proxy pattern, UUPS, transparent proxy)
  • Evaluate which pattern fits the provenance use case best
  • Consider storage layout compatibility and upgrade safety tooling

Deliverables

  • Upgrade strategy document (which pattern, why)
  • Refactored contracts with upgrade support
  • Upgrade scripts and tests
  • Documentation for performing upgrades safely

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions