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

feat(da_indexer): add l2BatchMetadata endpoint #999

Merged
merged 11 commits into from
Sep 9, 2024

Conversation

AllFi
Copy link
Contributor

@AllFi AllFi commented Aug 1, 2024

This PR introduces a new l2BatchMetadata endpoint, which can be used to fetch information about an L2 batch by blob height, namespace, and commitment, provided the blob contains an L2 batch. To enable this functionality, the service requires a configuration file that stores the mapping of namespaces to Blockscout instances. The service is intended to act as a proxy between Celenium and specific Blockscout instances.

The service can be run independently of the indexer. Since caching is not yet implemented, the service does not require a database.

@AllFi AllFi marked this pull request as ready for review August 16, 2024 10:15
@AllFi AllFi requested a review from rimrakhimov August 16, 2024 10:18
@AllFi AllFi changed the title [DA_INDEXER] Implement l2BatchMetadata endpoint feat(da_indexer): add l2BatchMetadata endpoint Sep 9, 2024
@AllFi AllFi merged commit 6f40512 into blockscout:main Sep 9, 2024
4 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.

2 participants