You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[#237](https://github.com/ignite/apps/pull/237) Remove `--start` and `--migrate` flags from `evolve add` command. Split into `evolve add` and `evolve add-migrate` commands.
ignite evolve init# only for genesis chains. Otherwise follow the migration steps.
19
19
```
20
20
21
21
Then start `local-da` or use Celestia mainnet as data availability layer.
@@ -31,7 +31,25 @@ Finally, run the network:
31
31
gmd start --rollkit.node.aggregator
32
32
```
33
33
34
+
### Migrations
35
+
36
+
If you want to migrate your running chain to Evolve, first scaffold the migrations commands on your CometBFT chain:
37
+
38
+
```sh
39
+
ignite evolve add-migrate
40
+
```
41
+
42
+
This will add the migration module to your chain. Then add manually a chain migration in the upgrade handler to add this new module and submit a gov proposal to initiate the validator set migration.
43
+
44
+
Once the chain has halted, run the migration command on each node:
45
+
46
+
```sh
47
+
gmd evolve-migrate
48
+
```
49
+
50
+
You are ready to integrate Evolve! Follow the [1](#Usage) steps to add it to your chain.
51
+
34
52
Learn more about Evolve and Ignite in their respective documentation:
err=session.Printf("🎉 Evolve migration support added (`%[1]v`).\n", c.AppPath())
59
+
err=errors.Join(err, session.Println("Evolve migration command and module successfully scaffolded!"))
60
+
err=errors.Join(err, session.Println("Check out the newly added evolve manager to prepare the chain for migration."))
61
+
err=errors.Join(err, session.Printf("Once the app state is migrated, run `%s evolve-migrate` to migrate CometBFT state to the Evolve state.\n", binaryName))
0 commit comments