Skip to content

(feat) migration tooling for sway upgrades #268

@DefiCake

Description

@DefiCake

We must have tooling that fills, even if just approximately, the same roles the openzeppelin-upgrades and hardhat-deploy plugins do for solidity contracts.

Currently, the plugins do this (non-exhaustive list):

  • Keep track of deployed proxy addresses, their implementations and the arguments with which they are deployed, per chain
  • Keep track of storage layouts for each implementation, so that attempts to upgrade to contracts that do not have the same storage pattern are flagged
  • Allow to do "async" style upgrades so that they can be prepared with a transaction payload and executed with multisigs at some other time.

I am not sure how to proceed with this. I think we could leverage some of the existing solidity tooling, but only partially, if we integrated packages/fungible-token and packages/solidity-contracts under a single package, say contracts, but I have not thought about a roadmap

Metadata

Metadata

Assignees

No one assigned

    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