Skip to content

Commit

Permalink
cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Sep 18, 2023
1 parent 1f0c430 commit a923f7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/oracle/abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ func (s *IntegrationTestSuite) TestEndBlockerVoteThreshold() {
for _, denom := range app.OracleKeeper.AcceptList(ctx) {
rate, err := app.OracleKeeper.GetExchangeRate(ctx, denom.SymbolDenom)
s.Require().NoError(err)
s.Require().Equal(sdk.MustNewDecFromStr("1.0"), rate)
s.Require().Equal(types.ExchangeRate{Rate: sdk.OneDec(), Timestamp: ctx.BlockTime()},
rate)
}

// Test: only val2 votes (has 39% vote power).
Expand Down

0 comments on commit a923f7d

Please sign in to comment.