Skip to content

feat(tck): implement updateTopic JSON-RPC method #2426

Description

@exploreriii

Problem updateTopic is missing; the driver's TopicUpdateTransaction suites cannot run. It is the only topic-service method not yet implemented.

Solution Mirror the existing createTopic handler's param handling (memo, adminKey, submitKey, autoRenewPeriod, autoRenewAccountId, expirationTime, and the fee fields if the spec includes them) with topicId added.

Spec: https://github.com/hiero-ledger/hiero-sdk-tck/blob/main/docs/test-specifications/topic-service/TopicUpdateTransaction.md
JS reference: https://github.com/hiero-ledger/hiero-sdk-js/blob/main/tck/methods/topic.ts (updateTopic)
SDK class: TopicUpdateTransaction
Same set-only-present-fields rule as updateToken.

Metadata

Metadata

Assignees

Labels

Good First IssueIssues which are ideal for a first time or new project contributor.approvedIssue has been approved by team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions