-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Maximum call stack size exceeded #183
Comments
is there a repo I can test the Curves contract? |
|
I'm having the same error, but I can't share the repo. |
same error with node v21.6.1 |
I added extra functionality to handle imports from imports and multi-level inheritance. Unfortunately, the recursive I'm currently looking at rewriting the association logic with a graph library. |
I found workaround. The problem as @naddison36 said is with the larger code bases but if you flatten the code base using some tool as hardhat's flatten or solidity-flattener you can run the |
Running sol2uml on the flattened file solved the issue for me! |
I also tried running solidity-flattener and then ran sol2uml on the output file but this couldn't solve the issue for me (I still get the same call stack size exceeded error) (~913 sloc). I think it is got to do something with the circular dependecies imports of the smart contract repo. |
up |
Using |
Having the same issue |
you could also try creating a dummy contract that just imports the contract you want to work with as well if flattening did not work. |
i've installed
sol2uml
using the command given in the readMe. but the issue is that when I try to generate a diagram it shows it errorI've tried both command
sol2uml contracts/
sol2uml contracts/Curve.sol
but still both of these command are giving me this eror
The text was updated successfully, but these errors were encountered: