trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.32k forks source link

Generate warnings if top-level structures and enums are used #4254

Open montyly opened 3 years ago

montyly commented 3 years ago

Hi

If a codebase has top-level structures/enums, truffle will generate broken compilation artifacts, which prevents its usage for third-party tools (like slither). More details are discussed in https://github.com/trufflesuite/truffle/issues/3124.

As fixing the issue will require some refactoring, it would be nice to have at least a warning at compilation to warn the users.

cds-amal commented 1 year ago

Hey @mortyly,

Can you clarify in what situations you'd want this warning? Specifically, which commands should emit these warnings?

Thanks

dongmingh commented 1 year ago

Hi, @montyly, Happy New Year! Are you still interested in this issue? We want to support slither, how can we proceed?

kevinbluer commented 1 year ago

Hey all, closing this one for issue maintenance.

cds-amal commented 1 year ago

Reopening this as we should try and coordinate with Slither.