contracts-bedrock: L2 contract deployments#5314
Conversation
🦋 Changeset detectedLatest commit: cc35044 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for opstack-docs canceled.
|
f0dbb75 to
c8241a3
Compare
Predeploy implementations
Also update the deploy config. The deploy config is copy/pasted from the goerli network one. There isn't a good way to get "companion network's" deploy config.
168b15b to
43b70f4
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #5314 +/- ##
===========================================
- Coverage 40.34% 39.96% -0.38%
===========================================
Files 387 355 -32
Lines 24494 23522 -972
Branches 838 668 -170
===========================================
- Hits 9881 9400 -481
+ Misses 13879 13383 -496
- Partials 734 739 +5
Flags with carried forward coverage won't be shown. Click here to find out more. |
Add a getter to the `hre.deployConfig` object that gives access to alternative network's deploy configs. This is useful because multiple networks can be linked and share config. In particular when L2 networks are used with L1 networks, the entire deploy config has be be shared with both networks so it results in a copy paste.
Add ability to get other network's deploy configs, good to pair with companion networks feature from hh deploy.
|
I pulled #5316 into this PR to use its functionality |
|
I pulled #5327 into this PR due to the build problems with adding |
clabby
left a comment
There was a problem hiding this comment.
LGTM. Sanity checked the deploy scripts and they look good, and have also tested the L2 predeploy upgrade script.
Description
L2 contract deployments post Sherlock. A following PR will include a script to update the implementations in the L2 proxies.
The following command can be used to deploy the contracts
#5316 will let us delete the copy/paste of the deploy config json.
Edit: the above PR was pulled into this PR
The following command shows how to run the upgrade script + tests
Be sure to set the sender to the multisig key