hedera-sdk-java icon indicating copy to clipboard operation
hedera-sdk-java copied to clipboard

Refactor Proto Generator and Deprecate Methods in SDK

Open K6-Rakshith opened this issue 4 months ago • 0 comments

  • Refactored the update_protobufs.py script into a ProtoGenerator class for improved organization and readability.
  • Added detailed comments and error handling for loading premade templates and executing commands.
  • Updated methods for generating Java files from protobufs, including generate_RequestType, generate_Status, generate_FeeDataType, and generate_FreezeType.
  • Deprecated several methods in AbstractTokenTransferTransaction, AccountAllowanceAdjustTransaction, and AccountAllowanceApproveTransaction with clear instructions for replacements.
  • Enhanced documentation for deprecated fields and methods in AccountBalance to guide users towards alternatives.

Description:

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • [ ] Documented (Code comments, README, etc.)
  • [ ] Tested (unit, integration, etc.)

K6-Rakshith avatar Aug 08 '25 23:08 K6-Rakshith