Add notes about temporary changes

This commit is contained in:
Rodrigo Q. Saramago
2022-12-06 20:26:43 +01:00
parent 246ef7a8b2
commit ca4d84f692
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -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);