Skip to content

Commit

Permalink
make it easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Sep 4, 2023
1 parent eae92e4 commit 3d37ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/upgrades/uni-a/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func preUpgradeChecks(s *UpgradeTestSuite) {
func postUpgradeChecks(s *UpgradeTestSuite) {
bal := getAccBalance(s, unia.ReeceBech32)
// 100m tokens
s.Require().Equal(bal, sdk.NewCoins(sdk.NewCoin("ujunox", sdk.NewInt(100_000_000*1e6))))
s.Require().Equal(bal, sdk.NewCoins(sdk.NewCoin("ujunox", sdk.NewInt(100_000_000*1_000_000))))
}

func getAccBalance(s *UpgradeTestSuite, bech32 string) sdk.Coins {
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/uni-a/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func CreateUniAUpgradeHandler(

// set blocks per year to be very high
mp := keepers.MintKeeper.GetParams(ctx)
mp.BlocksPerYear = 100_000_000 * 1e6
mp.BlocksPerYear = 1_000_000_000_000
if err := keepers.MintKeeper.SetParams(ctx, mp); err != nil {
return nil, err
}
Expand Down

0 comments on commit 3d37ff5

Please sign in to comment.