From 0b4b9197fe1758e109f33007dcf5f70ca4c34ad2 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 17 Sep 2024 19:03:15 +0530 Subject: [PATCH] Move directory switch step --- testnet-nitro-node.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/testnet-nitro-node.md b/testnet-nitro-node.md index b765781..c31f84b 100644 --- a/testnet-nitro-node.md +++ b/testnet-nitro-node.md @@ -176,7 +176,7 @@ Nitro nodes can be run using Ansible either locally or on a remote machine; foll Create a ledger channel with the bridge on L1 which is mirrored on L2 -* Run the following commands deployment machine +* Run the following commands on deployment machine * Set required variables: @@ -277,7 +277,15 @@ Create a ledger channel with the bridge on L1 which is mirrored on L2 Perform payments using a virtual payment channel created with another Nitro node over the mirrored L2 channel with bridge as an intermediary -* Run the following commands deployment machine +* Run the following commands on deployment machine + +* Switch to the `nitro-node` directory: + + ```bash + DEPLOYMENTS_DIR= + + cd $DEPLOYMENTS_DIR/nitro-node + ``` * Check status of the mirrored channel on L2: @@ -304,10 +312,6 @@ Perform payments using a virtual payment channel created with another Nitro node * Set required variables: ```bash - DEPLOYMENTS_DIR= - - cd $DEPLOYMENTS_DIR/nitro-node - export BRIDGE_NITRO_ADDRESS=$(yq eval '.bridge_nitro_address' nitro-node-config.yml) # Counterparty to create the payment channel with