Skip to content
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

Solidity Metrics not generating Inheritance/Call graphs for EVM Cancun #16

Open
malevolent opened this issue Feb 2, 2024 · 0 comments

Comments

@malevolent
Copy link

Hi,
To repro just install Univ4 (https://github.com/Uniswap/v4-core/tree/main/src) and enable cancun by changing your local workspace to use a)the solc bits in their repo or b) setting --evm-version to cancun for your workspace compiler.

Problem When you use solidity-metrics to generate the inheritance/call graphs for repos using tstore/tload, the file using the new opcodes breaks the graph generation. I am guessing this is a solidity lang issue and that somehow, solidity metrics is using the global path of solidity and when the graph tries to be generated, the file using the new cancun opcodes (src/libraries/Lockers.sol with the tstore and tload opcodes) is what's breaking the graph generation.
How can I sanity test my solidity metrics is using the solidity bits I want it to use? My hair is on fire!! Sorry in advance if this is a dumb question or if I missed something obvious, I checked the places I could and thats why I'm submitting an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant