delegation-framework icon indicating copy to clipboard operation
delegation-framework copied to clipboard

Value Zero Validation On Non Value Enforcers

Open hanzel98 opened this issue 7 months ago • 0 comments

What?

  • Adds the validation for using zero value on enforcers where the execution shouldn't use value at all.

Why?

  • This helps with security for users, so they don't need to remember to add an extra value safety check.
  • This makes the value validation cheaper in comparison to using the valueLte enforcer

How?

  • Reads the execution value, and makes sure that it is set to 0, otherwise revert

hanzel98 avatar Jun 10 '25 21:06 hanzel98