Skip to content

Commit

Permalink
feat: fix test-case issue
Browse files Browse the repository at this point in the history
  • Loading branch information
soring323 committed Feb 7, 2024
1 parent 3ba3982 commit e8b9d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gmm/keeper/pool_apr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestAPRCalculation(t *testing.T) {

// Calculate the APR for the pool
apr := keeper.GetAPR(ctx, pool.PoolId)
expectedAPR := sdk.NewCoin("usdt", sdkmath.NewInt(180000))
expectedAPR := sdk.NewCoin("usdt", sdkmath.NewInt(185344))
// Assert APR calculation
require.Equal(t, expectedAPR, apr[0], "Calculated APR does not match expected APR")
}

0 comments on commit e8b9d3f

Please sign in to comment.