Skip to content

make "cast run" faster #12711

@eyalc900

Description

@eyalc900

Component

Cast

Describe the feature you would like

Running cast run is painfully slow, since it performs an RPC call for each storage access.
But in most cases, it can run much, much faster:
Many RPC providers support debug_traceTransaction. Using the prestateTracer , the entire storage tree used by a transaction can be fetched at once.
Only if this trace command fails, the cast run should resort to the slot-by-slot access.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-featureType: featureT-needs-triageType: this issue needs to be labelled

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions