docs: sync example tutorials from cosmos/example - #340
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Greptile SummaryThe PR synchronizes the six Cosmos SDK example tutorials from cosmos/example, updating prerequisites and module behavior while substantially expanding localnet operation and testing guidance.
Confidence Score: 4/5The PR appears safe to merge after removing the prohibited bold emphasis from the new localnet paragraph. The synced tutorial content has no established functional or security defect, but one added sentence violates the repository's explicit formatting convention. Files Needing Attention: sdk/next/tutorials/example/05-run-and-test.mdx Important Files Changed
Reviews (1): Last reviewed commit: "docs: sync example tutorials from cosmos..." | Re-trigger Greptile |
| ## Localnet (multi-node) | ||
|
|
||
| Use localnet when you want a setup that is closer to a real network. It runs multiple validators in Docker so you can test multi-node behavior locally. | ||
| Localnet runs four nodes in Docker to give you a setup closer to a real network than the single-node chain. `scripts/localnet/init.sh` creates a genesis transaction for `node0` only, so the network is **one validator plus three full nodes**, not four validators. The chain ID is `example-localnet`, and each node has a single key named `validator` rather than the `alice` and `bob` accounts used by `make start`. |
There was a problem hiding this comment.
Bold emphasis violates documentation style
This new paragraph uses bold emphasis for two phrases even though the repository prohibits bold and italic text in documentation, introducing formatting that maintainers must remove.
| Localnet runs four nodes in Docker to give you a setup closer to a real network than the single-node chain. `scripts/localnet/init.sh` creates a genesis transaction for `node0` only, so the network is **one validator plus three full nodes**, not four validators. The chain ID is `example-localnet`, and each node has a single key named `validator` rather than the `alice` and `bob` accounts used by `make start`. | |
| Localnet runs four nodes in Docker to give you a setup closer to a real network than the single-node chain. `scripts/localnet/init.sh` creates a genesis transaction for `node0` only, so the network is one validator plus three full nodes, not four validators. The chain ID is `example-localnet`, and each node has a single key named `validator` rather than the `alice` and `bob` accounts used by `make start`. |
Context Used: CLAUDE.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Auto-synced from cosmos/example. Transforms docs/.md to sdk/next/tutorials/example/.mdx. Do not edit these files directly — edit the source in cosmos/example and let the sync bot update them.