-
Notifications
You must be signed in to change notification settings - Fork 234
Description
Goal
The Goal of this issue is to remove our da interface and remove the da interface from Celestia-node so we can use their standard API.
Description
Currently we have a DA interface that abstracts submission and retrieval from celestia node. This was done in order to remove the dependency on celestia-node because they import celestia-app and core which is a combination of forks and changes of the cosmos stack.
Their API is located here. Interestingly we should be able to subscribe to a namespace once we have caught up to the head of the chain. This would make the system more efficient as we dont need to go gets and handle future height errors all the time. This will allow us to reduce the retry system complexity as well.
In order to achieve this we will need to copy or vendor some pkgs from celestia-node into our repo. This was shared as something we will need to handle https://github.com/celestiaorg/celestia-node/blob/5482cd4e1901176a854f37d9eee900ef00735207/nodebuilder/blob/blob.go#L16.
Their api has many endpoints we could look at using to make the system more robust like syncing or head to understand where the celestia node is on startup.
Acceptance Criteria
- Removal of DA interface
- possible removal of the DA package entirely?
- Be able to submit and retrieve directly from the celestia node public api without our DA interface
Related Tasks
Dependencies and Risks
- Complexity in copying and working with jsonrpc could make our dependency graph larger
- We need to make sure to not import celestia-node
Notes and References
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status