mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 06:23:47 +00:00
chg: remove repetitive logs
This commit is contained in:
parent
b2a453b115
commit
87c54fa7be
1 changed files with 3 additions and 11 deletions
|
|
@ -16,21 +16,13 @@ do
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Found matic balance on account[0]: " $balance
|
if (( $balance > $balanceInit )); then
|
||||||
|
|
||||||
if (( $balance <= $balanceInit )); then
|
|
||||||
echo "Balance in bor network has not increased. Waiting for state sync..."
|
|
||||||
else
|
|
||||||
echo "State Sync occured!"
|
|
||||||
stateSyncFound="true"
|
stateSyncFound="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
checkpointID=$(curl -sL http://localhost:1317/checkpoints/latest | jq .result.id)
|
checkpointID=$(curl -sL http://localhost:1317/checkpoints/latest | jq .result.id)
|
||||||
|
|
||||||
if [ $checkpointID == "null" ]; then
|
if [ $checkpointID != "null" ]; then
|
||||||
echo "Checkpoint didn't arrive yet! Waiting..."
|
|
||||||
else
|
|
||||||
echo "Found checkpoint ID:" $checkpointID
|
|
||||||
checkpointFound="true"
|
checkpointFound="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -39,4 +31,4 @@ do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
echo "All tests have passed!"
|
echo "Both state sync and checkpoint went through. All tests have passed!"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue