Skip to content

Optimize gas estimations to happen only once per step #168

@0xOmarA

Description

@0xOmarA

In differential benchmarking we would like for the gas estimations to only happen once per transaction such that we're not bottlenecked by gas estimates in the benchmarks.

One way to do that would be to cache the gas estimate with the following cache key:

struct CacheKey {
    metadata_file_path: PathBuf,
    case_idx: CaseIdx,
    step_path: StepPath
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions