• George Knee's avatar
    op-batcher: syncActions is aware of safe=unsafe edge case (#13292) · 53034d28
    George Knee authored
    * add additional test case for computeSyncActions
    
    * fixup test
    
    * check for unsafe = safe edge case & replace oldestUnsafeBlock with nextSafeBlock
    
    * add test case for no progress and safe=unsafe
    
    * refine log
    
    * rename variable
    
    * harmonize log ordering and labels
    
    * tighten up test behaviour for expectedLogs
    
    * add test case: no progress + unsafe=safe + blocks in state
    
    and fix behaviour so we don't try to fetch unsafe blocks if there aren't any, even when there are blocks in state
    
    * typo
    53034d28