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

Improve predeployed contract upgrading mechanism #190

Open
1 task done
DmytroNazarenko opened this issue Apr 24, 2023 · 4 comments
Open
1 task done

Improve predeployed contract upgrading mechanism #190

DmytroNazarenko opened this issue Apr 24, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request OKR

Comments

@DmytroNazarenko
Copy link

DmytroNazarenko commented Apr 24, 2023

OKR: Q2 2023

Currently predeployed upgrade mechanism needs a lot of interaction and executing a lot of manual commands by chain owner. We need to automate our predeployed upgrading pipeline to minimize interactions with chain owners.

Possible solution is to create a smart contract on mainnet to manage upgrades on all skale-schains. The contract will interact with skale-manager and then will send upgrade commands throw IMA for all SKALE chains.

  • Create PRD for upgrade pipeline

Tasks

Preview Give feedback
  1. documentation
    yavrsky
@DmytroNazarenko
Copy link
Author

DmytroNazarenko commented Apr 26, 2023

Important Q: Can we have a full control of predeployeds upgrade? @kladkogex @payvint

Solution A. Centralized contract upgrade:
same versions of contracts +
easy upgrade procedure +
upgrade responsibilities -

Solution B.
Deploy implementations + generate transactions for upgrade.

  1. Add our key to owner multisigs
  2. Ask all multisigs create a delegator certificate for add transactions
  3. Connect GnosisSafe to Admin UI (with WalletConnect)
  4. SafeApp

@DimaStebaev to add more info

@DimaStebaev
Copy link
Contributor

I also consider a good idea for option B to create a portal which contains information about versions of all smart contracts on all SKALE chains. It simplifies our life in nearest future and could become an entry point for further automated or semi-automated solution.

@DmytroNazarenko
Copy link
Author

per @kladkogex - solution should be decentralized
per @DimaStebaev - using current upgrade-scripts and write readable instructions for it, then @EvgeniyZZ to review it

@DmytroNazarenko DmytroNazarenko moved this from Ready For Pickup to In Progress in SKALE Engineering 🚀 May 18, 2023
@DmytroNazarenko
Copy link
Author

Solution proposal: #188

@DmytroNazarenko DmytroNazarenko moved this from In Progress to Code Review in SKALE Engineering 🚀 Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OKR
Projects
Archived in project
Development

No branches or pull requests

3 participants