Snapchain / op-chain-deployment

2 stars 0 forks source link

init: add commands to spin up L2 devnet #1

Closed bap2pecs closed 1 month ago

bap2pecs commented 1 month ago

Summary

initial structure to spin up L2 devnet

Test Plan

  1. reserve a server using the op-devnet-template template on GCP
  2. run ansible-playbook -i inventory.ini debian_op_babylon_devnet.yml to set up a new server
  3. ssh into the server
  4. git clone git@github.com:Snapchain/op-chain-deployment.git
  5. cd op-chain-deployment && gco init && cp .env.example .env
  6. modify .env to set L1 URLs and L1 chain ID on the other server
  7. git submodule update --init --recursive
  8. vi optimism/packages/contracts-bedrock/scripts/deploy/Deploy.s.sol to modify == to !=
  9. make start-op-chain-sepolia