-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
My contract needs solidity compiler option --via-ir it seems tenderly.verifyMultiCompilerAPI does not use this compiler option. Hardhat supports this option so while I'm able to use it with hardhat, I can't compile and verify contracts using tenderly.
Can you add viaIR option?
This is how it looks on hardhat.
compiler: {
version: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 1000,
},
viaIR: true
},
}
Without it, I get this compilation error.
error_type: 'CompilerError',
component: 'general',
message: 'Compiler error (/solidity/libsolidity/codegen/LValue.cpp:52):Stack too deep. Try compiling with `--via-ir` (cli) or the equivalent `viaIR: true` (standard JSON) while enabling the optimizer. Otherwise, try removing local variables.',
formatted_message: undefined
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels