Restart the block filter loop automatically if it crashes. This sometimes happens from a temporary loss of internet connection. previously you'd have to either restart brownie altogether, or web3.reset_middlewares()
How to verify it
I've been running brownie locally with these edits for a week or so now and it seems to work. Tried suspending my laptop a few times, as well as restarting my router to mess up the connection.
What I did
Restart the block filter loop automatically if it crashes. This sometimes happens from a temporary loss of internet connection. previously you'd have to either restart brownie altogether, or
web3.reset_middlewares()
How to verify it
I've been running brownie locally with these edits for a week or so now and it seems to work. Tried suspending my laptop a few times, as well as restarting my router to mess up the connection.