Problem
The TCK server does not implement deleteSchedule, so the TCK driver's ScheduleDeleteTransaction suite cannot run against the Python SDK. The SDK transaction already exists: src/hiero_sdk_python/schedule/schedule_delete_transaction.py (ScheduleDeleteTransaction).
createSchedule is already implemented in tck/handlers/schedule.py, so the schedule TCK modules exist — this handler slots in alongside it. Related: #2585 (signSchedule).
Before you start — required reading
TCK handlers are contract work: the TCK driver validates exact parameter names, optionality, defaults, and error semantics against the published spec. Please do not code from this issue title alone (or paste it into an AI tool and ship the first thing that runs) — read these first:
- The spec page linked below, in full — especially the parameter table, the expected response shape, and the error/edge-case tests. If your handler's behavior differs from the spec table, the TCK suite will fail even if the happy path works.
tck/README.md — how the JSON-RPC server, param dataclasses, handler registry, and responses fit together, and how to run the TCK driver locally against your handler. Run the actual TCK suite before opening a PR; unit tests alone are not enough.
- An existing handler as your pattern — pick the closest one in
tck/handlers/ with its matching tck/param/ dataclass and follow its structure, naming, and error handling exactly. Do not invent a new style, and do not re-implement SDK logic in the handler — handlers only wire validated params onto the existing SDK transaction/query.
- The SDK class you are wrapping (path in the Problem section) — read its setters and defaults so you know what the SDK already handles for you.
CONTRIBUTING.md — test and PR conventions.
Solution
Acceptance criteria
Spec: https://github.com/hiero-ledger/hiero-sdk-tck/blob/main/docs/test-specifications/schedule-service/ScheduleDeleteTransaction.md
JS reference: https://github.com/hiero-ledger/hiero-sdk-js/blob/main/tck/methods/schedule.ts (deleteSchedule)
Problem
The TCK server does not implement
deleteSchedule, so the TCK driver'sScheduleDeleteTransactionsuite cannot run against the Python SDK. The SDK transaction already exists:src/hiero_sdk_python/schedule/schedule_delete_transaction.py(ScheduleDeleteTransaction).createScheduleis already implemented intck/handlers/schedule.py, so the schedule TCK modules exist — this handler slots in alongside it. Related: #2585 (signSchedule).Before you start — required reading
TCK handlers are contract work: the TCK driver validates exact parameter names, optionality, defaults, and error semantics against the published spec. Please do not code from this issue title alone (or paste it into an AI tool and ship the first thing that runs) — read these first:
tck/README.md— how the JSON-RPC server, param dataclasses, handler registry, and responses fit together, and how to run the TCK driver locally against your handler. Run the actual TCK suite before opening a PR; unit tests alone are not enough.tck/handlers/with its matchingtck/param/dataclass and follow its structure, naming, and error handling exactly. Do not invent a new style, and do not re-implement SDK logic in the handler — handlers only wire validated params onto the existing SDK transaction/query.CONTRIBUTING.md— test and PR conventions.Solution
DeleteScheduleParamsdataclass totck/param/schedule.py(scheduleId,commonTransactionParams— check the spec table for exact names and optionality).deleteSchedulehandler totck/handlers/schedule.py, registered with@rpc_method("deleteSchedule"), wrappingScheduleDeleteTransaction. Returnstatusvia the existing status-only response pattern.tests/tck/, then run the TCK driver's ScheduleDeleteTransaction suite locally.Acceptance criteria
deleteScheduleregistered and dispatchablecreateSchedule(with an admin key, signed by it) succeedsscheduleId, missing admin-key signature, already-deleted/already-executed schedule)ScheduleDeleteTransactionsuite passesSpec: https://github.com/hiero-ledger/hiero-sdk-tck/blob/main/docs/test-specifications/schedule-service/ScheduleDeleteTransaction.md
JS reference: https://github.com/hiero-ledger/hiero-sdk-js/blob/main/tck/methods/schedule.ts (
deleteSchedule)