From b642691e40611c492c1f58d370a8e9c15fd485ef Mon Sep 17 00:00:00 2001 From: Yarik Bratashchuk Date: Thu, 20 Jun 2024 08:31:24 +0000 Subject: [PATCH 1/3] constant rollkit ignite app version --- .vitepress/constants/constants.js | 1 + tutorials/celestia-da.md | 9 +++++++-- tutorials/cosmwasm.md | 9 +++++---- tutorials/wordle.md | 4 ++-- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.vitepress/constants/constants.js b/.vitepress/constants/constants.js index f087b5ba0..87d635858 100644 --- a/.vitepress/constants/constants.js +++ b/.vitepress/constants/constants.js @@ -7,6 +7,7 @@ const constants = Object.freeze({ rollkitLatestTag: "v0.13.3", rollkitLatestSha: "45b1573", rollkitCosmosSDKVersion: "v0.50.6-rollkit-v0.13.3-no-fraud-proofs", + rollkitIgniteAppVersion: "v0.2.1", localDALatestTag: "v0.2.0", diff --git a/tutorials/celestia-da.md b/tutorials/celestia-da.md index 65577e6fb..2f0a305db 100644 --- a/tutorials/celestia-da.md +++ b/tutorials/celestia-da.md @@ -1,5 +1,10 @@ # Deploying a rollup to Celestia + + + ## 🌞 Introduction {#introduction} This tutorial serves as a comprehensive guide for deploying your rollup on Celestia's data availability (DA) network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta. @@ -33,8 +38,8 @@ ignite scaffold chain gm --address-prefix gm --no-module Install the Rollkit app to ignite: -```bash -ignite app install github.com/ignite/apps/rollkit@rollkit/v0.2.0 +```bash-vue +ignite app install github.com/ignite/apps/rollkit@rollkit/{{constants.rollkitIgniteAppVersion}} ``` Next, move to the `gm` directory and add the Rollkit app: diff --git a/tutorials/cosmwasm.md b/tutorials/cosmwasm.md index 0ebe4ee59..e2283bc32 100644 --- a/tutorials/cosmwasm.md +++ b/tutorials/cosmwasm.md @@ -8,6 +8,7 @@ exploring how to integrate CosmWasm with local DA layer using Rollkit. :::tip @@ -29,8 +30,8 @@ this tutorial. For this tutorial, we will need `go` and `jq` installed on your machine. You can install them by running our script: -```bash -curl -sSL https://rollkit.dev/install-go.sh | bash -s go1.22.3 +```bash-vue +curl -sSL https://rollkit.dev/install-go.sh | bash -s {{constants.golangVersion}} ``` ### 🦀 Rust {#install-rust} @@ -137,8 +138,8 @@ You will have to install `gcc` if you are trying it on a clean linux vm. You will need a local-da node running in order to complete this tutorial. To start it, run: -```bash -curl -sSL https://rollkit.dev/install-local-da.sh | bash -s v0.2.0 +```bash-vue +curl -sSL https://rollkit.dev/install-local-da.sh | bash -s {{constants.localDALatestTag}} ``` diff --git a/tutorials/wordle.md b/tutorials/wordle.md index 5b88b036d..7c823a332 100644 --- a/tutorials/wordle.md +++ b/tutorials/wordle.md @@ -168,8 +168,8 @@ Rollkit on our codebase. To install the Rollkit app to Ignite, run the following command: -```bash -ignite app install github.com/ignite/apps/rollkit@rollkit/v0.2.0 +```bash-vue +ignite app install github.com/ignite/apps/rollkit@rollkit/{{constants.rollkitIgniteAppVersion}} ``` Next, add Rollkit to your project by running: From 39fd92902f8dd94f90868bedff1a6d667c2201ab Mon Sep 17 00:00:00 2001 From: Yarik Bratashchuk Date: Thu, 20 Jun 2024 13:10:30 +0000 Subject: [PATCH 2/3] Update rollkit version --- .vitepress/constants/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/constants/constants.js b/.vitepress/constants/constants.js index 87d635858..30c9105d4 100644 --- a/.vitepress/constants/constants.js +++ b/.vitepress/constants/constants.js @@ -4,7 +4,7 @@ const constants = Object.freeze({ nodeVersion: "21.7.2", yarnVersion: "1.22.19", - rollkitLatestTag: "v0.13.3", + rollkitLatestTag: "v0.13.4", rollkitLatestSha: "45b1573", rollkitCosmosSDKVersion: "v0.50.6-rollkit-v0.13.3-no-fraud-proofs", rollkitIgniteAppVersion: "v0.2.1", From 08295ceceaeb9c8ee622d556dd9dad1870361400 Mon Sep 17 00:00:00 2001 From: Yarik Bratashchuk Date: Thu, 20 Jun 2024 13:41:36 +0000 Subject: [PATCH 3/3] Fix connect local da guide --- guides/connect-local-da.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/guides/connect-local-da.md b/guides/connect-local-da.md index be0ee00a5..165787852 100644 --- a/guides/connect-local-da.md +++ b/guides/connect-local-da.md @@ -1,12 +1,17 @@ # How to connect a rollup to a local DA network + + + This guide provides a quick and straightforward method to start a local Data Availability (DA) network and configure your rollup to post data to it. ## Setting Up a Local DA Network To set up a local DA network node on your machine, run the following script to install and start the local DA node: -```bash +```bash-vue curl -sSL https://rollkit.dev/install-local-da.sh | bash -s {{constants.localDALatestTag}} ```