Skip to main content

Upgrading a blockchain to use Ignite CLI v0.19.2

Ignite CLI v0.19.2 comes with IBC v2.0.2.

With Ignite CLI v0.19.2, the contents of the deprecated Ignite CLI Modules tendermint/spm repo are moved to the official Ignite CLI repo which introduces breaking changes.

To migrate your chain that was scaffolded with Ignite CLI versions lower than v0.19.2:

  1. IBC upgrade: Use the IBC migration documents

  2. In your chain's go.mod file, remove tendermint/spm and add the v0.19.2 version of tendermint/starport. If your chain uses these packages, change the import paths as shown:

    • github.com/tendermint/spm/ibckeeper moved to github.com/tendermint/starport/starport/pkg/cosmosibckeeper
    • github.com/tendermint/spm/cosmoscmd moved to github.com/tendermint/starport/starport/pkg/cosmoscmd
    • github.com/tendermint/spm/openapiconsole moved to github.com/tendermint/starport/starport/pkg/openapiconsole
    • github.com/tendermint/spm/testutil/sample moved to github.com/tendermint/starport/starport/pkg/cosmostestutil/sample