diff --git a/l2-setup/README.md b/l2-setup/README.md index 069ed69..2cb1227 100644 --- a/l2-setup/README.md +++ b/l2-setup/README.md @@ -57,3 +57,21 @@ The following commands have to be executed in [`l2-setup`](./) directory ```bash LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-optimism.yml --extra-vars='{"target_host" : "localhost", "existing_contracts_deployment": true}' -kK --user $USER ``` + +## Check Deployment Status + + - Run the following command in the directory where the optimism-deployment is created + + - Follow optimism contracts deployment logs: + + ```bash + laconic-so deployment --dir optimism-deployment logs -f fixturenet-optimism-contracts + ``` + + - Check L2 logs: + + ```bash + laconic-so deployment --dir optimism-deployment logs -f op-geth + + # Ensure new blocks are getting created + ``` diff --git a/l2-setup/run-optimism.yml b/l2-setup/run-optimism.yml index 86f6186..79625b3 100644 --- a/l2-setup/run-optimism.yml +++ b/l2-setup/run-optimism.yml @@ -80,6 +80,11 @@ src: "{{ artifact_path }}/l2_config/l2-jwt.txt" dest: "{{ l2_directory }}/optimism-deployment/data/l2_config" + - name: Copy l2 accounts file + copy: + src: "{{ artifact_path }}/l2_accounts/accounts.json" + dest: "{{ l2_directory }}/optimism-deployment/data/l2_accounts" + when: existing_contracts_deployment - name: Start L2-deployment