Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid opcode #22

Open
codetronik opened this issue Dec 8, 2023 · 0 comments
Open

invalid opcode #22

codetronik opened this issue Dec 8, 2023 · 0 comments

Comments

@codetronik
Copy link

codetronik commented Dec 8, 2023

   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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant