diff --git a/vmhooks/baseOps.md b/vmhooks/baseOps.md index 46599e0c..25a66928 100644 --- a/vmhooks/baseOps.md +++ b/vmhooks/baseOps.md @@ -209,8 +209,8 @@ module BASEOPS rule [checkNoPayment-pass]: hostCall("env", "checkNoPayment", [ .ValTypes ] -> [ .ValTypes ]) => . ... VAL - .List - requires VAL <=Int 0 + T:List + requires VAL <=Int 0 andBool size(T) ==K 0 rule [checkNoPayment-fail-egld]: hostCall("env", "checkNoPayment", [ .ValTypes ] -> [ .ValTypes ]) @@ -224,8 +224,8 @@ module BASEOPS => #throwException(ExecutionFailed, "function does not accept ESDT payment") ... VAL - ListItem(_) ... - requires VAL <=Int 0 + T:List + requires VAL <=Int 0 andBool 0