-
Notifications
You must be signed in to change notification settings - Fork 15
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/celestia da client #44
Draft
heemankv
wants to merge
23
commits into
main
Choose a base branch
from
feat/celestia-da-client
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should we not have a |
heemankv
force-pushed
the
feat/celestia-da-client
branch
2 times, most recently
from
July 20, 2024 06:48
21de5fb
to
4ae07a0
Compare
heemankv
force-pushed
the
feat/celestia-da-client
branch
from
July 20, 2024 09:47
4ae07a0
to
b1223cd
Compare
heemankv
added
the
deferred
This PR is ready but should not be merged at the current time, contact manager to know more.
label
Aug 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
deferred
This PR is ready but should not be merged at the current time, contact manager to know more.
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR : This PR includes code for utilising Celestia as a DA client || Resolves Issue #43.
celestia-node - Steps :
celestia-node
, preferred impl here.celestia-node
, see here.Shortcut method to run Celestia as DA :
.celestia-light-<network_type>/keys
to.celestia-light/keys
, check if account is getting detected, see here.Insomnia Json for RPC calls
Celestia Da Client :
Implements 4 methods from Da_Client_Interface.
publish_state_diff
: converts state_diff to blobs and publishes them to celestia, waits for height_id, sends height_id back as external_id. Uses blob.Submit.verify_inclusion
: picks up external_id and converts it to height_id, fetches inclusion status. Uses blob.GetAll.blob.GetAll
since it doesn't need Commitment id.max_blob_per_txn
: returns predefined value for max blobs to use per transaction. Defaults to 1, No Docs found.max_bytes_per_blob
: returns predefined value for max bytes in a blob. Uses 1974272.Tests :
Current Status :
verify_inclusion
fails with un-synced Blocks. stuck at1507551
.