Skip to content

Commit

Permalink
fix price issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gsk967 committed Sep 23, 2024
1 parent e54b50e commit fc7244a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/e2e_ibc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ func (s *E2ETest) TestIBCTokenTransfer() {
// compute the amout of UMEE sent to gaia which would meet umee's token quota
umeePrice, err := s.QueryHistAvgPrice(umeeAPIEndpoint, umeeSymbol)
s.Require().NoError(err)
s.Require().True(umeePrice.GT(sdk.MustNewDecFromStr("0.001")),
"umee price should be non zero, and expecting higher than 0.001, got: %s", umeePrice)
s.Require().True(umeePrice.GT(sdk.MustNewDecFromStr("0")),
"umee price should be non zero, and expecting higher than 0, got: %s", umeePrice)
umeeQuota := sdk.NewCoin(appparams.BondDenom,
sdk.NewDecFromInt(tokenQuota).Quo(umeePrice).Mul(powerReduction).RoundInt(),
)
Expand Down

0 comments on commit fc7244a

Please sign in to comment.