hedera-json-rpc-relay icon indicating copy to clipboard operation
hedera-json-rpc-relay copied to clipboard

Explore a FileDelete clean up task for old contract create files

Open Nana-EC opened this issue 1 year ago • 0 comments

Problem

Currently when a contract bytecode is greater than 5120 bytes we utilize HFS to temporarily hold the contract byte code until contract creation. However, in teh past we didn't always clean up the file after use

Solution

Explore a new flow for the relay in which we could run an operation that would explore the historical files used in this flow and clean them up. This could take the form of a one time migration that runs on startup in the case a flag is enabled

Alternatives

No response

Nana-EC avatar Mar 13 '24 18:03 Nana-EC