-
Notifications
You must be signed in to change notification settings - Fork 30
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
Javascript call stack exceeded #80
Comments
@axic Thanks for the feedback. It appears that issue originates from solc-typed-ast. However, I'm not sure if Scribble manipulated AST somehow to make that happend. We will keep track the issue in case if we will be able to rootcause. @cd1m0 There were few commits to the mentioned file in error trace. The current last one is Consensys/solc-typed-ast@f5f0d72. |
I have tried creating an example a few times, probably spent over an hour on it, but couldn't yet reduce it. I cannot share the source yet :( |
Ok. Will try to look at the code and find anything suspicious |
I was able to reproduce the issue by trying to look-up an identifier that doesn't exist. Here are the samples:
B.sol:
Doing |
Tried 0.5.7, but it still happens. The repository however now is public: https://github.com/tempus-finance/tempus-protocol @cd1m0 as an extremely simple example, add |
@axic thanks for following up! Will reproduce this and try to give you rootcause/fix :) |
@cd1m0 much appreciated, can't wait to create some scribble specifications 😅 |
On the same codebase whatever I do (like adding an
invariant
or aif_succeeds
statement) I keep getting Javascript Maximum call stack size exceeded errors.Two kinds in particular:
(It is a local install of 912a472)
I think the second case may be connected to #64.
I tried for a quite bit of time create a reduced example, but can't really spend too many hours on it. @cd1m0 do you have any idea based on the above?
The text was updated successfully, but these errors were encountered: