Replace laconic2 with laconic and update genesis generation script #5

Merged
nabarun merged 6 commits from iv-cors into main 2024-07-23 12:26:15 +00:00
Showing only changes of commit ddbbe49aa6 - Show all commits

View File

@ -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"