Fix gas test after using shifts in constant optimiser

This commit is contained in:
Alex Beregszaszi 2019-02-25 15:22:06 +00:00
parent bb9230a6c1
commit a498062816

View File

@ -72,9 +72,9 @@ BOOST_AUTO_TEST_CASE(string_storage)
CHECK_GAS(134435, 130591, 100);
// This is only correct on >=Constantinople.
else if (Options::get().useABIEncoderV2)
CHECK_GAS(151819, 142753, 100);
CHECK_GAS(151819, 136003, 100);
else
CHECK_GAS(127225, 124873, 100);
CHECK_GAS(127225, 120159, 100);
if (Options::get().evmVersion() >= EVMVersion::byzantium())
{
callContractFunction("f()");