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: update tutorial to use quick start instead of GM #481

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

MSevey
Copy link
Contributor

@MSevey MSevey commented Oct 7, 2024

Overview

Related to #480

Summary by CodeRabbit

  • Documentation
    • Significantly updated the tutorial for deploying a rollup on Celestia's data availability network.
    • Redirected users to the "quick start" tutorial in the introduction.
    • Clarified the necessity of funding the wallet for all networks, including testnets.
    • Revised prerequisites and installation instructions for the rollkit CLI.
    • Simplified instructions by removing detailed steps for building a sovereign rollup.
    • Clarified configuration requirements for the rollkit start command.
    • Updated commands for querying the DA layer and obtaining authentication tokens.
    • Enhanced the final section with updated links for monitoring rollup activity.

Copy link
Contributor

coderabbitai bot commented Oct 7, 2024

Walkthrough

The pull request updates the celestia-da.md tutorial to streamline the process for deploying a rollup on Celestia's data availability network. Key modifications include referencing a new "quick start" tutorial, clarifying wallet funding requirements, and simplifying the prerequisites for installing the rollkit CLI. The configuration section specifies necessary flags for the rollkit start command, and the commands for interacting with the Celestia light node have been updated. The tutorial concludes with new links for monitoring rollup activity.

Changes

File Change Summary
tutorials/celestia-da.md - Updated introduction to reference "quick start" tutorial.
- Clarified funding wallet requirements.
- Simplified installation instructions for rollkit CLI.
- Removed section on building a sovereign rollup.
- Specified DA configuration flags for rollkit start command.
- Updated commands for querying DA layer and obtaining authentication token.
- Added updated links for monitoring rollup activity.

Possibly related PRs

Suggested reviewers

  • jcstein

🐇 In the Celestia night, we hop with glee,
A rollup so bright, as easy as can be!
With commands so clear, and links that shine,
Our tutorial's ready, it's simply divine!
So gather 'round, friends, let's roll and play,
In the world of Celestia, we'll hop all day! 🌟


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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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.

Copy link
Contributor

github-actions bot commented Oct 7, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://rollkit.github.io/docs-preview/./pr-481/
on branch main at 2024-10-08 13:34 UTC

@MSevey MSevey mentioned this pull request Oct 7, 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: 1

🧹 Outside diff range and nitpick comments (2)
tutorials/celestia-da.md (2)

Line range hint 16-22: LGTM: Streamlined light node instructions

The updated section effectively simplifies the instructions for running a Celestia light node across different networks. This change aligns well with the goal of streamlining the tutorial.

Consider adding a brief note or link for users who might need guidance on funding their wallet, especially for Mainnet Beta. This could help prevent potential confusion without cluttering the main instructions.


28-28: LGTM: Simplified prerequisites

The updated prerequisites section effectively streamlines the tutorial by referencing the quick start guide. This change aligns well with the PR objectives and makes the tutorial more accessible.

Replace the asterisk with a dash to maintain consistent formatting for unordered lists:

-* `rollkit` CLI installed from the [quick start](/tutorials/quick-start) tutorial.
+- `rollkit` CLI installed from the [quick start](/tutorials/quick-start) tutorial.
🧰 Tools
🪛 Markdownlint

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

(MD004, ul-style)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 1ad2d31 and be5e86b.

📒 Files selected for processing (1)
  • tutorials/celestia-da.md (3 hunks)
🧰 Additional context used
🪛 LanguageTool
tutorials/celestia-da.md

[duplication] ~44-~44: Possible typo: you repeated a word
Context: ..., let's query the DA layer start height using using our light node. ```bash DA_BLOCK_HEIGH...

(ENGLISH_WORD_REPEAT_RULE)

🪛 Markdownlint
tutorials/celestia-da.md

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

(MD004, ul-style)

🔇 Additional comments (5)
tutorials/celestia-da.md (5)

12-12: LGTM: Updated prerequisite reference

The change to reference the "quick start" tutorial instead of the "GM world rollup" tutorial aligns well with the PR objectives and improves the tutorial's flow.


32-42: LGTM: Clear DA configuration instructions

The updated section provides clear and concise instructions on the required DA configuration flags. The addition of information about the optional --rollkit.da_block_time flag is particularly helpful. This change enhances the tutorial's clarity and usefulness.


Line range hint 100-115: LGTM: Updated rollup initiation and explorer information

The updated command for initiating the rollup node correctly incorporates the new configuration flags introduced earlier in the tutorial. The additional information on viewing the rollup using block explorers, along with the up-to-date links for different networks, is very helpful for users to verify their rollup's operation.


Line range hint 117-119: LGTM: Effective conclusion

The "Next steps" section provides a concise and encouraging conclusion to the tutorial. It effectively wraps up the guide and motivates users to continue building with their newly deployed rollup.


