Skip to content

Respect block limits when fetching transactions from persistence #330

Closed

Description

@rpanic

Currently we retrieve all transactions that are stored in the TransactionStorage, then order/simulate them, and only then apply the given limit.
This is very bad for performance for cases where the mempool is filled and will create a lot of performance and memory bottlenecks in those cases.
A fix for this would be (since we don't know what percentage of transactions will be skipped/removed) to retrieve transactions just in time by the execution module

Activity

  1. moved this to Todo in Main Boardon Nov 13, 2025
  2. moved this from Todo to In Progress in Main Boardon Jan 16, 2026
  3. moved this from In Progress to In Review in Main Boardon Jan 16, 2026
  4. moved this from In Review to Done in Main Boardon Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions