-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
The ContractCreateFlow
does not take advantage of newer features of HAPI to reduce the number and cost of transactions. Same issue in all SDKs.
Solution
- The initcode file is created unconditionally instead of directly using
ContractCreateTransaction.bytecode
if it fits within a single transaction. File append and delete would likewise not be needed if bytecode is populated. FileCreateTransaction
partial bytecode is limited to 2048 instead of a larger size closer to max HAPI size 6 KiBFileAppendTransaction
sets chunk size to 2048 instead of a size closer to max HAPI size 6 KiB
Alternatives
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request