Avoid output messages size blow-up using huge bignums literals

This commit is contained in:
Federico Bond
2018-02-12 22:53:33 +00:00
committed by Alex Beregszaszi
parent 954903b505
commit a320ffeafd
4 changed files with 23 additions and 4 deletions
@@ -1752,7 +1752,7 @@ BOOST_AUTO_TEST_CASE(overflow_caused_by_ether_units)
uint256 a;
}
)";
CHECK_ERROR(sourceCode, TypeError, "Type int_const 115792089237316195423570985008687907853269984665640564039458000000000000000000 is not implicitly convertible to expected type uint256.");
CHECK_ERROR(sourceCode, TypeError, "Type int_const 1157...(70 digits omitted)...0000 is not implicitly convertible to expected type uint256.");
}
BOOST_AUTO_TEST_CASE(exp_operator_exponent_too_big)