New answers tagged

0 votes

Why a contract with only one variable produces lots of EVM code?

Here is a great explanation, on a pretty similar code: https://noxx.substack.com/p/evm-deep-dives-the-path-to-shadowy-d6b?s=r
tikonoff's user avatar
  • 331
0 votes
Accepted

Received `NotActivated` error when debugging my foundry test

This is likely due to you not using the correct evm_version. Some versions of the EVM only support certain opcodes. Be sure you set the correct version in your foundry.toml. For PUSH0, you'd need to ...
Patrick Collins's user avatar
0 votes

invalid opcode: opcode 0x5f not defined

I had same error. This is how I fixed it. To fix this error make sure solidity version is less that 0.8.20. I used 0.8.19 both in .sol file and package.json For specific version in package.json use ...
Devloper's user avatar

Top 50 recent answers are included