You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migrations/v4-to-v5.md
+17-19Lines changed: 17 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,25 +38,6 @@ The `AnteDecorator` was actually renamed twice, but in [this PR](https://github.
38
38
39
39
## IBC Apps
40
40
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
-
60
41
### Core
61
42
62
43
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 {
198
179
199
180
The `RegisterRESTRoutes` function in `modules/apps/27-interchain-accounts` has been removed.
200
181
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
+
201
199
#### Cosmos SDK message handler responses in packet acknowledgement
202
200
203
201
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