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

Add more input validation for Clamping #54

Open
rappie opened this issue Sep 2, 2024 · 0 comments
Open

Add more input validation for Clamping #54

rappie opened this issue Sep 2, 2024 · 0 comments

Comments

@rappie
Copy link
Member

rappie commented Sep 2, 2024

Especially for signed integers it can be confusing which number is the smallest.

Example input validation we already have:
https://github.com/perimetersec/fuzzlib/blob/main/src/helpers/HelperClamp.sol#L141-L145

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