Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Jan 16, 2024
1 parent 1262e46 commit b83d073
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/upgrades/v19/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func (s *UpgradeTestSuite) TestUpgrade() {
s.StakingHelper.Undelegate(c1mAddr, newVal3, sdk.NewInt(1), true)

// Redelegate part of the tokens from val2 -> val3 (test instant unbonding on redelegations started before upgrade)
s.App.AppKeepers.StakingKeeper.BeginRedelegation(s.Ctx, c1mAddr, newVal2, newVal3, sdk.NewDec(1))
_, err := s.App.AppKeepers.StakingKeeper.BeginRedelegation(s.Ctx, c1mAddr, newVal2, newVal3, sdk.NewDec(1))
s.Require().NoError(err)

// Confirm delegated to 3 validators
s.Require().Equal(3, len(s.App.AppKeepers.StakingKeeper.GetAllDelegatorDelegations(s.Ctx, c1mAddr)))
Expand Down

0 comments on commit b83d073

Please sign in to comment.