Implement: Expected event_code check. Rename from transaction_id into next_transaction_id.