From 46bc89f04de0649d04f5ba38857cb8f31f69fc27 Mon Sep 17 00:00:00 2001 From: Csongor Kiss Date: Fri, 22 Jul 2022 14:05:55 -0500 Subject: [PATCH] staking/keeper: remove stale comment this case is now handled properly --- x/staking/keeper/val_state_change.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/x/staking/keeper/val_state_change.go b/x/staking/keeper/val_state_change.go index c453b9ce1..b8d9ca01c 100644 --- a/x/staking/keeper/val_state_change.go +++ b/x/staking/keeper/val_state_change.go @@ -113,10 +113,6 @@ func (k Keeper) ApplyAndReturnValidatorSetUpdates(ctx sdk.Context) (updates []ab totalPower := sdk.ZeroInt() amtFromBondedToNotBonded, amtFromNotBondedToBonded := sdk.ZeroInt(), sdk.ZeroInt() - // TODO(csongor): add new guardians that were not here before (from gov) - // TODO(csongor): total voting power should be size of the guardian set. - // I'll just rewrite this whole function - // Retrieve the last validator set. // The persistent set is updated later in this function. // (see LastValidatorPowerKey).