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 issue with missing topics #69

Merged
merged 5 commits into from
Oct 6, 2024
Merged

Fix issue with missing topics #69

merged 5 commits into from
Oct 6, 2024

Conversation

fhenneke
Copy link
Contributor

@fhenneke fhenneke commented Oct 4, 2024

The PR closes #68.

It also adds a test for the block which broke the script.

At the moment the test should fail due to a missing node url secret.
Tests are using a public MEV blocker RPC now and seem to pass. I had to work around the unusual setup of the data fetcher which requires the existence of of a sleep environment variable even though that variable is not needed for fetching blockchain data.

To check that the change actually changes behavior, you can comment out the changed line locally and then run the test via pytest tests/e2e/test_blockchain_data.py. It should fail without the change and pass with the change.

monkey patching environment variables failed due to a strange config for sleep times
@fhenneke fhenneke mentioned this pull request Oct 4, 2024
Copy link
Contributor

@harisang harisang left a comment

Choose a reason for hiding this comment

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

Looks good!

@harisang harisang merged commit c9d015d into main Oct 6, 2024
3 checks passed
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.

Code is crashing due to log without topic
2 participants