mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6090 from ethereum/fix-gas-test
Fix gas test after using shifts in constant optimiser
This commit is contained in:
commit
58236c8457
@ -72,9 +72,9 @@ BOOST_AUTO_TEST_CASE(string_storage)
|
|||||||
CHECK_GAS(134435, 130591, 100);
|
CHECK_GAS(134435, 130591, 100);
|
||||||
// This is only correct on >=Constantinople.
|
// This is only correct on >=Constantinople.
|
||||||
else if (Options::get().useABIEncoderV2)
|
else if (Options::get().useABIEncoderV2)
|
||||||
CHECK_GAS(151819, 142753, 100);
|
CHECK_GAS(151819, 136003, 100);
|
||||||
else
|
else
|
||||||
CHECK_GAS(127225, 124873, 100);
|
CHECK_GAS(127225, 120159, 100);
|
||||||
if (Options::get().evmVersion() >= EVMVersion::byzantium())
|
if (Options::get().evmVersion() >= EVMVersion::byzantium())
|
||||||
{
|
{
|
||||||
callContractFunction("f()");
|
callContractFunction("f()");
|
||||||
|
Loading…
Reference in New Issue
Block a user