Skip to content

TransactionLogger.waitForIndexer waits for failed transactions and transactions that have already been found #363

Closed
@joe-p

Description

@joe-p

Subject of the issue

There are currently two issues with waitForIndexer

  1. waitForIndexer does not track which transactions have already been found, meaning it will waste time waiting for a transaction that is already known to be in indexer
  2. waitForIndexer will wait (unscessfully) for failed transactions to show up indexer

There are two potential solutions

  1. Use round instead of transaction ids in waitForIndexer (part of fix: waitForIndexer waiting for transactions that failed #358)
  2. Pop transactions that have been found or failed (likely a separate array)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions