diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh index 5e220d7..33f7080 100755 --- a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh +++ b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh @@ -4,7 +4,7 @@ set -e # Prerequisite: nitro-rpc-client package installed globally -# https://github.com/cerc-io/go-nitro/blob/main/packages/nitro-rpc-client/readme.md +# https://github.com/cerc-io/go-nitro/blob/main/packages/nitro-rpc-client/readme.md#global-install # Check args if [ "$#" -ne 1 ]; then @@ -26,7 +26,7 @@ mkdir -p $STAGE1_GENESIS_DIR export NODE_EXTRA_CA_CERTS="$(mkcert -CAROOT)/rootCA.pem" # Run the nitro-rpc-client command and process the output with jq -eth_account_holdings=$(nitro-rpc-client get-all-ledger-channels -p 4006 | jq -s '[.[] | {nitro_address: .Balance.Them, balance: .Balance.TheirBalance}]') +eth_account_holdings=$(nitro-rpc-client get-all-l2-channels -p 4006 | jq -s '[.[] | {nitro_address: .Balance.Them, balance: .Balance.TheirBalance}]') echo "Fetched Ethereum account holdings"