0

I compile my project just fine but when I run manticore for my solidity file, it return Stack too deep error. I did some research but none of which I found work. Here is the config I'm setting:

solidity: {
    compilers: [
      {
        version: "0.8.4",
        settings: {
          optimizer: {
            enabled: true,
            runs: 200,
            details: {
              yul: true
            }
          },
          viaIR : false,
        },
      },
    ],
  },

How can I fix this error? Thanks

2
  • It's possible that manticore has to run the code with different optimizations (none possibly). Does your code compile if you disable it? In any case, try following this guide soliditydeveloper.com/stacktoodeep
    – 0xSanson
    Commented Nov 30, 2022 at 14:56
  • I disabled the optimizer and it didn't work.
    – marethyu
    Commented Dec 1, 2022 at 1:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.