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

Fetch logs filtered by block number instead of block hash for FEVM #504

Merged
merged 2 commits into from
May 2, 2024

Conversation

nikugogoi
Copy link
Collaborator

@nikugogoi nikugogoi commented May 2, 2024

Part of Investigate subgraph watchers lagging behind head

  • Fetch logs by block number if upstream eth server is FEVM
    • In realtime sync, fetching logs by block hash has started taking longer time ~1min
    • Fetching logs by block number takes ~10sec
  • Use node-fetch instead of ethersjs for eth_getLogs RPC method to fetch logs
    • ethersjs is taking longer time for eth_getLogs requests ~50sec

@nikugogoi nikugogoi self-assigned this May 2, 2024
@nikugogoi nikugogoi merged commit edaec5a into main May 2, 2024
2 checks passed
@nikugogoi nikugogoi deleted the ng-fevm-get-logs branch May 2, 2024 10:34
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