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/authz) [#15962](https://github.com/cosmos/cosmos-sdk/issues/15962)`NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`, methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`. The `Authorization` interface's `Accept` method now takes a `context.Context` instead of a `sdk.Context`.
121
122
* (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`.
122
123
* (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.
123
124
* (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.
Copy file name to clipboardExpand all lines: UPGRADING.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@ This is no longer the case, the assertion has been loosened to only require modu
71
71
The following modules `NewKeeper` function now take a `KVStoreService` instead of a `StoreKey`:
72
72
73
73
*`x/auth`
74
+
*`x/authz`
74
75
*`x/bank`
75
76
*`x/consensus`
76
77
*`x/distribution`
@@ -94,10 +95,10 @@ The following modules `NewKeeper` function now also take a `log.Logger`:
94
95
95
96
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
98
+
*`x/authz`
97
99
*`x/bank`
98
100
*`x/distribution`
99
101
100
-
101
102
### depinject
102
103
103
104
For `depinject` users, now the logger must be supplied through the main `depinject.Inject` function instead of passing it to `appBuilder.Build`.
0 commit comments