mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Minor fix
This commit is contained in:
parent
7ce6241a7f
commit
e8d6d9a3c3
@ -76,7 +76,7 @@ void EVMObjectCompiler::run(Object& _object, bool _optimize)
|
|||||||
yulAssert(_object.code, "No code.");
|
yulAssert(_object.code, "No code.");
|
||||||
if (m_eofVersion.has_value())
|
if (m_eofVersion.has_value())
|
||||||
yulAssert(
|
yulAssert(
|
||||||
_optimize && (m_dialect.evmVersion() == langutil::EVMVersion()),
|
_optimize && (m_dialect.evmVersion() >= langutil::EVMVersion::shanghai()),
|
||||||
"Experimental EOF support is only available for optimized via-IR compilation and the most recent EVM version."
|
"Experimental EOF support is only available for optimized via-IR compilation and the most recent EVM version."
|
||||||
);
|
);
|
||||||
if (_optimize && m_dialect.evmVersion().canOverchargeGasForCall())
|
if (_optimize && m_dialect.evmVersion().canOverchargeGasForCall())
|
||||||
|
Loading…
Reference in New Issue
Block a user