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 deploying a large contract using EthereumFlow() I get INVALID_FILE_ID. The file uploaded to the network is always truncated at 4096 bytes. The same contract can be successfully deployed using ContractCreateFlow (the file size is 27034 before it is deleted).
The problem is with EthereumFlow.createFile()/createFileAsync(). FileCreateTransaction does not call setKeys() and thus creates an immutable file. An attempt to call FileAppendTransaction() fails with UNAUTHORIZED but the error goes unnoticed as no receipt is requested and fileId is returned representing a truncated file.
When deploying a large contract using EthereumFlow() I get INVALID_FILE_ID. The file uploaded to the network is always truncated at 4096 bytes. The same contract can be successfully deployed using ContractCreateFlow (the file size is 27034 before it is deleted).
The problem is with EthereumFlow.createFile()/createFileAsync(). FileCreateTransaction does not call setKeys() and thus creates an immutable file. An attempt to call FileAppendTransaction() fails with UNAUTHORIZED but the error goes unnoticed as no receipt is requested and fileId is returned representing a truncated file.
reference in Java SDK: hiero-ledger/hiero-sdk-java#2232
The text was updated successfully, but these errors were encountered: