Skip to content

Commit

Permalink
fix: retry populate lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeoneth committed Nov 18, 2024
1 parent 11ec55f commit 00dd549
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,12 @@ if $force_init; then
if $boldupgrade; then
echo == Preparing BOLD upgrade
docker compose run boldupgrader script:bold-prepare
docker compose run boldupgrader script:bold-populate-lookup
# retry this 10 times because the staker might not have made a node yet
for i in {1..10}; do
docker compose run boldupgrader script:bold-populate-lookup && break || true
echo "Failed to populate lookup table, retrying..."
sleep 10
done
docker compose run boldupgrader script:bold-local-execute
fi

Expand Down

0 comments on commit 00dd549

Please sign in to comment.