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
1.4 KiB
Markdown
67 lines
1.4 KiB
Markdown
---
|
|
sidebar_position: 993
|
|
title: v0.25.1
|
|
description: For chains that were scaffolded with Ignite CLI versions lower than v0.25.1. changes are required to use Ignite CLI v0.25.1.
|
|
---
|
|
|
|
## Drabonberry fix
|
|
|
|
`v0.25.1` contains the Dragonberry fix, update your `go.mod` as :
|
|
|
|
```sh
|
|
require (
|
|
// remove-next-line
|
|
github.com/ignite/cli v0.24.0
|
|
// highlight-next-line
|
|
github.com/ignite/cli v0.25.1
|
|
)
|
|
|
|
// highlight-next-line
|
|
replace github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
|
|
```
|
|
|
|
Then run:
|
|
|
|
```
|
|
$ go mod tidy
|
|
```
|
|
|
|
As a result, you should see `cosmos-sdk` and `ibc-go` upgraded as well.
|
|
|
|
Finally, apply the following change to `app/app.go`:
|
|
|
|
```go
|
|
package app
|
|
|
|
// New returns a reference to an initialized blockchain app
|
|
func New(
|
|
logger log.Logger,
|
|
db dbm.DB,
|
|
traceStore io.Writer,
|
|
loadLatest bool,
|
|
skipUpgradeHeights map[int64]bool,
|
|
homePath string,
|
|
invCheckPeriod uint,
|
|
encodingConfig appparams.EncodingConfig,
|
|
appOpts servertypes.AppOptions,
|
|
baseAppOptions ...func(*baseapp.BaseApp),
|
|
) *App {
|
|
|
|
// ...
|
|
|
|
app.ICAHostKeeper = icahostkeeper.NewKeeper(
|
|
appCodec, keys[icahosttypes.StoreKey],
|
|
app.GetSubspace(icahosttypes.SubModuleName),
|
|
app.IBCKeeper.ChannelKeeper,
|
|
// highlight-next-line
|
|
app.IBCKeeper.ChannelKeeper,
|
|
&app.IBCKeeper.PortKeeper,
|
|
app.AccountKeeper,
|
|
scopedICAHostKeeper,
|
|
app.MsgServiceRouter(),
|
|
)
|
|
|
|
// ...
|
|
|
|
}
|
|
```
|