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
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
Investigation
Deliverables