-
Notifications
You must be signed in to change notification settings - Fork 337
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
Nested arrays not yet implemented.
error crashing compilation against solc 0.6.x
#215
Comments
Hmm this is interesting:
pinging @leonardoalt in case anything comes to mind about why this might happen? It doesn't seem related to #207, though the difference in CI vs. local results does make me wonder if it's related to the different solc binaries being used? cc'ing @nventuro for awareness since I know you had the same issue |
From the top of my head, my first guess would be that the new foundry lib code causes stack too deep in old compiler versions that didn't have the current optimizers, that is, the error messages are legit for older Solc versions. But if CI passes for 0.6.2 this might be wrong, so need to take a better look. |
Ok, confirmed this is a forge-std issue. The reason CI passed it because it never compiled a contract that inherited from I noticed/confirmed this when working on #217. The |
Changes introduced in PR #184 - commit 17656a2 , seems to be causing issues with compilation using Solc 0.6x (tested with 0.6.2, 0.6.7, 0.6.9, 0.6.10).
Each one of them fails to compile, either by
UnimplementedFeatureError: Nested arrays not yet implemented.
error. Includingpragma experimental ABIEncoderV2;
in compiled file results instead inYulException: Stack too deep when compiling inline assembly: Variable dataEnd is 1 slot(s) too deep inside the stack.
Preceding commit works just fine (2a2ce36)
The text was updated successfully, but these errors were encountered: