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

docs: update blobstream to SP1 version from Blobstream X #1680

Merged
merged 17 commits into from
Sep 10, 2024

Conversation

jcstein
Copy link
Member

@jcstein jcstein commented Aug 21, 2024

Overview

PREVIEW

New menu
Screenshot 2024-08-27 at 6 52 08 PM

Collapsed new menu
Screenshot 2024-08-27 at 6 46 20 PM

TODO:

Adds SP1 Blobstream page

Summary by CodeRabbit

Summary by CodeRabbit

  • Documentation
    • Enhanced clarity and conciseness of instructions for deploying SP1 Blobstream.
    • Streamlined introduction for a clearer overview of the deployment process.
    • Restructured sections for better flow, simplifying environment variable setup.
    • Updated references and links to reflect the SP1 Blobstream context.
    • Introduced a new section for SP1 Blobstream audits, providing direct access to audit resources.
    • Provided a structured guide for deploying SP1 Blobstream contracts with actionable steps.
    • Added new sections detailing implementations of Blobstream and an explanation of SP1 Blobstream.
    • Created a comprehensive overview of Blobstream X, detailing its functionality and deployment process.

@jcstein jcstein self-assigned this Aug 21, 2024
Copy link
Contributor

coderabbitai bot commented Aug 21, 2024

Walkthrough

The document revisions focus on enhancing clarity and conciseness for deploying SP1 Blobstream. Key sections have been streamlined to emphasize essential actions while removing redundancies. The overall structure now guides developers more effectively, improving user-friendliness and accessibility across various technical backgrounds.

Changes

Files Change Summary
developers/blobstream-x-deploy.md, developers/blobstream-x-requesting-data-commitment-ranges.md, developers/celestia-node-key.md Significant modifications for clarity and conciseness in deployment instructions. References have been updated to reflect "SP1 Blobstream" instead of "BlobstreamX," indicating a focus shift in the deployment strategy.
.vitepress/config.ts Modifications to the sidebar configuration, including changes to labels and links for Blobstream operators and deployments, reflecting a shift to SP1 context. A new section for "SP1 Blobstream audits" has been added.
developers/sp1-blobstream-deploy.md New document outlining the deployment process for SP1 Blobstream, including steps for cloning the repository, configuring the environment, and deploying contracts.
developers/blobstream-contracts.md Addition of a prev key linking to "New SP1 Blobstream deployments," enhancing navigation within the documentation.
developers/blobstream-proof-queries.md Updated link for "Requesting data commitment ranges" to a more specific path related to Blobstream, indicating a reorganization of content.
developers/blobstream.md Introduction of new sections detailing different implementations of Blobstream and a specific explanation of SP1 Blobstream, improving informational content.
developers/blobstreamx.md New documentation providing an overview of Blobstream X, its functionality, and deployment process, emphasizing its previous implementation.

Possibly related PRs

Suggested labels

documentation

Poem

🐰 In fields of code where rabbits play,
New paths for BlobstreamX now lay.
With simpler steps and clearer ways,
We hop along through brighter days!
No more confusion, just a cheer,
For easy deployments, we hold dear! 🐇

Tip

Announcements
  • The review status is no longer posted as a separate comment when there are no actionable or nitpick comments. In such cases, the review status is included in the walkthrough comment.
  • We have updated our review workflow to use the Anthropic's Claude family of models. Please share any feedback in the discussion post on our Discord.
  • Possibly related PRs: Walkthrough comment now includes a list of potentially related PRs to help you recall past context. Please share any feedback in the discussion post on our Discord.
  • Suggested labels: CodeRabbit can now suggest labels by learning from your past PRs in the walkthrough comment. You can also provide custom labeling instructions in the UI or configuration file.
  • Possibly related PRs, automatic label suggestions based on past PRs, learnings, and possibly related issues require data opt-in (enabled by default).

Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b1a9b58 and e971abf.

Files selected for processing (7)
  • .vitepress/config.ts (1 hunks)
  • developers/blobstream-contracts.md (3 hunks)
  • developers/blobstream-offchain.md (1 hunks)
  • developers/blobstream-proof-queries.md (18 hunks)
  • developers/blobstream.md (4 hunks)
  • developers/blobstreamx.md (1 hunks)
  • developers/sp1-blobstream-deploy.md (1 hunks)
