mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8821 from ethereum/remove-flag
Remove obsolete flag --optimize-yul from scripts
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user