Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Customize timeout time (1.2) #3081

@dmihal

Description

@dmihal

Transactions that are not mined within a period of time will fail with the following message:

Transaction was not mined within750 seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!

However, given the current network congestion, it's not uncommon for transactions to take long periods of time to be mined.

The amount of time and number of blocks to wait before timing out are currently hardcoded as constants in web3-core-method.

It should be possible for applications to customize these options so they can avoid transactions failing when the network is congested.

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