Path: blob/main/docs/versioned_docs/version-v0.25/migration/v0.25.0.md
1007 views
---
---
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:
v0.25.0
Directory Structure
This example shows a chain that was generated using ignite
with v0.25.0
using the following command:
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.