eth-sri / ilf

AI based fuzzer based on imitation learning
Apache License 2.0
149 stars 32 forks source link

invalid opcode #22

Open codetronik opened 10 months ago

codetronik commented 10 months ago
   Deploying 'Migrations'
   ----------------------
net_version
eth_blockNumber
eth_getBlockByNumber
eth_getBlockByNumber
eth_gasPrice
eth_sendTransaction

  Transaction: 0x07f42b812e1081c2bf3c47f08bddae1173511dcb7eee1c4b5103a81099ca88a6
  Contract created: 0xd1de1b9e45605d53fb74e2ec6fee19f9d7696273
  Gas usage: 1000000000
  Block number: 1
  Block time: Fri Dec 08 2023 08:37:48 GMT+0000 (Coordinated Universal Time)
  Runtime error: invalid opcode

   > transaction hash:    0x07f42b812e1081c2bf3c47f08bddae1173511dcb7eee1c4b5103a81099ca88a6
eth_getTransactionReceipt
eth_getCode
eth_call
   ✖ Blocks: 0            Seconds: 0
 *** Deployment Failed ***

"Migrations" hit an invalid opcode while deploying. Try:
   * Verifying that your constructor params satisfy all assert conditions.
   * Verifying your constructor code doesn't access an array out of bounds.
   * Adding reason strings to your assert statements.

Exiting: Review successful transactions manually by checking the transaction hashes above on Etherscan.

Error:  *** Deployment Failed ***

If an opcode such as PUSH0 is included in the latest version of the evm, the above error occurs.

/ilf/ethereum/evm/opcode.py

I modified the file above, but the error still occurs. Will it work if I modify all python sources that process opcode in the /ilf directory? Or do I need to modify other dependency packages?