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

Syura Graph Feature Doesn't Work for Contracts with Named Mappings (0.8.18+) #137

Open
RealJohnnyTime opened this issue Jul 25, 2023 · 3 comments

Comments

@RealJohnnyTime
Copy link

When enabling the graph feature in a solidity contract of version 0.8.18 or higher, and if there exists a named mapping like mapping(address token => address owner) private data; the graph feature fails to function without providing any error messages. It simply does not generate the graph.

Has anyone else encountered this issue?

@IAm0xAxe
Copy link

IAm0xAxe commented Jul 26, 2023

Yeah,I've met too.

But I don't know what problem is causing it. Other contract files without mapping can open graph, contract files with mapping, indeed, cannot open graph.

@tintinweb tintinweb added bug Something isn't working 3rd-party-bug and removed bug Something isn't working labels Oct 13, 2023
@spaceh3ad
Copy link

Yeah, I have same error. Though I think it's Surya related problem since with cmd it also fails to produce graphs.
It produces but empty images.

@GNSPS
Copy link
Contributor

GNSPS commented Oct 27, 2023

Possibly related to Consensys/surya#190, which was just fixed in Surya v0.4.9.

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

No branches or pull requests

5 participants