How to resolve "CompilerError: Stack too deep."? #2946
PatricHenry
started this conversation in
General
Replies: 1 comment
-
@PatricHenry Please check this may it help you LINK |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I compile and get below error:
CompilerError: Stack too deep. Try compiling with --via-ir (cli) or the equivalent viaIR: true (standard JSON) while enabling the optimizer
I don't know where and how to set "viaIR=true"; I usually use VS and Remix.
Shall I get some advice? Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions