Skip to content
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
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
- changed-files:
- network/**/*

"app:rollkit":
"app:evolve":
- changed-files:
- rollkit/**/*
- evolve/**/*

"app:spaceship":
- changed-files:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/chain-liveness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
workflow_dispatch:

jobs:
rollkit-liveness:
name: Ignite Rollkit App Liveness Test
evolve-liveness:
name: Ignite Evolve App Liveness Test
runs-on: ubuntu-latest
timeout-minutes: 30
env:
Expand All @@ -30,33 +30,33 @@ jobs:
run: |
curl https://get.ignite.com/cli! | bash

- name: Scaffold & Init Rollkit Chain
- name: Scaffold & Init Evolve Chain
run: |
# get the path to the current checkout of ignite apps
ROLLKIT_APP_DIR=$(pwd)/rollkit
EVOLVE_APP_DIR=$(pwd)/evolve

# scaffold a new chain
ignite scaffold chain gm --no-module --skip-git
cd gm

# install rollkit app
ignite app install $ROLLKIT_APP_DIR
# install evolve app
ignite app install $EVOLVE_APP_DIR

# add rollkit to the chain
ignite rollkit add
# add evolve to the chain
ignite evolve add
go mod tidy

# build the chain
ignite chain build --skip-proto

# initialize rollkit
ignite rollkit init
# initialize ev-abci
ignite evolve init

- name: Start Local DA
run: |
cd gm
# start the local da in the background
go tool github.com/rollkit/rollkit/da/cmd/local-da &
go tool github.com/evolve/ev-node/da/cmd/local-da &
# capture the background process PID
echo "DA_PID=$!" >> $GITHUB_ENV
# give it a moment to start
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate-app-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Validate app registry files

on:
pull_request:
types: [ opened, synchronize ]
types: [opened, synchronize]

jobs:
check-app-registry:
Expand All @@ -21,8 +21,8 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: 'stable'
cache: 'true'
go-version: "1.24"
cache: "true"

- name: Get list of added or modified app files
id: json_files
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"appName": "Rollkit",
"appID": "rollkit",
"appDescription": "Scaffold a RollKit application with ease",
"appName": "Evolve",
"appID": "evolve",
"appDescription": "Scaffold an Evolve network with ease",
"ignite": ">=28.4.0",
"dependencies": {},
"cosmosSDK": ">=0.50.6",
Expand All @@ -11,8 +11,8 @@
"github": "julienrbrt"
}
],
"repositoryUrl": "https://github.com/ignite/apps/rollkit",
"documentationUrl": "https://github.com/ignite/apps/blob/main/rollkit/README.md",
"repositoryUrl": "https://github.com/ignite/apps/evolve",
"documentationUrl": "https://github.com/ignite/apps/blob/main/evolve/README.md",
"license": {
"name": "MIT",
"url": "https://github.com/ignite/apps/blob/main/LICENSE"
Expand All @@ -21,14 +21,15 @@
"scaffolder",
"rollup",
"rollkit",
"network",
"ev-node",
"ev-abci",
"evolve",
"cli",
"cosmos-sdk",
"ignite app"
],
"supportedPlatforms": [
"mac",
"linux"
],
"supportedPlatforms": ["mac", "linux"],
"icon": "",
"cover": ""
}
}
6 changes: 3 additions & 3 deletions app.ignite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ apps:
consumer:
description: Internal Ignite App for scaffolding consumer chains (not to be installed manually)
path: ./consumer
rollkit:
description: Scaffold a RollKit application with ease
path: ./rollkit
evolve:
description: Scaffold a Evolve application with ease
path: ./evolve
wasm:
description: Scaffold a CosmosWasm-enabled chain with ease
path: ./wasm
Expand Down
37 changes: 37 additions & 0 deletions evolve/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Evolve App Changelog

## Unreleased

## [`v0.4.0`](https://github.com/ignite/apps/releases/tag/evolve/v0.4.0)

- [#220](https://github.com/ignite/apps/pull/220) Rename app, flags and commands from `rollkit` to `evolve` following the rebranding of Rollkit to Evolve.

## [`v0.3.0`](https://github.com/ignite/apps/releases/tag/rollkit/v0.3.0)

- [#112](https://github.com/ignite/apps/pull/112) Use default command instead cobra commands.
- [#192](https://github.com/ignite/apps/pull/192) Upgrade Rollkit to `v1.x` and use [`go-execution-abci`](https://github.com/evstack/ev-abci) instead of [`cosmos-sdk-starter`](https://github.com/rollkit/cosmos-sdk-starter).
- Note, if you already have rollkit installed, you need to redo the wiring manually.
- [#194](https://github.com/ignite/apps/pull/194) Uniform the flag addition with other apps.
- [#209](https://github.com/ignite/apps/pull/209) Wire `MigrateToRollkitCmd` in the scaffolded app.
- [#212](https://github.com/ignite/apps/pull/212) Add `--migrate` flag to `rollkit add` command to scaffold modules and migration helpers for CometBFT to Rollkit migration.
- [#212](https://github.com/ignite/apps/pull/212) Add `edit` command to edit an existing genesis file without overwriting it (compared to `init`).

## [`v0.2.3`](https://github.com/ignite/apps/releases/tag/rollkit/v0.2.3)

- Dependency bumps

## [`v0.2.2`](https://github.com/ignite/apps/releases/tag/rollkit/v0.2.2)

- [#168](https://github.com/ignite/apps/pull/168) Update expected template.

## [`v0.2.1`](https://github.com/ignite/apps/releases/tag/rollkit/v0.2.1)

- [#106](https://github.com/ignite/apps/pull/106) Improve bonded tokens setting.

## [`v0.2.0`](https://github.com/ignite/apps/releases/tag/rollkit/v0.2.0)

- [#92](https://github.com/ignite/apps/pull/92) Add `rollkit init` command.

## [`v0.1.0`](https://github.com/ignite/apps/releases/tag/rollkit/v0.1.0)

- First release of the Rollkit app compatible with Ignite >= v28.x.y
16 changes: 8 additions & 8 deletions rollkit/README.md → evolve/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RollKit
# Evolve

This Ignite App is aimed to extend [Ignite CLI](https://github.com/ignite/cli) and bootstrap the development of a [RollKit](https://rollkit.dev) rollup.
This Ignite App is aimed to extend [Ignite CLI](https://github.com/ignite/cli) and bootstrap the development of a [Evolve](https://rollkit.dev) network.

## Prerequisites

Expand All @@ -12,26 +12,26 @@ This Ignite App is aimed to extend [Ignite CLI](https://github.com/ignite/cli) a
```sh
ignite s chain gm --address-prefix gm --minimal --no-module
cd gm
ignite app install -g github.com/ignite/apps/rollkit@latest
ignite rollkit add
ignite app install -g github.com/ignite/apps/evolve@latest
ignite evolve add
ignite chain build --skip-proto
ignite rollkit init
ignite evolve init
```

Then start `local-da` or use Celestia mainnet as data availability layer.

```sh
cd gm
go tool github.com/rollkit/rollkit/da/cmd/local-da
go tool github.com/evstack/ev-node/da/cmd/local-da
```

Finally, run the rollup node:
Finally, run the network:

```sh
gmd start --rollkit.node.aggregator
```

Learn more about Rollkit and Ignite in their respective documentation:
Learn more about Evolve and Ignite in their respective documentation:

* <https://docs.ignite.com>
* <https://rollkit.dev/>
12 changes: 6 additions & 6 deletions rollkit/cmd/add.go → evolve/cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/ignite/cli/v29/ignite/services/chain"
"github.com/ignite/cli/v29/ignite/services/plugin"

"github.com/ignite/apps/rollkit/template"
"github.com/ignite/apps/evolve/template"
)

const (
Expand Down Expand Up @@ -52,7 +52,7 @@ func AddHandler(ctx context.Context, cmd *plugin.ExecutedCommand) error {
return err
}

g, err := template.NewRollKitGenerator(c, migrateCometBFT)
g, err := template.NewEvolveGenerator(c, migrateCometBFT)
if err != nil {
return err
}
Expand All @@ -66,13 +66,13 @@ func AddHandler(ctx context.Context, cmd *plugin.ExecutedCommand) error {
return err
}

err = session.Printf("🎉 RollKit added (`%[1]v`).\n", c.AppPath(), c.Name())
err = session.Printf("🎉 Evolve (ev-abci) added (`%[1]v`).\n", c.AppPath(), c.Name())

if migrateCometBFT {
err = errors.Join(session.Printf("\n"))
err = errors.Join(err, session.Println("Additionally, rollkit migration commands and modules successfully scaffolded!"))
err = errors.Join(err, session.Printf("If %s is already live, check out the newly added rollkit manager to prepare the chain for migration\n", c.Name()))
err = errors.Join(err, session.Printf("Run `%s rollkit-migrate` to migrate CometBFT state to the rollkit state.\n", binaryName))
err = errors.Join(err, session.Println("Additionally, evolve migration commands and modules successfully scaffolded!"))
err = errors.Join(err, session.Printf("If %s is already live, check out the newly added evolve manager to prepare the chain for migration\n", c.Name()))
err = errors.Join(err, session.Printf("Run `%s evolve-migrate` to migrate CometBFT state to the evolve state.\n", binaryName))
}

return err
Expand Down
18 changes: 9 additions & 9 deletions rollkit/cmd/cmd.go → evolve/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import (
func GetCommands() []*plugin.Command {
return []*plugin.Command{
{
Use: "rollkit [command]",
Aliases: []string{"r"},
Short: "Ignite rollkit integration",
Use: "evolve [command]",
Aliases: []string{"r", "e", "rollkit"},
Short: "Ignite evolve integration",
Commands: []*plugin.Command{
{
Use: "add",
Short: "Add rollkit support",
Long: "Add rollkit support to your Cosmos SDK chain",
Short: "Add evolve support",
Long: "Add evolve support to your Cosmos SDK chain",
Flags: []*plugin.Flag{
{
Name: flagPath,
Expand All @@ -32,8 +32,8 @@ func GetCommands() []*plugin.Command {
},
{
Use: "init",
Short: "Init rollkit support",
Long: "Initialize the chain and add rollkit sequencer",
Short: "Init ev-abci support",
Long: "Initialize the chain and a ev-node sequencer via ev-abci.",
Flags: []*plugin.Flag{
{
Name: flagPath,
Expand All @@ -45,8 +45,8 @@ func GetCommands() []*plugin.Command {
},
{
Use: "edit-genesis",
Short: "Edit the genesis file to add the rollkit sequencer",
Long: "Edit the genesis file to add the rollkit sequencer module. This is an alternative to the `ignite rollkit init` command, where a chain is already initialized (but not yet started).",
Short: "Edit the genesis file to add the evolve sequencer",
Long: "Edit the genesis file to add the evolve sequencer module. This is an alternative to the `ignite evolve init` command, where a chain is already initialized (but not yet started).",
Flags: []*plugin.Flag{
{
Name: flagPath,
Expand Down
2 changes: 1 addition & 1 deletion rollkit/cmd/edit.go → evolve/cmd/edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ import (

// EditGenesisHandler allows to edit the genesis file to add the sequencer module.
func EditGenesisHandler(ctx context.Context, cmd *plugin.ExecutedCommand) error {
return initRollkit(ctx, cmd, false)
return initEVABCI(ctx, cmd, false)
}
8 changes: 4 additions & 4 deletions rollkit/cmd/init.go → evolve/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
const defaultValPower = 1

func InitHandler(ctx context.Context, cmd *plugin.ExecutedCommand) error {
return initRollkit(ctx, cmd, true)
return initEVABCI(ctx, cmd, true)
}

func initRollkit(
func initEVABCI(
ctx context.Context,
cmd *plugin.ExecutedCommand,
initChain bool,
Expand Down Expand Up @@ -99,7 +99,7 @@ func initRollkit(

genesis.Consensus.Validators = []cmttypes.GenesisValidator{
{
Name: "Rollkit Sequencer",
Name: "EV-node Sequencer",
Address: pubKey.Address(),
PubKey: pubKey,
Power: defaultValPower,
Expand All @@ -110,7 +110,7 @@ func initRollkit(
return err
}

return session.Printf("🗃 Initialized. Checkout your rollkit chain's home (data) directory: %s\n", colors.Info(home))
return session.Printf("🗃 Initialized. Checkout your evolve chain's home (data) directory: %s\n", colors.Info(home))
}

// getPubKey returns the validator public key.
Expand Down
Loading
Loading