neonevm / neon-compatibility

GNU General Public License v3.0
4 stars 3 forks source link

Investigate why the test GovernorCompatibilityBravo fails #243

Closed vasiliy-zaznobin closed 2 years ago

vasiliy-zaznobin commented 2 years ago

https://github.com/neonlabsorg/neon-compatibility/runs/4652030620?check_suite_focus=true#step:9:711

GovernorCompatibilityBravo
       "before each" hook for "run":
     Error: Returned error: ('evm emulator error ', {'accounts': [{'account': '3BFXA1bHaTbZ9YCVUw2LPpzvWAUWesszwsD6rd5z6xay', 'address': '0xc85c0f812f9120a597019353b24ba6325bd5e142', 'code_size': None, 'code_size_current': None, 'contract': None, 'new': False, 'writable': False}, {'account': 'yAd5v9FY39UJaSxEdDrhUhGkMH3NczSrnbdMFo7Cpq8', 'address': '0x3f1d06b3400d3b77d094da81201be2a0ca01138b', 'code_size': None, 'code_size_current': None, 'contract': None, 'new': True, 'writable': False}], 'exit_status': 'error', 'result': '', 'solana_accounts': [], 'steps_executed': 1616, 'token_accounts': [], 'used_gas': 49226818})
      at Context.<anonymous> (test/governance/compatibility/GovernorCompatibilityBravo.test.js:56:35)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
vasiliy-zaznobin commented 2 years ago

The problem is that the size of the contract that they tried to deploy was more than 24K. Perhaps the problem can be solved using compilation optimization https://github.com/neonlabsorg/neon-compatibility/issues/244