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

Having static_pool_data with old last_updated_block can cause rate limit? #392

Open
NIXBNT opened this issue Feb 23, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@NIXBNT
Copy link
Collaborator

NIXBNT commented Feb 23, 2024

Bug Description

#391 relevant

  • Summary of the bug
    I think the smallest last_updated_block in the static_pool_data is being set as the earliest block to start fetching events from.
    This seems to override the alchemy_max_block_fetch and can cause rate limiting

Severity (High/Medium/Low)

  • Rate the severity. High: "I can't/won't use the bot due to this", Low: "I can work around it", Medium: (anything in between).
    Moderate - May cause unexpected limiting

Steps to Reproduce

  • Step-by-step reproduction method, include environment information if relevant - such as Python version and OS.
    Put a small blocknumber in the last_updated_block field of the relevant static_pool_data.csv

Expected Behavior

  • What should happen
    Blocks should be fetched from current block minus alchemy_max_block_fetch

Actual Behavior

  • What currently happens
    Blocks start getting fetched at the oldest block number from the static data

Impact Analysis (to be filled by contributors)

  • Automated Tests: Are there existing tests covering this? Do we need new tests?
  • Risks: Potential areas affected by this bug and its probable fix
  • Performance: Is this bug affecting performance?
  • Monitoring: Does this affect any current monitoring? Any new alerts needed?
  • Logging: Any changes required in logging?
  • Documentation: Updates needed in documentation?
@NIXBNT NIXBNT added the bug Something isn't working label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants