chore: clean-up deprecated function usage (#14078)

This commit is contained in:
Julien Robert
2022-11-30 01:10:50 +01:00
committed by GitHub
parent 2e3d38f01c
commit 6239cdfddb
21 changed files with 89 additions and 139 deletions
@@ -102,7 +102,7 @@ func (s *KeeperTestSuite) TestUnJailNotBonded() {
amt := s.stakingKeeper.TokensFromConsensusPower(ctx, 50)
msg := tstaking.CreateValidatorMsg(addr, val, amt)
msg.MinSelfDelegation = amt
res, err := tstaking.CreateValidatorWithMsg(sdk.WrapSDKContext(ctx), msg)
res, err := tstaking.CreateValidatorWithMsg(ctx, msg)
s.Require().NoError(err)
s.Require().NotNil(res)