pub(crate) fn next_unexecuted_tx(&mut self) -> usize {
        assert!(
            self.tx_to_execute < self.tx_sizes.len(),
            "Attempt to execute tx that was not pushed to memory. Tx ID: {}, txs in bootloader: {}",
            self.tx_to_execute,
            self.tx_sizes.len()
        );

        let old = self.tx_to_execute;
        self.tx_to_execute += 1;
        old
    }
Returns the ID of the next transaction to be executed and increments the local transaction counter.
core/lib/multivm/src/versions/vm_1_3_2/bootloader_state.rs