hashgraph / hashgraph/hedera-sdk-reference
Add optional parameter to `ContractCreateFlow` to avoid File removal
- Dominant language
- HTML
- Stars
- 7
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Problem
`ContractCreateFlow` removes the file used as a template for the smart contract deployment.
Many times, especially in development or testing environments, the removal is not useful and forces the developer to upload the smart contract again, instead of using the previous created file.
### Solution
- Add a parameter to the `ContractCreateFlow` to let the user override the default behavior, keeping the smart contract template file after the deploy.
- `ContractCreateFlow` should return the FileId to the user (via return value or debug/info logs), so it can be easily used later.
- By default, the removal happens as usual.
### Alternatives
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.