Skip to content

Commit

Permalink
style: lint stableswap the same as the rest of osmosis (#5105)
Browse files Browse the repository at this point in the history
* sync

* lint stableswap in the same manner as any other component of Osmosis

* add changelog entry
  • Loading branch information
faddat committed May 9, 2023
2 parents 8ed22fc + 86f9c1e commit 2d93ccf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/concentrated-liquidity/tick_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func (s *KeeperTestSuite) TestGetTickInfo() {
s.Require().Equal(model.TickInfo{}, tickInfo)
} else {
s.Require().NoError(err)
_, err = clKeeper.GetPoolById(s.Ctx, validPoolId)
clPool, err = clKeeper.GetPoolById(s.Ctx, validPoolId)
s.Require().NoError(err)
s.Require().Equal(test.expectedTickInfo, tickInfo)
}
Expand Down
3 changes: 2 additions & 1 deletion x/valset-pref/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ func (suite *KeeperTestSuite) GetDelegationRewards(ctx sdk.Context, valAddrStr s
}

func (suite *KeeperTestSuite) SetupDelegationReward(delegator sdk.AccAddress, preferences []types.ValidatorPreference, existingValAddrStr string, setValSetDel, setExistingdel bool) {
var ctx sdk.Context
// incrementing the blockheight by 1 for reward
ctx := suite.Ctx.WithBlockHeight(suite.Ctx.BlockHeight() + 1)
ctx = suite.Ctx.WithBlockHeight(suite.Ctx.BlockHeight() + 1)

if setValSetDel {
// only necessary if there are tokens delegated
Expand Down

0 comments on commit 2d93ccf

Please sign in to comment.