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
* (x/distribution) [#15948](https://github.com/cosmos/cosmos-sdk/issues/15948)`NewKeeper` now takes a `KVStoreService` instead of a `StoreKey` and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`. Keeper methods also now return an `error`.
120
121
* (x/bank) [#15891](https://github.com/cosmos/cosmos-sdk/issues/15891)`NewKeeper` now takes a `KVStoreService` instead of a `StoreKey` and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`. Also `FundAccount` and `FundModuleAccount` from the `testutil` package accept a `context.Context` instead of a `sdk.Context`, and it's position was moved to the first place.
121
122
* (x/bank) [#15818](https://github.com/cosmos/cosmos-sdk/issues/15818)`BaseViewKeeper`'s `Logger` method now doesn't require a context. `NewBaseKeeper`, `NewBaseSendKeeper` and `NewBaseViewKeeper` now also require a `log.Logger` to be passed in.
122
123
* (client) [#15597](https://github.com/cosmos/cosmos-sdk/pull/15597)`RegisterNodeService` now requires a config parameter.
Copy file name to clipboardExpand all lines: UPGRADING.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ The following modules `NewKeeper` function now take a `KVStoreService` instead o
73
73
*`x/auth`
74
74
*`x/bank`
75
75
*`x/consensus`
76
+
*`x/distribution`
76
77
*`x/feegrant`
77
78
*`x/nft`
78
79
@@ -91,6 +92,11 @@ The following modules `NewKeeper` function now also take a `log.Logger`:
91
92
92
93
*`x/bank`
93
94
95
+
The following modules' `Keeper` methods now take in a `context.Context` instead of `sdk.Context`. Any module that has an interfaces for them (like "expected keepers") will need to update and re-generate mocks if needed:
96
+
97
+
*`x/bank`
98
+
*`x/distribution`
99
+
94
100
95
101
### depinject
96
102
@@ -136,8 +142,6 @@ It is now recommended to validate message directly in the message server. When t
136
142
137
143
#### `x/auth`
138
144
139
-
Methods in the `AccountKeeper` now use `context.Context` instead of `sdk.Context`. Any module that has an interface for it will need to update and re-generate mocks if needed.
140
-
141
145
For ante handler construction via `ante.NewAnteHandler`, the field `ante.HandlerOptions.SignModeHandler` has been updated to `x/tx/signing/HandlerMap` from `x/auth/signing/SignModeHandler`. Callers typically fetch this value from `client.TxConfig.SignModeHandler()` (which is also changed) so this change should be transparent to most users.
0 commit comments