Skip to content

contracts-bedrock: delete dead SystemConfig code#5279

Merged
mergify[bot] merged 3 commits intodevelopfrom
fix/delete-dead-code
Mar 29, 2023
Merged

contracts-bedrock: delete dead SystemConfig code#5279
mergify[bot] merged 3 commits intodevelopfrom
fix/delete-dead-code

Conversation

@tynes
Copy link
Contributor

@tynes tynes commented Mar 28, 2023

Description

The old constant for the min gas limit was left behind in the PR that made the min gas limit calculation safe. This commit deletes the constant and updates the tests to use the new method.

@tynes tynes requested a review from a team as a code owner March 28, 2023 20:54
@tynes tynes requested a review from smartcontracts March 28, 2023 20:54
@changeset-bot
Copy link

changeset-bot bot commented Mar 28, 2023

⚠️ No Changeset found

Latest commit: 34d0f8d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Mar 28, 2023

Deploy Preview for opstack-docs canceled.

Name Link
🔨 Latest commit 34d0f8d
🔍 Latest deploy log https://app.netlify.com/sites/opstack-docs/deploys/6423e1c272b6380008624b6f

@tynes tynes requested review from clabby and maurelian March 28, 2023 20:54
@tynes tynes force-pushed the fix/delete-dead-code branch from d1e1a20 to c07968f Compare March 28, 2023 20:57
Copy link
Contributor

@refcell refcell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gas savings, we love to see it

Copy link
Contributor

@clabby clabby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending CI checks

@clabby
Copy link
Contributor

clabby commented Mar 28, 2023

@tynes SDK lint checks were broken when #5277 was merged, do you mind resolving that here quickly?

tynes added a commit that referenced this pull request Mar 28, 2023
Includes all of the audit fixes. The upgrades via the `ProxyAdmin`
must all happen in a single atomic transaction to ensure there
are no errors due to inter-contract API changes.

This does not include the changes in
#5279.
The `SystemConfig` contract will need to be deployed again.
@tynes
Copy link
Contributor Author

tynes commented Mar 28, 2023

Linting fix is here #5281

tynes added 2 commits March 28, 2023 14:36
The old constant for the min gas limit was left behind
in the PR that made the min gas limit calculation safe.
This commit deletes the constant and updates the tests
to use the new method.
Include systemconfig bindings with new version
@tynes tynes force-pushed the fix/delete-dead-code branch from c07968f to 5303a14 Compare March 28, 2023 21:40
@tynes
Copy link
Contributor Author

tynes commented Mar 28, 2023

Rebuilt the bindings, this should fix the bindings build task

@mergify
Copy link
Contributor

mergify bot commented Mar 29, 2023

This PR has been added to the merge queue, and will be merged soon.

@mergify
Copy link
Contributor

mergify bot commented Mar 29, 2023

This PR is next in line to be merged, and will be merged as soon as checks pass.

1 similar comment
@mergify
Copy link
Contributor

mergify bot commented Mar 29, 2023

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot merged commit f51a572 into develop Mar 29, 2023
@mergify mergify bot deleted the fix/delete-dead-code branch March 29, 2023 07:20
@mergify mergify bot removed the on-merge-train label Mar 29, 2023
tynes added a commit that referenced this pull request Mar 29, 2023
Includes all of the audit fixes. The upgrades via the `ProxyAdmin`
must all happen in a single atomic transaction to ensure there
are no errors due to inter-contract API changes.

This does not include the changes in
#5279.
The `SystemConfig` contract will need to be deployed again.
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 this pull request may close these issues.

3 participants