Bump scripts to current commitment variants (#16526)

This commit is contained in:
Tyera Eulberg 2021-04-13 18:50:59 -06:00 committed by GitHub
parent 74f58376f8
commit 3bfae8e829
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ done
snapshot_slot=1 snapshot_slot=1
# wait a bit longer than snapshot_slot # wait a bit longer than snapshot_slot
while [[ $($solana_cli --url http://localhost:8899 slot --commitment recent) -le $((snapshot_slot + 1)) ]]; do while [[ $($solana_cli --url http://localhost:8899 slot --commitment processed) -le $((snapshot_slot + 1)) ]]; do
sleep 1 sleep 1
echo "Checking slot" echo "Checking slot"
done done

View File

@ -21,7 +21,7 @@ node_readiness=false
timeout=60 timeout=60
while [[ $timeout -gt 0 ]]; do while [[ $timeout -gt 0 ]]; do
set +e set +e
output=$($solana_cli "${args[@]}" transaction-count --commitment max) output=$($solana_cli "${args[@]}" transaction-count --commitment finalized)
rc=$? rc=$?
set -e set -e
if [[ $rc -eq 0 && -n $output ]]; then if [[ $rc -eq 0 && -n $output ]]; then