Skip to content

Add script which deploys our contract to L1 & L2 as needed using ChugSplash #708

@karlfloersch

Description

@karlfloersch

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:

  1. 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.
  2. Write a chugsplash deploy template for L1 and L2 contracts.
  3. Update the env of our deployer image & make sure it is now using the new deployment mechanism by updating yarn deploy

All integration tests should still pass even though we are now using a new deployment mechanism!

Blockers
#696 #697 #703 #706 and #707

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions