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

fix: better local default for new_block_timeout #22

Closed
wants to merge 3 commits into from

Conversation

antazoey
Copy link
Member

What I did

help prevent unnecessary timeouts

How I did it

How to verify it

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
  • New test cases have been added and are passing
  • Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

self.chain_manager.provider.network.name.endswith("-fork")
or self.chain_manager.provider.network.name == LOCAL_NETWORK_NAME
):
settings.NEW_BLOCK_TIMEOUT = int(timedelta(days=1).total_seconds())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving, but playing catch-up here and don't have proper context, please excuse my ignorance. If it's local or not provided we set the time out to a day? What scenario or setup might trigger this, or would there be a different value to consider?

@antazoey antazoey closed this Aug 11, 2023
@antazoey antazoey deleted the fix/better-local-default branch December 20, 2023 22:53
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.

2 participants