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

[DA_INDEXER] Celestia blobs indexer #831

Merged
merged 6 commits into from
May 1, 2024

Conversation

AllFi
Copy link
Contributor

@AllFi AllFi commented Apr 10, 2024

This PR introduces a simple indexer for Celestia blobs and a service to fetch blobs without the necessity to know a namespace beforehand. The Celestia indexer runs on top of the Celestia light node.

The name da-indexer was chosen because this service might potentially be extended to support other DA solutions (Avail, Eigen DA, etc.).

There are two potential use cases for this service:

  1. This service might be useful for indexing Optimism-like rollups that use Celestia as a DA layer. The L1 transactions for this kind of rollup will include the height and commitment of the blob on Celestia. https://github.com/celestiaorg/optimism/blob/0ce4f69ef4fd113fae6f3ea0c99ea99a1dfc9c67/op-batcher/batcher/driver.go#L510
  2. This service can also be used on UI to display the data of the batches in rollup settlement transactions on L1.

I've tested the indexer on the Celestia mainnet, and it seems to be working properly.

@AllFi AllFi requested a review from rimrakhimov April 22, 2024 15:48
@rimrakhimov
Copy link
Member

rimrakhimov commented May 1, 2024

Imo, looks great

@AllFi Can we merge it?

@AllFi
Copy link
Contributor Author

AllFi commented May 1, 2024

Hi, @rimrakhimov! Thank you for the review!

The current state of the indexer should be sufficient to cover the first Blockscout-Celenium use case, so I guess we can merge it.

@rimrakhimov rimrakhimov merged commit 9f7c6b0 into blockscout:main May 1, 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.

2 participants