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

fix: log warning regarding transactions with future-nonces when mining in eager mode #4166

Merged
merged 8 commits into from
Mar 1, 2023

Conversation

MicaiahReid
Copy link
Contributor

@MicaiahReid MicaiahReid commented Jan 17, 2023

@benams ran into a confusing situation in which future-nonce transactions that are sent to Ganache running in eager mining mode appear to hang indefinitely, rather than being mined or rejected. This is expected behavior in eager mode, as Ganache does not return the hash until after it is mined. To help alleviate the confusion we now log a message about the status of these kinds of transactions.

Closes #4165

@davidmurdoch davidmurdoch changed the title fix: immediately return transaction hash of future-nonce transactions when mining in eager mode improve: log warning regarding transactions with future-nonces when mining in eager mode Feb 23, 2023
@davidmurdoch davidmurdoch marked this pull request as ready for review February 23, 2023 21:59
@davidmurdoch davidmurdoch changed the title improve: log warning regarding transactions with future-nonces when mining in eager mode improvement: log warning regarding transactions with future-nonces when mining in eager mode Feb 23, 2023
@davidmurdoch davidmurdoch changed the title improvement: log warning regarding transactions with future-nonces when mining in eager mode fix: log warning regarding transactions with future-nonces when mining in eager mode Feb 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sending future nonce transaction in eager mode causes Ganache to hang
3 participants