Skip to content

Commit

Permalink
issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
stackman27 committed Jun 23, 2023
1 parent 8cab4b9 commit 26b1589
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/superfluid/keeper/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,9 @@ func (s *KeeperTestSuite) TestSimplifyMigrateUnlockedPositionFromBalancerToConce

// 4. Lock the LP shares
unbondingDuration := s.App.StakingKeeper.GetParams(s.Ctx).UnbondingTime
originalGammLockId := s.LockTokens(poolJoinAcc, sdk.NewCoins(balancerPoolShareOut), unbondingDuration)
// TODO: Add lock tokens directluy from lock.go
originalGammLockId := s.LockTokensNoFund(poolJoinAcc, sdk.NewCoins(balancerPoolShareOut), unbondingDuration)

balancerLock, err := s.App.LockupKeeper.GetLockByID(s.Ctx, originalGammLockId)
s.Require().NoError(err)

Expand Down Expand Up @@ -1585,6 +1587,7 @@ func (s *KeeperTestSuite) TestSimplifyMigrateUnlockedPositionFromBalancerToConce

fmt.Println("BALANCER LOCK AFTER MIGRATION", balancerLockAfterMigration)

// Create another position
_, _, _, _, _, _, _, err = s.App.SuperfluidKeeper.MigrateNonSuperfluidLockBalancerToConcentrated(s.Ctx, poolJoinAcc, originalGammLockId, balancerPoolShareOut, sdk.NewCoins())
s.Require().NoError(err)

Expand Down

0 comments on commit 26b1589

Please sign in to comment.