-
Notifications
You must be signed in to change notification settings - Fork 57
fix: cleaning the docs #595
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
caf4e76
remove unused images
pthmas c8c8a7b
add local-da setup instructions for quickstart guide
pthmas f8b0a91
small fixes
pthmas 0f8d364
fix create-genesis tutorial
pthmas 25f2ccd
fix the full node tutorial
pthmas 3ab4965
remove duplicate DA docs
pthmas a8754c9
fix use TIA for gas
pthmas af4540b
remove mentions of Rollkit CLI
pthmas 3fd834d
removed fraud proof diagram
pthmas 4498cc1
comment the not-updated part of the tutorial and leave a warning
pthmas 2ea6ac2
remove stack for now
pthmas a5b2aca
remove technical details section
pthmas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,12 @@ This guide covers how to set up a full node to run alongside a sequencer node in | |
|
||
## Prerequisites | ||
|
||
Before starting, ensure you have: | ||
Before proceeding, ensure that you have completed the [build a chain](/guides/gm-world.md) tutorial, which covers setting-up, building and running your chain. | ||
|
||
Ensure that you have: | ||
|
||
- A local Data Availability (DA) network node running on port `7980`. | ||
- A Rollkit sequencer node running and posting blocks to the DA network. | ||
- The Rollkit CLI installed on your system. | ||
|
||
## Setting Up Your Full Node | ||
|
||
|
@@ -25,7 +26,7 @@ CHAIN_ID=gm | |
Initialize the chain config for the full node, lets call it `FullNode` and set the chain ID to your rollup chain ID: | ||
|
||
```bash | ||
{BINARY} init FullNode --chain-id=$CHAIN_ID | ||
gmd init FullNode --chain-id $CHAIN_ID --home $HOME/.${CHAIN_ID}_fn | ||
``` | ||
|
||
Copy the genesis file from the sequencer node: | ||
|
@@ -39,7 +40,7 @@ cp $HOME/.$CHAIN_ID/config/genesis.json $HOME/.${CHAIN_ID}_fn/config/genesis.jso | |
Identify the sequencer node's P2P address from its logs. It will look similar to: | ||
|
||
``` | ||
1:55PM INF listening on address=/ip4/127.0.0.1/tcp/36656/p2p/12D3KooWJbD9TQoMSSSUyfhHMmgVY3LqCjxYFz8wQ92Qa6DAqtmh | ||
1:55PM INF listening on address=/ip4/127.0.0.1/tcp/7676/p2p/12D3KooWJbD9TQoMSSSUyfhHMmgVY3LqCjxYFz8wQ92Qa6DAqtmh module=p2p | ||
``` | ||
|
||
Create an environment variable with the P2P address: | ||
|
@@ -64,20 +65,21 @@ Make sure to include these flags with your start command: | |
Run your full node with the following command: | ||
|
||
```bash | ||
rollkit start \ | ||
gmd start \ | ||
--rollkit.da.address http://127.0.0.1:7980 \ | ||
--p2p.seeds [email protected]:26656 \ | ||
--p2p.seeds [email protected]:7676 \ | ||
--minimum-gas-prices 0stake \ | ||
--rpc.laddr tcp://127.0.0.1:46657 \ | ||
--grpc.address 127.0.0.1:9390 \ | ||
--p2p.laddr "0.0.0.0:46656" \ | ||
--api.address tcp://localhost:1318 \ | ||
--rollkit.sequencer_rollup_id gm | ||
--chain_id $CHAIN_ID \ | ||
--home $HOME/.${CHAIN_ID}_fn | ||
``` | ||
|
||
Key points about this command: | ||
|
||
- `rollkit.sequencer_rollup_id` is generally the `$CHAIN_ID`, which is `gm` in this case. | ||
- `chain_id` is generally the `$CHAIN_ID`, which is `gm` in this case. | ||
- The ports and addresses are different from the sequencer node to avoid conflicts. Not everything may be necessary for your setup. | ||
- We use the `P2P_ID` environment variable to set the seed node. | ||
|
||
|
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.