Commit Phase
After processing all slots, the validator derives an ordered sequence of slots. The validator then iterates over this sequence, committing all slots marked as to-commit and skipping all slots marked as to-skip. This iteration continues until the first undecided slot is encountered.