Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

srml-contract: Reuse instrumented code #1040

Closed
@pepyakin

Description

@pepyakin

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.

Metadata

Metadata

Assignees

Labels

I9-optimisationAn enhancement to provide better overall performance in terms of time-to-completion for a task.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions