assume vs bound
Supposed to use bound for most things,
Only use vm.assume for very narrow checks
For broad checks, such as ensuring a uint256 falls within a certain range, you can bound your input with the modulo operator or Forge Standard's bound method.
Last updated