Skip to content

Request Node in "normal mode" doesn't wait for block confirmations #1108

@MantisClone

Description

@MantisClone

Problem

The fix in #1078 only affects the request-node when GRAPH_NODE_URL environment variable, is defined because tx.wait(blockConfirmations) was added:

  • in ethereum-storage-ethers.ts (used by the request node in "graph mode")
  • but not in ethereum-storage.ts (used by the request node in "normal mode").

Solution

Add tx.wait(blockConfirmations) in ethereum-storage.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions