From 9461c65cda560ac5f7b29483b67dccce2d506055 Mon Sep 17 00:00:00 2001 From: Jeancarlo Barrios Date: Fri, 3 Jun 2022 05:48:46 -0600 Subject: [PATCH] fix: added breaking change in staking keeper api (#12139) * fix: added breaking change in staking keeper api * fix: added breaking change in staking keeper api * fix: added breaking change in staking keeper api --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e678450c4..3e5401ef2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,10 @@ Ref: https://keepachangelog.com/en/1.0.0/ * [#12089](https://github.com/cosmos/cosmos-sdk/pull/12089) Mark the `TipDecorator` as beta, don't include it in simapp by default. +### API Breaking Changes + +* (x/staking) [#12102](https://github.com/cosmos/cosmos-sdk/pull/12102) Staking keeper now is passed by reference instead of copy. Keeper's SetHooks no longer returns keeper. It updates the keeper in place instead. + ### Bug Fixes * (cli) [#12127](https://github.com/cosmos/cosmos-sdk/pull/12127) Fix the CLI not always taking into account `--fee-payer` and `--fee-granter` flags.