eth-brownie / brownie

A Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.
https://eth-brownie.readthedocs.io
MIT License
2.64k stars 550 forks source link

dropped and replaced transaction hangs brownie while repeatedly hitting infura 18,091 times with eth_getTransactionReceipt #850

Closed sabotagebeats closed 3 years ago

sabotagebeats commented 3 years ago

Environment information

What was wrong?

Please include information like:

sent a transaction transaction was dropped and replaced on etherscan no error, just repeatedly hi infura 18,091 while waiting for transaction to confirm for 4 hours

How can it be fixed?

Fill this in if you know how the bug could be fixed. if transaction is dropped and replaced it should work with the replaced transaction

sabotagebeats commented 3 years ago

image

iamdefinitelyahuman commented 3 years ago

Oh my :grimacing: Was the replacement transaction broadcast within Brownie or via another program?

I think this was fixed in #846 but I'll have a look again to be sure.

sabotagebeats commented 3 years ago

I believe it's from using the same account key in different instances of brownie console simultaneously so the nonce is not getting updated.

sabotagebeats commented 3 years ago

I will try updating brownie and also try using different keys for different simultaneously executing transactions

sabotagebeats commented 3 years ago

Haven't experienced this since recent versions. Closing issue and will reopen if I encounter the problem again.