From cb4463e5f128854218b60cbcc243d03929bfb060 Mon Sep 17 00:00:00 2001 From: rigelrozanski Date: Mon, 30 Apr 2018 17:30:34 -0400 Subject: [PATCH] reenable TestPossibleOverflow --- x/stake/pool_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/x/stake/pool_test.go b/x/stake/pool_test.go index 316d57b969..e5dc660580 100644 --- a/x/stake/pool_test.go +++ b/x/stake/pool_test.go @@ -432,9 +432,6 @@ func assertInvariants(t *testing.T, msg string, } -// TODO Re-enable once the overflow bug is fixed! -// ref https://github.com/cosmos/cosmos-sdk/issues/753 -/* func TestPossibleOverflow(t *testing.T) { assets := sdk.NewRat(2159) liabilities := sdk.NewRat(391432570689183511).Quo(sdk.NewRat(40113011844664)) @@ -464,7 +461,6 @@ func TestPossibleOverflow(t *testing.T) { "Applying operation \"%s\" resulted in negative delegatorShareExRate(): %v", msg, newCandidate.delegatorShareExRate()) } -*/ // run random operations in a random order on a random single-candidate state, assert invariants hold func TestSingleCandidateIntegrationInvariants(t *testing.T) {