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

[N-9] Split complex require statements into smaller, more specific requirements #11

Open
juniormp opened this issue Apr 11, 2023 · 0 comments

Comments

@juniormp
Copy link
Owner

juniormp commented Apr 11, 2023

Comments

Splitting complex require statements into smaller, more specific requirements with descriptive reason strings is a best practice in Solidity development, as it helps to improve code readability, maintainability, and security.

Instances

https://github.com/juniormp/audit-2023-04-rubicon/blob/511636d889742296a54392875a35e4c0c4727bb7/contracts/RubiconMarket.sol#L612

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