Line range hint 1-119: Overall: Excellent update to the Celestia DA tutorial

This update to the Celestia DA tutorial successfully achieves the PR objectives by incorporating the quick start approach and streamlining the content. The changes improve the tutorial's clarity, relevance, and ease of use for developers looking to deploy a rollup on Celestia's data availability network.

Key improvements include:

  1. Updated prerequisites referencing the quick start tutorial
  2. Simplified instructions for running a Celestia light node
  3. Clear explanation of DA configuration flags
  4. Updated commands for interacting with the Celestia network
  5. Relevant information on block explorers for different networks

The minor issues identified (a typo and a formatting inconsistency) can be easily addressed. Overall, this update significantly enhances the quality and usefulness of the tutorial.

🧰 Tools
🪛 LanguageTool

[duplication] ~44-~44: Possible typo: you repeated a word
Context: ..., let's query the DA layer start height using using our light node. ```bash DA_BLOCK_HEIGH...

(ENGLISH_WORD_REPEAT_RULE)

🪛 Markdownlint

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

(MD004, ul-style)

tutorials/celestia-da.md Outdated Show resolved Hide resolved
tutorials/celestia-da.md Outdated Show resolved Hide resolved
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 and nitpick comments (1)
tutorials/celestia-da.md (1)

28-28: LGTM: Simplified prerequisites

The prerequisites section has been successfully streamlined to focus on the essential rollkit CLI installation from the quick start tutorial. This change aligns well with the PR objective and simplifies the setup process for users.

However, there's a minor formatting inconsistency:

To maintain consistency with Markdown formatting conventions, consider changing the asterisk to a dash:

-* `rollkit` CLI installed from the [quick start](/tutorials/quick-start) tutorial.
+- `rollkit` CLI installed from the [quick start](/tutorials/quick-start) tutorial.
🧰 Tools
🪛 Markdownlint

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

(MD004, ul-style)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between be5e86b and 8ae88aa.

📒 Files selected for processing (1)
  • tutorials/celestia-da.md (3 hunks)
🧰 Additional context used
🪛 Markdownlint
tutorials/celestia-da.md

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

(MD004, ul-style)

🔇 Additional comments (6)
tutorials/celestia-da.md (6)

12-12: LGTM: Updated introduction with quick start reference

The introduction has been successfully updated to reference the quick start tutorial, which aligns with the PR objective. The link is correctly formatted and provides clear guidance for users.


Line range hint 16-22: LGTM: Clarified light node setup instructions

The updates provide clearer instructions for setting up and funding a light node across different Celestia networks. This improvement enhances the user experience and aligns with the tutorial's objectives.

However, I noticed that the mention of Mainnet Beta has been removed from the list of networks. Could you please verify if this omission is intentional? If not, consider adding it back to ensure completeness.


32-41: LGTM: Clear DA configuration instructions

The "Configuring flags for DA" section has been effectively updated with specific instructions for the required DA configuration flags. The addition of information about the optional --rollkit.da_block_time flag is particularly helpful for advanced users.

The changes provide clear guidance and improve the overall quality of the tutorial.


44-62: LGTM: Clear instructions for DA layer interaction

The updated commands for querying the DA layer start height and obtaining the authentication token are clear and well-explained. The inclusion of example outputs is particularly helpful for users to understand what to expect.

It's great to see that the typo mentioned in the previous review ("using using") has been addressed. This attention to detail improves the overall quality of the tutorial.


Line range hint 97-115: LGTM: Clear instructions for running the rollup and viewing results

The "Running your rollup connected to Celestia light node" section has been effectively updated with:

  1. A clear command for initiating the rollup node, including all necessary flags.
  2. Helpful information about viewing the rollup on block explorers.
  3. Up-to-date links to explorers for different Celestia networks.

These changes provide users with comprehensive guidance on running their rollup and verifying its operation, enhancing the overall tutorial experience.


Line range hint 1-124: Overall: Excellent update to the Celestia DA tutorial

This PR successfully updates the tutorial to use the quick start approach, aligning well with the stated objectives. The changes significantly improve the clarity and flow of the tutorial, making it more accessible for users.

Key improvements include:

  1. Streamlined introduction and prerequisites.
  2. Clear instructions for configuring and running the rollup with Celestia.
  3. Updated commands and examples for interacting with the DA layer.
  4. Helpful information about viewing results on block explorers.

The minor suggestions provided in the review comments will further enhance the quality of the tutorial. Great work on this update!

🧰 Tools
🪛 Markdownlint

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

(MD004, ul-style)

Copy link
Member

@jcstein jcstein left a comment

Choose a reason for hiding this comment

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

:shipit:

@MSevey MSevey merged commit 6356e62 into main Oct 10, 2024
6 checks passed
@MSevey MSevey deleted the quick-start-celestia branch October 10, 2024 23:24
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