Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Create a way to update contracts without change token id and exchange id #351

Open
luizstacio opened this issue Jun 27, 2022 · 1 comment
Labels
blocked:specs More details are required before start the work discussion priority:low

Comments

@luizstacio
Copy link
Member

luizstacio commented Jun 27, 2022

When updating contract binaries, the contract ids will change as expected. And it can lead to bad UX. Currently, in the ETH world, the normal way to do it is by using Proxy Contracts in this way the contract ids never change.

Some ideas;

  • Implement a naming system, like ENS (Maybe it should be implemented on another repository)
    • With this idea what happens with the current state of the contract, how to transfer it from the old to the new one, etc..
  • Implement a Contract Proxy

The current flow we follow when deploying the contracts is;

  • Merge the changes on the master branch;
  • Deploy the contracts and start a pool;
  • Test on the next release on the live master branch link;
  • Release the next version.
@luizstacio luizstacio added blocked:specs More details are required before start the work discussion priority:low labels Jun 27, 2022
@adlerjohn adlerjohn moved this to Todo in Fuel Network Jun 27, 2022
@Bamidele-dot
Copy link

That's true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked:specs More details are required before start the work discussion priority:low
Projects
Status: Todo
Development

No branches or pull requests

2 participants