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
@@ -63,7 +63,9 @@ public:
{
bytes bytecode = multiSourceCompileContract(_sourceCode, _sourceName, _contractName, _libraryAddresses);
if (bytecode.size() > 0)
// Note: Temporary solution that adds arguments size in the EOF data_section_size header to validate evmone implementation.
// TODO: Validate header and version.
if (bytecode.size() > 3)
{
if (bytecode[0] == uint8_t(0xef) && bytecode[1] == uint8_t(00)) // is EOF
{