Merge pull request #6090 from ethereum/fix-gas-test

Fix gas test after using shifts in constant optimiser
This commit is contained in:
Alex Beregszaszi 2019-02-25 20:38:46 +00:00 committed by GitHub
commit 58236c8457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()");