-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add script which deploys our contract to L1 & L2 as needed using ChugSplash #708
Copy link
Copy link
Closed
Description
Is your feature request related to a problem? Please describe.
With all of this chugsplash infrastructure, we need a script to actually automate a deployment. Additionally this script must be used in our CI in place of the current deployer.
Describe the solution you'd like
Create a script which, using the smart contract work & off-chain scripts that were developed in: #696 #697 #703 #706 and #707 performs a full chugsplash deployment.
After this has been implemented and tested in a 1-off environment, this should be hooked up to our CI and replace our current deployer! In order for this to be possible, we will need to:
- Remove constructors from our contracts as all environment variables will be set in the deployment step. Additionally, remove our address manager as it will no longer be used to resolve contract addresses.
- Write a chugsplash deploy template for L1 and L2 contracts.
- Update the env of our
deployerimage & make sure it is now using the new deployment mechanism by updatingyarn deploy
All integration tests should still pass even though we are now using a new deployment mechanism!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels