Skip to content

perf: optimize trace decoding by making identity fetching non-blocking #3236

@mattsse

Description

@mattsse

Component

Forge

Describe the feature you would like

Ref #3006

Decoding traces for better output can make use of etherscan or sig.eth.samczsun.com

both require API requests, the tracing decoding is currently blocking, which means we have code that looks like:

RuntimeOrHandle::new().block_on(fut)

we could solve this by making everything async or use a background task with channels instead

since there's only 1 identifier for the entire suit, the latter makes sense, this way we still keep the non async test interface but can use async decoding

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-internalsArea: internalsA-tracingArea: tracingC-forgeCommand: forgeT-perfType: performancefirst issueA good way to start contributing

    Type

    No type

    Projects

    Status

    Next Up

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions