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

feat: remove owner requirement on deploying a staged upgrade #794

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

joshuajbouw
Copy link
Contributor

Description

Given that there are precautions to remove a staged upgrade, and only the owner or DAO can stage an upgrade, removing the owner's requirement of deploying the upgrade is safe.

Additional Information

We started running into a potential issue where it may be too costly for the DAO to deploy future Engine releases. While there is currently no issue to stage a release, a deployment may, in fact be a bit too costly. The DAO almost hit this limit previously as 280 Tgas was the gas required via the DAO. Additionally, this reduces the DAO votes by 1 as now they only have to vote on an upgrade which needs to be staged.

This should be done as a patch release on the master branch prior to any further deployments.

@joshuajbouw joshuajbouw added C-enhancement Category: New feature or request P-high Pririoty: high A-engine Area: purely engine EVM related labels Jul 18, 2023
@joshuajbouw joshuajbouw added this pull request to the merge queue Jul 19, 2023
Merged via the queue into develop with commit e32fd10 Jul 19, 2023
20 checks passed
@joshuajbouw joshuajbouw deleted the feat/joshuajbouw/remove-deploy-req branch July 19, 2023 02:02
joshuajbouw added a commit that referenced this pull request Jul 20, 2023
Given that there are precautions to remove a staged upgrade, and only
the owner or DAO can stage an upgrade, removing the owner's requirement
of deploying the upgrade is safe.

We started running into a potential issue where it may be too costly for
the DAO to deploy future Engine releases. While there is currently no
issue to stage a release, a deployment may, in fact be a bit too costly.
The DAO almost hit this limit previously as 280 Tgas was the gas
required via the DAO. Additionally, this reduces the DAO votes by 1 as
now they only have to vote on an upgrade which needs to be staged.

This should be done as a patch release on the master branch prior to any
further deployments.

---------

Co-authored-by: Oleksandr Anyshchenko <[email protected]>
@joshuajbouw joshuajbouw mentioned this pull request Jul 20, 2023
joshuajbouw added a commit that referenced this pull request Jul 20, 2023
This is a quick patch to ensure that there are no complications when
deploying from a DAO as we are running close to the 300 Tgas gas limit
when doing `deploy_upgrade`, and reduces the amount of votes required by
a DAO for deployment to a single vote.

## Changes

- It is now possible for anyone to call the contract method
`deploy_upgrade` by @joshuajbouw. #794

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Oleksandr Anyshchenko <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-engine Area: purely engine EVM related C-enhancement Category: New feature or request P-high Pririoty: high
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants