-
Notifications
You must be signed in to change notification settings - Fork 167
Error: Contract transaction couldn't be found after 50 blocks #92
Comments
Tried removing the build folder to overwrite existing addresses. Didn't work Tried running Tried suggestion from trufflesuite/truffle#852 to not wrap the hd-wallet-provider in a function. Didn't work. Tried uninstalling an reinstalling truffle as a global npm dependency. DIdn't work Tried rebooting (you never know, right? :) ) Didn't work. Tried upgrading Tried running When running migrations on another network (eg testRPC or ganache) everything is fine. I also have no idea how to reproduce the error, possibly I interrupted a migration in progress. |
I just cleaned my development network. Issue still persists, as you can see I just did a succesful deploy on ganache (5777)
|
@cgewecke seeing as you have handled previous similar issues, do you have any suggestions? I will try truffle 5.0.0 on a new branch now. Edit: On Edit2: Same version (5.0.3 and web3-one for wallet) but wrapping provider in a function returns errors instead of hanging:
|
I just reset my miners and node (docker-compose up --build) , upped verbosity to three so I can see that miners are in sync (they are) and now it migrates... Must have been a chain problem I suppose... Even though I had reset my chain before. Probably another hint that this was a problem with my chain was that the "not found within 50 blocks" error almost came instantly , despite a 5 second blocktime. The chain however was running, because I could succesfully query the chainID and geth version. I'm a bit confused about this still, but at least I can continue development. |
Hi,
I am using hd-wallet-provider to sign deployments on a 0 gasPrice local network.
deployments always went fine, I even redeployed on my local network yesterday. But since this morning I'm getting an error on ANY migration file I try to run.
"Error; Contract transaction couldn't be found after 50 blocks"
I just pruned my entire docker state to deploy a new local network.
Despite running with the
--reset
flag, truffle does not overwrite the existing contracts I see intruffle networks
CLIENT=dev truffle migrate --reset --network development --verbosity-prc
Truffle version
4.1.15
(Migrating to 5.0.0 is not possible/simple for me currently as I use some new reserved keywords so its a bit of extra work)This is the last bit of output:
Similar issues:
trufflesuite/truffle-migrate#15
trufflesuite/truffle#852
The text was updated successfully, but these errors were encountered: