From c11e165a3467c75a75f74f2234ec3cc9ddf86cb7 Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Thu, 29 Sep 2022 01:05:17 +0530 Subject: [PATCH] accounts to coinbase --- integration-tests/smoke_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/smoke_test.sh b/integration-tests/smoke_test.sh index 4181f9f20c..01f6e1a50c 100644 --- a/integration-tests/smoke_test.sh +++ b/integration-tests/smoke_test.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -balanceInit=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.accounts[0])))'") +balanceInit=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.coinbase)))'") delay=600 @@ -9,7 +9,7 @@ echo "Wait ${delay} seconds for state-sync..." sleep $delay -balance=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.accounts[0])))'") +balance=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.coinbase)))'") if ! [[ "$balance" =~ ^[0-9]+$ ]]; then echo "Something is wrong! Can't find the balance of first account in bor network."