• Matthew Slipper's avatar
    op-deployer: Support L1 alloc deployments (#12517) · c6c9c4b5
    Matthew Slipper authored
    * op-deployer: Support L1 alloc deployments
    
    Adds support for deploying to L1 allocs file. When deploying to an allocs file, all contracts necessary for the L2 will be included in the L1's genesis state. This is useful for devnet deployments and test automation.
    
    To use an L1 allocs file, set the field `deploymentStrategy` in the intent to `allocs`. The default is `live`, for live chains.
    
    * make apply command work, fix test
    
    * merge artifacts
    
    * fix merge artifacts
    
    * Update op-deployer/pkg/deployer/state/state.go
    Co-authored-by: default avatarBlaine Malone <blainemalone01@gmail.com>
    
    * fix: extra check for singleton contracts in tests.
    
    * Update op-deployer/pkg/deployer/flags.go
    Co-authored-by: default avatarBlaine Malone <blainemalone01@gmail.com>
    
    * remove unused param
    
    * fix merge artifact
    
    ---------
    Co-authored-by: default avatarBlaine Malone <blainemalone01@gmail.com>
    c6c9c4b5