menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Truffle Suite

Sweet tools for smart contracts

Channels
Team

Transaction was not mined within 50 blocks...

December 4, 2020 at 4:03am

Transaction was not mined within 50 blocks...

December 4, 2020 at 4:03am
Is anyone familiar with this issue: https://github.com/ethereum/web3.js/issues/1102
This issue has been bugging me for the past few days. I've tried on both local and testnet chains. I've changed my web3 version numerous times. Any idea?

December 4, 2020 at 11:55pm

December 8, 2020 at 6:28pm
Have you tried playing around with your gas-related values? It could be that you have something configured too low.
I'm using Ganache:
Gas block limit: 6721975 Gas limit: 185097 Gas price: 2 Gwei Gas used: 123398
The transaction is mined by Ganache and an event is triggered. For some reason, I still get the error message: Transaction was not mined within 50 blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!
Other people on the issue earlier have also reported the same problem when using web3.js 1.2.9 on Metamask: https://github.com/ethereum/web3.js/issues/2104
Should I try to downgrade web3.js on Metamask?

December 9, 2020 at 4:23am
I found a solution, it can be found in the issue I linked earlier. I'm still wondering how to get it to work by calling the method directly.

December 23, 2020 at 4:35pm
Can you be more specific about what you mean by "calling the method directly"?