• Matthew Slipper's avatar
    Port deployers, add end-to-end contract deployments (#11922) · 717330e9
    Matthew Slipper authored
    This PR ports over the deployers in `interopgen` into `op-deployer`, and updates `op-deployer` to support end-to end contract deployments for both the Superchain and individual OP Chains.
    
    This PR includes a couple of bugfixes for things I discovered along the way:
    
    1. The script host is updated to bump the nonce of the address calling the CREATE2 deployer when broadcasting. This fixes a chain/simulation mismatch that blocked contracts from being deployed.
    2. The DeployImplementations contract used a fixed CREATE2 salt, which caused problems on repeated deployments. I updated the contract to pull the nonce from the environment as we do elsewhere.
    
    Builds on https://github.com/ethereum-optimism/optimism/pull/11910.
    717330e9
init.go 1.97 KB