hashgraph / hedera-sdk-go

Hedera™ Hashgraph SDK for Go
https://docs.hedera.com/docs/hedera-sdks
Apache License 2.0
88 stars 64 forks source link

FEE_SCHEDULE_FILE_PART_UPLOADED marked as error #1040

Open 0xivanov opened 2 weeks ago

0xivanov commented 2 weeks ago

Description

When submitting a FileUpdate along with the required FileAppends in order to update the 0.0.111 fees file, getting the receipt returns or throws a ReceiptStatusException. The FEE_SCHEDULE_FILE_PART_UPLOADED response is not an error, but is a response to indicate that the file is not complete and requires more FileAppends until a Fees file is fully uploaded.

Steps to reproduce

  1. Create a FileUpdateTransaction for file 0.0.111 with the proper fee payer and signatures.
  2. Execute the transaction: final var transactionResponse = transaction.execute(client);
  3. Get the receipt: receipt = transactionResponse.getReceipt(client);

Additional context

Solution