def METHOD_NAME(self, state: SolNeonDecoderState, start_slot: int) -> int:
    if state.sol_commit != SolCommit.Finalized:
        return state.stop_slot
    return min(
        start_slot + self._config.indexer_poll_block_cnt,
        state.stop_slot
    )