This release introduces important improvements to transaction validation and fee flexibility in the Hiero SDK. These changes enhance both security and usability for developers working with smart contracts and scheduled transactions.
Enhancements
- Validation for Negative Gas: Added validation in
ContractExecuteTransactionto prevent setting a negative gas value, ensuring safer transaction execution and reducing the risk of invalid or rejected transactions. #3317 - Custom Fees in Scheduled Transactions: Added support for including
CustomFeein scheduled transaction bodies, enabling more flexible and transparent fee structures when scheduling transactions. #3254
Full Changelog: v2.71.1...v2.72.0