Files skipped from review due to trivial changes (1)
  • developers/blobstream-offchain.md
Additional context used
LanguageTool
developers/blobstreamx.md

[style] ~72-~72: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing.
Context: ...to deploy the contract. Then, you will need to run a relayer, which will generate the ...

(REP_NEED_TO_VB)

developers/blobstream-proof-queries.md

[uncategorized] ~1045-~1045: Loose punctuation mark.
Context: ...leProof proof; } ``` - tupleRootNonce: the nonce at which Blobstream committed...

(UNLIKELY_OPENING_PUNCTUATION)

Markdownlint
developers/blobstream.md

37-37: null
Link fragments should be valid

(MD051, link-fragments)


117-117: Expected: asterisk; Actual: dash
Unordered list style

(MD004, ul-style)


118-118: Expected: asterisk; Actual: dash
Unordered list style

(MD004, ul-style)


119-119: Expected: asterisk; Actual: dash
Unordered list style

(MD004, ul-style)

Additional comments not posted (7)
developers/sp1-blobstream-deploy.md (1)

1-40: LGTM!

The file provides clear and well-structured instructions for deploying SP1 Blobstream to a new chain. The instructions cover all the necessary steps and provide helpful notes.

developers/blobstreamx.md (1)

1-72: LGTM!

The file provides a clear and comprehensive overview of Blobstream X, including its architecture, workflow, and deployment process. The diagrams are helpful in illustrating the concepts.

Tools
LanguageTool

[style] ~72-~72: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing.
Context: ...to deploy the contract. Then, you will need to run a relayer, which will generate the ...

(REP_NEED_TO_VB)

developers/blobstream-contracts.md (2)

26-26: LGTM!

The installation command has been updated to reflect the change in the repository from succinctlabs/blobstreamx to celestiaorg/blobstream-contracts, indicating a transition to a different or updated version of the Blobstream contracts.


54-58: LGTM!

The variable names in the example contract have been updated to remove the "X" suffix, streamlining the naming conventions and improving clarity regarding the Blobstream contract being utilized.

Also applies to: 64-64, 71-71

developers/blobstream-proof-queries.md (3)

5-5: LGTM!

The link URL update improves navigation to the correct Blobstream X documentation page.


46-56: Looks good!

The code block changes improve the documentation by clearly showing the Golang bindings for both Blobstream X and SP1 Blobstream. This makes it easier for developers to find the relevant links.


95-96: Documentation terminology updates look good!

The changes that replace "Blobstream X" with either "Blobstream" or "SP1 Blobstream" improve clarity and consistency across the document. They correctly reflect the focus on SP1 Blobstream as the latest implementation.

Also applies to: 116-117, 118-125, 163-163, 251-255, 720-798, 1030-1034, 1045-1045, 1110-1125, 1133-1262, 1307-1555


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@jcstein jcstein requested a review from rach-id August 21, 2024 19:36
Copy link
Contributor

github-actions bot commented Aug 21, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://celestiaorg.github.io/docs-preview/./pr-1680/
on branch main at 2024-09-10 08:08 UTC

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (2)
developers/blobstream-x-deploy.md (2)

13-23: Consider mentioning branch or tag checkout.

To ensure users are working with the correct version, consider adding a note about checking out a specific branch or tag after cloning the repository.

 cd sp1-blobstream
+ # Optionally, checkout a specific branch or tag
+ git checkout <branch-or-tag>

25-29: Add guidance on locating sp1-contracts and sp1-sdk versions.

Consider adding a note on where to find the appropriate sp1-contracts and sp1-sdk versions to match.

 a. Deploy your own SP1 Verifier from `sp1-contracts` matching your `sp1-sdk` version.
+ # You can find the versions in the respective repositories or documentation.
Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 87fef17 and 64afd21.

Files selected for processing (1)
  • developers/blobstream-x-deploy.md (1 hunks)
Additional comments not posted (2)
developers/blobstream-x-deploy.md (2)

9-9: Introduction is clear and concise.

The purpose of the document is well-stated, providing a good overview for the reader.


31-34: Prover setup instructions are clear.

The options for local and network proving are well-explained.

@jcstein jcstein changed the title docs: simplify deploy blobstream page docs: update blobstream to SP1 version from Blobstream X Aug 23, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (2)
developers/sp1-blobstream-deploy.md (2)

25-29: Consider adding more guidance for deploying a custom verifier.

While the instructions mention deploying a custom SP1 Verifier, providing a link to detailed instructions or examples could be helpful for users unfamiliar with the process.

Consider adding a link to a guide or documentation on deploying a custom SP1 Verifier.


31-35: Provide context for hardware recommendations.

The hardware recommendation is clear, but explaining why such specifications are necessary could help users understand the requirements better.

Consider adding a brief explanation of the computational demands of the prover to justify the hardware recommendation.

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 64afd21 and 3412bda.

Files ignored due to path filters (1)
  • public/audits/SP1_Blobstream_Ottersec_Audit.pdf is excluded by !**/*.pdf
Files selected for processing (4)
  • .vitepress/config.ts (1 hunks)
  • developers/blobstream-x-requesting-data-commitment-ranges.md (1 hunks)
  • developers/celestia-node-key.md (1 hunks)
  • developers/sp1-blobstream-deploy.md (1 hunks)
Files skipped from review due to trivial changes (2)
  • developers/blobstream-x-requesting-data-commitment-ranges.md
  • developers/celestia-node-key.md
Additional comments not posted (3)
developers/sp1-blobstream-deploy.md (1)

7-9: Introductory content is clear and concise.

The introduction effectively sets the context for the document.

.vitepress/config.ts (2)

724-749: Sidebar configuration changes are accurate and consistent.

The updates to text labels and links for SP1 Blobstream align with the PR objectives and improve clarity.


Line range hint 1-723: No changes outside the sidebar configuration.

The rest of the file remains unchanged and is consistent with previous configurations.

Also applies to: 750-750

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 3412bda and 572a195.

Files selected for processing (1)
  • .vitepress/config.ts (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .vitepress/config.ts

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 572a195 and d2a719a.

Files selected for processing (5)
  • .vitepress/config.ts (1 hunks)
  • developers/blobstream-contracts.md (1 hunks)
  • developers/blobstream-proof-queries.md (1 hunks)
  • developers/blobstream.md (2 hunks)
  • developers/sp1-blobstream-deploy.md (1 hunks)
Files skipped from review due to trivial changes (2)
  • developers/blobstream-contracts.md
  • developers/blobstream-proof-queries.md
Files skipped from review as they are similar to previous changes (1)
  • developers/sp1-blobstream-deploy.md
Additional comments not posted (4)
developers/blobstream.md (3)

30-33: LGTM!

The new section "Implementations of Blobstream" provides a clear structure for users to understand the different variants of Blobstream available.

The code changes are approved.


65-74: LGTM!

The new section "What is SP1 Blobstream?" provides essential information about SP1 Blobstream and directs users to related deployment documentation.

The code changes are approved.


Line range hint 708-733: LGTM!

The new items under "SP1 Blobstream" in the sidebar configuration provide direct access to relevant audit resources and deployment documentation for SP1 Blobstream.

The code changes are approved.

.vitepress/config.ts (1)

708-733: LGTM!

The new items under "SP1 Blobstream" in the sidebar configuration provide direct access to relevant audit resources and deployment documentation for SP1 Blobstream.

The code changes are approved.

Copy link
Member

@rach-id rach-id left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good first start 👍

developers/blobstream.md Outdated Show resolved Hide resolved
developers/blobstream.md Outdated Show resolved Hide resolved
Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between d2a719a and b1a9b58.

Files selected for processing (2)
  • developers/blobstream.md (2 hunks)
  • developers/sp1-blobstream-deploy.md (1 hunks)
Files skipped from review as they are similar to previous changes (2)
  • developers/blobstream.md
  • developers/sp1-blobstream-deploy.md

jcstein and others added 2 commits August 28, 2024 13:47
Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
@jcstein jcstein requested a review from rach-id August 28, 2024 17:48
* docs: update to SP1 docs

* chore: correct code groups

* chore: correct code groups

* chore: correct code groups

* chore: add bindings links

* chore: nits

* chore: nits
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.

3 participants