Closed GNSPS closed 4 years ago
If an old version of the Solidity compiler was used and the constructor still uses the syntax pattern where it has the same name as the contract it is in, the graph command renders it as a different node outside of the contract cluster.
graph
I came here to report this.
Running surya graph on this codebase is a good way to repro:
https://github.com/ConsenSys/panvala/blob/d65744451d3aa22c3dc2a91cd27241494a4f94d5/governance-contracts/contracts/TokenCapacitor.sol#L79
This is done in 0.3.x
Closing!
If an old version of the Solidity compiler was used and the constructor still uses the syntax pattern where it has the same name as the contract it is in, the
graph
command renders it as a different node outside of the contract cluster.