Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Sending future nonce transaction in eager mode causes Ganache to hang #4165

@MicaiahReid

Description

@MicaiahReid

If a transaction is sent with a future nonce while in eager mining mode, Ganache hangs indefinitely and never returns a response for the transaction.

This happens the blockchain's queueTransaction function. A future nonce transaction will return false for isExecutable, yet the code path still leads to awaiting transaction.once("finalized"), which won't happen until the nonce gap is filled.

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