Skip to content

chore: constant rollkit ignite app version #399

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 3 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vitepress/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ 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",

localDALatestTag: "v0.2.0",

Expand Down
7 changes: 6 additions & 1 deletion guides/connect-local-da.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# How to connect a rollup to a local DA network

<!-- markdownlint-disable MD033 -->
<script setup>
import constants from '../.vitepress/constants/constants.js'
</script>

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}}
```

Expand Down
9 changes: 7 additions & 2 deletions tutorials/celestia-da.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Deploying a rollup to Celestia

<!-- markdownlint-disable MD033 -->
<script setup>
import constants from '../.vitepress/constants/constants.js'
</script>

## 🌞 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.
Expand Down Expand Up @@ -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:
Expand Down
9 changes: 5 additions & 4 deletions tutorials/cosmwasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ exploring how to integrate CosmWasm with local DA layer using Rollkit.
<!-- markdownlint-disable MD033 -->
<script setup>
import Callout from '../.vitepress/components/callout.vue'
import constants from '../.vitepress/constants/constants.js'
</script>

:::tip
Expand All @@ -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}
Expand Down Expand Up @@ -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}}
```


Expand Down
4 changes: 2 additions & 2 deletions tutorials/wordle.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading