chore: clean-up deprecated function usage (#14078)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user