Open RealJohnnyTime opened 11 months ago
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
.
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.
Possibly related to https://github.com/Consensys/surya/issues/190, which was just fixed in Surya v0.4.9.
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?