Skip to content

Longer Running Processes Disrupted by eth_getLogs/eth_getChainId callsΒ #2885

@radleylewis

Description

@radleylewis

Overview

In our use case we are decrypting messages within the context of our MetaMask Snap. This process is quite time consuming (up to approx. 100 seconds). Our specific use case does not invoke calls to the network, however, the library used does invoke the eth_getLogs and eth_getChainId calls. In the case of their failure, the long running decryption process is interrupted.

Question

Short of changing the library code making the calls, is there a way to suspend or prevent such calls (or protect a longer running process within the context of the snap from being disrupted)?

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