Skip to content

emulator: Add support for eth_getBlockReceipts emulation on unsupported chains #6069

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SohZHong
Copy link

This PR introduces an emulator service that enables eth_getBlockReceipts support for EVM-compatible chains that do not natively implement it (e.g. Oasis Sapphire).

Changes:

  • Added emulator/index.js (Express server that emulates eth_getBlockReceipts)
  • Added emulator/Dockerfile for Docker compatibility
  • Modified docker-compose.yml to support optional emulator service
  • Updated .gitignore to exclude node_modules
  • Updated README.md with instructions on enabling the emulator

This is useful for subgraph indexing on networks like Oasis, where the standard receipts RPC method is not available.

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