This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
srml-contract: Reuse instrumented code #1040
Labels
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
Milestone
Before execution smart-contract code must be instrumented (e.g. with gas metering). Now, it is performed each time before execution of smart-contract but this is wasteful since the result of instrumentation is almost always the same. The caveat is that instrumentation depends on gas schedule (which can be changed by governance procedures), and we have to make sure that the instrumented code was created with a matching gas schedule.
The text was updated successfully, but these errors were encountered: