mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add notes about temporary changes
This commit is contained in:
@@ -777,6 +777,7 @@ LinkerObject const& Assembly::assemble() const
|
||||
auto dataLength = ret.bytecode.size() - dataStart;
|
||||
if (m_eofVersion.has_value())
|
||||
{
|
||||
// Note: Temporary solution to current evmone requirement of non-empty data section.
|
||||
if (dataLength == 0)
|
||||
{
|
||||
ret.bytecode.push_back(0);
|
||||
|
||||
Reference in New Issue
Block a user