Replace laconic2 with laconic and update genesis generation script #5
@ -22,12 +22,7 @@ mkdir -p $STAGE1_GENESIS_DIR
|
|||||||
# Fetch ETH account holdings from the bridge node
|
# Fetch ETH account holdings from the bridge node
|
||||||
|
|
||||||
# Run the nitro-rpc-client command and process the output with jq
|
# Run the nitro-rpc-client command and process the output with jq
|
||||||
cd $BRIDGE_DEPLOYMENT_DIR
|
eth_account_holdings=$(laconic-so deployment --dir $BRIDGE_DEPLOYMENT_DIR exec nitro-rpc-client "nitro-rpc-client get-all-l2-channels -p 4006 -h nitro-bridge" | jq -s '[.[] | {nitro_address: .Balance.Them, balance: .Balance.TheirBalance}]')
|
||||||
|
|
||||||
eth_account_holdings=$(laconic-so deployment --dir bridge-deployment exec nitro-rpc-client "nitro-rpc-client get-all-l2-channels -p 4006 -h nitro-bridge" | jq -s '[.[] | {nitro_address: .Balance.Them, balance: .Balance.TheirBalance}]')
|
|
||||||
|
|
||||||
# Change back to the original directory
|
|
||||||
cd -
|
|
||||||
|
|
||||||
echo "Fetched Ethereum account holdings"
|
echo "Fetched Ethereum account holdings"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user