Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
67 lines
No EOL
1.9 KiB
Markdown
67 lines
No EOL
1.9 KiB
Markdown
---
|
|
sidebar_position: 994
|
|
title: v0.25.0
|
|
description: For chains that were scaffolded with Ignite CLI versions lower than v0.25.0. changes are required to use Ignite CLI v0.24.0.
|
|
---
|
|
|
|
## Protobuf directory migration
|
|
|
|
`v0.25.0` changes the location of scaffolded `.proto` files. Previously, `.proto` files were located in `./proto/{moduleName}/`,
|
|
where `moduleName` is the same name of the Cosmos SDK module found in `./x/{moduleName}/`. This new version of `ignite`
|
|
modifies the scaffolded protobuf files so that they are now generated in `.proto/{appName}/{moduleName}`.
|
|
|
|
The only change that is needed to be made is to create an `appName` folder in the `proto` directory, and then place the
|
|
sub-directories within it. An example below demonstrates this change:
|
|
|
|
### Previous Directory Structure
|
|
|
|
This example shows a chain that was generated using `ignite` with `v0.24.0` using the following command:
|
|
|
|
```bash
|
|
ignite s chain github.com/cosmos/planet --no-module
|
|
ignite s module mars
|
|
```
|
|
|
|
```bash
|
|
├── app
|
|
├── cmd
|
|
├── docs
|
|
├── proto
|
|
│ ├── mars
|
|
├── x
|
|
│ ├── mars
|
|
├── README.md
|
|
├── config.yml
|
|
├── go.mod
|
|
├── go.sum
|
|
└── .gitignore
|
|
```
|
|
|
|
### `v0.25.0` Directory Structure
|
|
|
|
This example shows a chain that was generated using `ignite` with `v0.25.0` using the following command:
|
|
|
|
```bash
|
|
ignite s chain github.com/cosmos/planet --no-module
|
|
ignite s module mars
|
|
```
|
|
|
|
```bash
|
|
├── app
|
|
├── cmd
|
|
├── docs
|
|
├── proto
|
|
│ ├── planet
|
|
│ │ ├── mars
|
|
├── x
|
|
│ ├── mars
|
|
├── README.md
|
|
├── config.yml
|
|
├── go.mod
|
|
├── go.sum
|
|
└── .gitignore
|
|
```
|
|
|
|
The only difference is the additional directory `planet` which is the name of the application. The name of the app can
|
|
be verified by checking the package in the `go.mod` file. In this example, the package is `github.com/cosmos/planet` where
|
|
`planet` is the app name. |