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

Fix upgradeability of predeploy smart contracts #180

Closed
Ramarti opened this issue Oct 9, 2024 · 0 comments · Fixed by #165
Closed

Fix upgradeability of predeploy smart contracts #180

Ramarti opened this issue Oct 9, 2024 · 0 comments · Fixed by #165

Comments

@Ramarti
Copy link
Contributor

Ramarti commented Oct 9, 2024

Description and context

Current upgradeability of smart contract doesn't work, due to issues on the process that generates genesis.json in EL failing to init bytecode and storage for predeploys, impacting upgradeability methods.

Suggested solution

  • Create a script that generates initial alloc state with foundry cheatcodes, having a testeable and repeatable process
  • Switch UUPSUpgradeable to TransparentUpgradeable Proxy for simplicity of disabling upgrades.

Definition of done

Upgradeability of predeploys works, along with storage and other initializations.

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

Successfully merging a pull request may close this issue.

1 participant