Skip to content

Conversation

anikaraghu
Copy link
Contributor

Upgrade L2 contracts Post Sherlock - do it with a Safe that exists on L2 (in #4 we did it with an aliased L1 Safe)

Copy link
Contributor

@dapperscene6 dapperscene6 left a comment

Choose a reason for hiding this comment

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

LGTM

require(PROXY_ADMIN.getProxyImplementation(prox.SequencerFeeVault).codehash == impl.SequencerFeeVault.codehash);
require(PROXY_ADMIN.getProxyImplementation(prox.OptimismMintableERC20Factory).codehash == impl.OptimismMintableERC20Factory.codehash);
require(PROXY_ADMIN.getProxyImplementation(prox.OptimismMintableERC721Factory).codehash == impl.OptimismMintableERC721Factory.codehash);
ProxyAdmin proxyAdmin = ProxyAdmin(0x4200000000000000000000000000000000000018);
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we use the Predeploy for the prox admin addresss?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I believe so, will do in a followup

@anikaraghu anikaraghu merged commit 4639c1a into main Jun 12, 2023
@anikaraghu anikaraghu deleted the anika/l2-upgrades branch June 12, 2023 20:46
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.

2 participants