Add notes about temporary changes

This commit is contained in:
Rodrigo Q. Saramago
2022-12-06 20:31:31 +01:00
parent bc119e2522
commit 5ed7600130
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
{