You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating or updating a file using the FileCreate or FileUpdate, if the contents are too large for a single transaction, a FileAppend is required to be created in addition to the FileCreate/Update.
FileAppend, on the other hand, can handle a large content because it does chunking of that content internally. It would be good to have FileCreate and FileUpdate to have this same functionality.
Solution
Refactor FileCreate, FileUpdate, and FileAppend to all share a base class. This base class will have the shared components, including the chunking logic currently located in FileAppend.
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem
Issued copied from JS SDK: hashgraph/hedera-sdk-js#2500
When creating or updating a file using the FileCreate or FileUpdate, if the contents are too large for a single transaction, a FileAppend is required to be created in addition to the FileCreate/Update.
FileAppend, on the other hand, can handle a large content because it does chunking of that content internally. It would be good to have FileCreate and FileUpdate to have this same functionality.
Solution
Refactor FileCreate, FileUpdate, and FileAppend to all share a base class. This base class will have the shared components, including the chunking logic currently located in FileAppend.
Alternatives
No response
The text was updated successfully, but these errors were encountered: