Skip to content

Commit 833f578

Browse files
Update v4-to-v5.md
1 parent 1313dc9 commit 833f578

1 file changed

Lines changed: 17 additions & 19 deletions

File tree

docs/migrations/v4-to-v5.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,6 @@ The `AnteDecorator` was actually renamed twice, but in [this PR](https://github.
3838

3939
## IBC Apps
4040

41-
### ICS27 - Interchain Accounts
42-
43-
An additional parameter, `ics4Wrapper` has been added to the `host` submodule `NewKeeper` function in `modules/apps/27-interchain-accounts/host/keeper`.
44-
This allows the `host` submodule to correctly unwrap the channel version for channel reopening handshakes in the `OnChanOpenTry` callback.
45-
46-
```diff
47-
func NewKeeper(
48-
cdc codec.BinaryCodec,
49-
key storetypes.StoreKey,
50-
paramSpace paramtypes.Subspace,
51-
+ ics4Wrapper icatypes.ICS4Wrapper,
52-
channelKeeper icatypes.ChannelKeeper,
53-
portKeeper icatypes.PortKeeper,
54-
accountKeeper icatypes.AccountKeeper,
55-
scopedKeeper icatypes.ScopedKeeper,
56-
msgRouter icatypes.MessageRouter,
57-
) Keeper
58-
```
59-
6041
### Core
6142

6243
The `key` parameter of the `NewKeeper` function in `modules/core/keeper` is now of type `storetypes.StoreKey` (where `storetypes` is an import alias for `"github.com/cosmos/cosmos-sdk/store/types"`):
@@ -198,6 +179,23 @@ type MessageRouter interface {
198179

199180
The `RegisterRESTRoutes` function in `modules/apps/27-interchain-accounts` has been removed.
200181

182+
An additional parameter, `ics4Wrapper` has been added to the `host` submodule `NewKeeper` function in `modules/apps/27-interchain-accounts/host/keeper`.
183+
This allows the `host` submodule to correctly unwrap the channel version for channel reopening handshakes in the `OnChanOpenTry` callback.
184+
185+
```diff
186+
func NewKeeper(
187+
cdc codec.BinaryCodec,
188+
key storetypes.StoreKey,
189+
paramSpace paramtypes.Subspace,
190+
+ ics4Wrapper icatypes.ICS4Wrapper,
191+
channelKeeper icatypes.ChannelKeeper,
192+
portKeeper icatypes.PortKeeper,
193+
accountKeeper icatypes.AccountKeeper,
194+
scopedKeeper icatypes.ScopedKeeper,
195+
msgRouter icatypes.MessageRouter,
196+
) Keeper
197+
```
198+
201199
#### Cosmos SDK message handler responses in packet acknowledgement
202200

203201
The construction of the transaction response of a message execution on the host chain has changed. The `Data` field in the `sdk.TxMsgData` has been deprecated and since Cosmos SDK 0.46 the `MsgResponses` field contains the message handler responses packed into `Any`s.

0 commit comments

Comments
 (0)