From a2317c2ac44d0f7ac8b79aa4bd9e31cb654bc442 Mon Sep 17 00:00:00 2001 From: Adw8 Date: Thu, 18 Jul 2024 18:16:22 +0530 Subject: [PATCH] Update steps for reading bridge contracts address --- testnet-onboarding-demo.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/testnet-onboarding-demo.md b/testnet-onboarding-demo.md index b5d10a0..f292f0b 100644 --- a/testnet-onboarding-demo.md +++ b/testnet-onboarding-demo.md @@ -412,7 +412,7 @@ - Read the bridge contract address from the L1 deployment records in the `op-node` container: ```bash - BRIDGE=$(laconic-so deployment --dir fixturenet-optimism-deployment exec op-node "cat /l1-deployment/$DEPLOYMENT_CONTEXT/.deploy" | jq -r .L1StandardBridgeProxy) + BRIDGE=$(laconic-so deployment --dir fixturenet-optimism-deployment exec op-node "cat /l1-deployment/$DEPLOYMENT_CONTEXT-deploy.json" | jq -r .L1StandardBridgeProxy) # Get the funded account's pk ACCOUNT_PK=$(laconic-so deployment --dir fixturenet-optimism-deployment exec op-node "jq -r '.AdminKey' /l2-accounts/accounts.json") @@ -582,7 +582,6 @@ ``` # In laconic-wallet yarn start - ``` - Press `a` to run the application on android and wait till the wallet app opens up on your phone @@ -850,7 +849,7 @@ - Fund the laconic account by clicking on the `REQUEST TOKENS FROM FAUCET` button - Send transaction request to the Wallet - Approve and send transaction to laconicd chain - - Repeat onboarding for other (Charlies's) account + - Repeat onboarding for other (Charlies's) account by clicking on the web app header "Testnet Onboarding" - List the participants on stage 1 (run in the directory where laconicd deployment was created): ```bash @@ -882,14 +881,11 @@ # Remove the temporary data directory sudo rm -rf stage1-genesis + + # Go back to the directory where deployments are created + cd - ``` - - Change directory to stage1 deployment directory - - ```bash - cd - ``` - - Copy over the generated genesis file (`.json`) containing the onboarding module state with funded participants to data directory in stage1 deployment (`stage1-deployment/data/genesis-config`): ```bash @@ -948,8 +944,8 @@ ```bash export BRIDGE_ADDRESS=0xBBB676f9cFF8D242e9eaC39D063848807d3D1D94 - export A_ADDRESS= - export C_ADDRESS= + export A_ADDRESS= + export C_ADDRESS= # Starts virtual fund objective on L2 to create virtual channel from A' to C' nitro-rpc-client virtual-fund $C_ADDRESS $BRIDGE_ADDRESS -p 4008