Open paultiplady opened 6 years ago
Digging a bit more, this error is not showing up on geth version 1.7.3-stable
(built from source), but it is on geth 1.8.1 (bundled with Mist). Could be some changes to the RPC format, or something else wacky going on.
I'll update as I find further info, won't have much more time to look at this today.
@paultiplady Yes, please follow https://github.com/ethereum/web3.py/issues/655 for progress. It's a change in how geth 1.8 works that isn't addressed in web3.py yet.
What was wrong?
When deploying a contract to Rinkeby, and immediately starting a wait for the transaction receipt, an exception is raised:
The code in question is:
If I insert a
sleep(60)
or sit in the debugger until the txn has committed on Etherscan, the call succeeds.The exception is being raised from here: https://github.com/ethereum/web3.py/blob/master/web3/manager.py#L102
Looks like
wait_for_transaction_receipt
should perhaps handle exceptions generated in web3.py?https://github.com/ethereum/populus/blob/master/populus/utils/wait.py#L89-L95
Cute Animal Picture