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

Convert how to guides to use quick start or wordle #485

Closed
10 of 12 tasks
Tracked by #483
MSevey opened this issue Oct 8, 2024 · 4 comments
Closed
10 of 12 tasks
Tracked by #483

Convert how to guides to use quick start or wordle #485

MSevey opened this issue Oct 8, 2024 · 4 comments
Assignees

Comments

@MSevey
Copy link
Contributor

MSevey commented Oct 8, 2024

Tasks

Preview Give feedback
  1. MSevey
  2. MSevey
  3. MSevey
  4. MSevey
  5. MSevey
  6. 0 of 3
    gupadhyaya
@MSevey MSevey self-assigned this Oct 8, 2024
@MSevey MSevey added this to Rollkit Oct 8, 2024
@MSevey MSevey moved this to Todo in Rollkit Oct 8, 2024
github-merge-queue bot pushed a commit to rollkit/rollkit that referenced this issue Nov 13, 2024
<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->

## Overview

<!-- 
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 

Ex: Closes #<issue number>
-->

This PR does two key things:
1. Handles already running sequencer
2. Enables using mock services with the intercept command. 

1 is pretty straight forward as we did this for the DA server as well.
The one thing to note though with this PR is that because we are
checking for already running servers, I just remove the redundant check
of if the flag was set. I add a comment to the code to explain the
reasoning and to document the context for the future.

For 2, this will help us clean up the rollkit docs. Right now, even for
simple ignite apps, you have to run the local da, local sequencer, and
in the future some local execution. This makes the docs and rollkit feel
clunky.

By adding the mock server commands to the intercept command, we can spin
up mock da and mock sequencer for these tutorials to reduce the steps
required by the users.

Enables: rollkit/docs#485
Closes #1910 


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Added command-line option `--rollkit.sequencer_rollup_id` for
specifying the sequencer middleware rollup ID, defaulting to
"mock-rollup."
- Introduced functionality to start mock services for improved testing
and development.

- **Bug Fixes**
- Enhanced error handling for starting mock servers, including checks
for already running services.

- **Documentation**
- Updated documentation to reflect new command-line options and improved
configurations.

- **Refactor**
- Streamlined control flow and error handling in the `InterceptCommand`
and mock server initialization processes.
- Improved code structure and readability for mock server startup logic.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@MSevey
Copy link
Contributor Author

MSevey commented Nov 19, 2024

Run Full node guide steps don't work. Command has old flags, not sure what minimal flags need to be.

json flag is outdated
needs sequencer rollup id flag

need local da? mock da doesn't seem to work?
might need local sequencer as well?

--> Moved to own issue

@MSevey
Copy link
Contributor Author

MSevey commented Nov 19, 2024

Add clearing state to restart rollup

from the data directory, delete everything but the json file

├── data
│ ├── application.db
│ ├── priv_validator_state.json
│ ├── rollkit
│ └── snapshots

@MSevey
Copy link
Contributor Author

MSevey commented Nov 19, 2024

Genesis Guide

  • Make it clear that first step is setting terminal variables
  • Need to figure out connection with build flow from wordle tutorial
  • Not really working right now
  • Update to be wordle based for chain id
  • Add chain id variable to all bash commands and not rollupd

--> Moved to own issue

@MSevey
Copy link
Contributor Author

MSevey commented Nov 21, 2024

closing and tracking in sub issues.

@MSevey MSevey closed this as completed Nov 21, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Rollkit Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant