forest-cli sync wait
exits too early
#3540
Labels
Bug
Priority: 3 - Medium
Ready
Issue is ready for work and anyone can freely assign it to themselves
Issue summary
The
forest-cli sync wait
RPC call doesn't wait until Forest has entered thefollow
mode. Instead, it merely waits for the completion of a singlesync-range
step. When syncing to a network, Forest will query the current HEAD and then initiate async-range
from the heaviest tipset to the current HEAD. This step is then repeated until Forest has caught up. When we callforest-cli sync wait
, we should wait until Forest has completely caught up rather than waiting for a singlesync-range
step.Acceptance criteria:
forest-cli sync wait
guarantees that Forest is in thefollow
mode.Other information and links
The text was updated successfully, but these errors were encountered: