handler could fail to do one of steps to satisfy an offer #1483
Labels
enhancement
New feature or request
z~audit-zestival
Vulnerability assessment of ERTP + Zoe
Zoe
package: Zoe
Describe the issue
In the current API, for a given offer to be satisfied, the contract must:
exit
the seatHaving forgotten to add the appropriate
exit
operation for an offer, these each seem like steps that the contract could miss without warning. For example, the offer might be staged, but the reallocate is in a conditional, and then the offer getsexit
ed. Or staging and reallocation happens, but the offer never getsexit
ed.Possible solutions
decline
which is exiting an offer unchanged. At the very least to issue a warning.seat.keepOpen()
, an error or warning is issued).The text was updated successfully, but these errors were encountered: