0xPolygonHermez/zkevm-node

synchronizer: during trusted sync avoid process a new batch is the last one is WIP

joanestebanr opened this issue · 0 comments

Rationale

If the synchronizer receive 2 batches from trusted node and both are WIP doesn't make sense to process both because the state can only have 1 batch in WIP state

Implementation

Break synchronization from trusted if a WIP batch is received