Merge pull request #8821 from ethereum/remove-flag

Remove obsolete flag --optimize-yul from scripts
This commit is contained in:
Christian Parpart
2020-05-06 16:20:23 +02:00
committed by GitHub
6 changed files with 5 additions and 9 deletions
+2 -2
View File
@@ -100,7 +100,7 @@ BOOST_AUTO_TEST_CASE(string_storage)
// This is only correct on >=Constantinople.
else if (CommonOptions::get().useABIEncoderV2)
{
if (CommonOptions::get().optimizeYul)
if (CommonOptions::get().optimize)
{
// Costs with 0 are cases which cannot be triggered in tests.
if (evmVersion < EVMVersion::istanbul())
@@ -129,7 +129,7 @@ BOOST_AUTO_TEST_CASE(string_storage)
// This is only correct on >=Constantinople.
else if (CommonOptions::get().useABIEncoderV2)
{
if (CommonOptions::get().optimizeYul)
if (CommonOptions::get().optimize)
{
if (evmVersion < EVMVersion::istanbul())
CHECK_GAS(0, 21567, 20);