You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This diagnostic from E(purse).withdraw(amt) seems to be trying to tell me the amounts that aren't in the right isGTE relationship, but [copyBag] is indistinguishable from [copyBag] and hence showing them is not very helpful:
Withdrawal of {"brand":"[Alleged: Place brand]","value":"[copyBag]"} failed because the purse only contained {"brand":"[Alleged: Place brand]","value":"[copyBag]"}
Describe the bug
This diagnostic from
E(purse).withdraw(amt)
seems to be trying to tell me the amounts that aren't in the rightisGTE
relationship, but[copyBag]
is indistinguishable from[copyBag]
and hence showing them is not very helpful:To Reproduce
Steps to reproduce the behavior:
makeIssuerKit
withAssetKind.COPY_BAG
E(issuer).makeEmptyPurse()
E(pruse).withdraw(AmountMath.make(brand, makeCopyBag([['sword', 1n]])
Expected behavior
Tell me I don't have enough swords. Or just tell me "insufficient funds" and don't try to show the copyBag values.
Additional context
The text was updated successfully, but these errors were encountered: