This commit is contained in:
Raneet Debnath 2022-11-17 18:20:53 +05:30
parent 245b327129
commit 1b8ef5059f
2 changed files with 0 additions and 6 deletions

View file

@ -5,7 +5,6 @@ on:
- "master" - "master"
- "qa" - "qa"
- "develop" - "develop"
- "raneet10/pos-535" # RMV
pull_request: pull_request:
branches: branches:
- "**" - "**"

View file

@ -3,9 +3,6 @@ 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.accounts[0])))'")
#delay=600
#echo "Wait ${delay} seconds for state-sync..."
#sleep $delay
stateSyncFound="false" stateSyncFound="false"
checkpointFound="false" checkpointFound="false"
@ -23,7 +20,6 @@ do
if (( $balance <= $balanceInit )); then if (( $balance <= $balanceInit )); then
echo "Balance in bor network has not increased. Waiting for state sync..." echo "Balance in bor network has not increased. Waiting for state sync..."
#exit 1
else else
echo "State Sync occured!" echo "State Sync occured!"
stateSyncFound="true" stateSyncFound="true"
@ -33,7 +29,6 @@ do
if [ $checkpointID == "null" ]; then if [ $checkpointID == "null" ]; then
echo "Checkpoint didn't arrive yet! Waiting..." echo "Checkpoint didn't arrive yet! Waiting..."
#exit 1
else else
echo "Found checkpoint ID:" $checkpointID echo "Found checkpoint ID:" $checkpointID
checkpointFound="true" checkpointFound="true"