-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cancel-everything: "Property identifier does not exist (Want)" #218
Comments
Same comment as other, cancel everything ambiguous.
First option is coded now AFAIK. |
Either way (with or without ecosystem limitation), there should not be a property id validation, I think. Edit: similar to how some other fields are ignored, such as amounts that can be zero. (...) |
can you provide a use case for why this behavior needs to be added? if you have an active trade, its very easy to just supply the proper propertyid to make the RPC call return successfully Additionally as Zathras mentioned depending on future implementation changes this will need to be checked (if cancel_all is applied per-ecosystem rather than cross-ecosystem) |
I have no explicit use case, but everything in the Mastercoin "system" is build around the concept of two seperated ecosystems that can't interact with each other. A "cancel-everything" that is not limited to one ecosystem breaks this. |
Oh, sorry, wrong thread.
I do not suggest do ignore property identifiers completely, but it should not matter, if they are valid. Similar to how amounts are ignored in the case of "cancel-pair" and "cancel-everything", there should be no validation of the property values. But if "cancel-everything" is indeed limited to one ecosystem, then the property values should be used to determine the ecosystem - until there is an explicit field, as suggested here: OmniLayer/spec#276 (comment) Two scenarios:
|
I think it is not limited to an ecosystem currently, and the spec should reflect that. |
Via RPC interface:
This fails with the message "Property identifier does not exist (Want)".
Related test lines: test_cancel_everything_values.py#L173-L203
This is due to the input validation checks, but in the case of cancel-everything amounts and property identifiers should be ignored, as long as both properties are in the same ecosystem.
The text was updated successfully, but these errors were encountered: