assume vs bound
Last updated
Last updated
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 method.