Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Relayer from previous Ethereum block #384

Merged
merged 16 commits into from
Jun 1, 2021
Merged
Prev Previous commit
Next Next commit
uncomment relayer from start script
  • Loading branch information
denalimarsh committed Apr 30, 2021
commit 8e666a7f79c1d0a63d9254531da17e2f376d677a
20 changes: 10 additions & 10 deletions test/scripts/start-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,21 +134,21 @@ start_parachain
restart_ganache
echo "Waiting for consensus between polkadot and parachain"
sleep 60
# start_relayer
start_relayer

echo "Process Tree:"
pstree $$

sleep 3
# until $(grep "Syncing headers starting..." $(pwd)/relay.log > /dev/null); do
# echo "Waiting for relayer to generate the DAG cache. This can take up to 20 minutes."
# sleep 20
#done

#until $(grep "Done retrieving finalized headers" $(pwd)/relay.log > /dev/null); do
# echo "Waiting for relayer to sync headers..."
# sleep 5
#done
until $(grep "Syncing headers starting..." $(pwd)/relay.log > /dev/null); do
echo "Waiting for relayer to generate the DAG cache. This can take up to 20 minutes."
sleep 20
done

until $(grep "Done retrieving finalized headers" $(pwd)/relay.log > /dev/null); do
echo "Waiting for relayer to sync headers..."
sleep 5
done

echo "System has been initialized"

Expand Down