Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take protocol contract upgrades in consideration for deterministic gateway and erc20Custody deterministic deployment #455

Open
lumtis opened this issue Jan 30, 2025 · 0 comments
Assignees

Comments

@lumtis
Copy link
Member

lumtis commented Jan 30, 2025

To get the same gateway address we need to deploy it from when it was deployed for previous network node/v20.0.2 then upgrade to the newest version and set the admin address, etc...

To make the process automatized and more secure, we should have a fully automated script as we have right now.

The solution will require to keep in the current codebase a version of the source code of the contract from node/v20.0.2. So the deployment script:

  • Deploy the proxy and implementation for the contract from this branch version to get the same address
  • Deploy the implementation contract with the newest version
  • Upgrade to this new implementation
  • Set the correct admin addresses. etc..
@lumtis lumtis self-assigned this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant