Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to caching middleware #1742

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Improvements to caching middleware #1742

merged 2 commits into from
Feb 12, 2024

Conversation

iamdefinitelyahuman
Copy link
Member

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.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 1ca4056 into master Feb 12, 2024
17 of 26 checks passed
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-cache branch July 3, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant