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
Vessel identifiers can become unassigned between generation and acceptance #496
Comments
@inigmatus and @severedsolo should probably also check this one out as it may come in useful for their contract packs. |
ValidVessel seems a reasonable solution, yeah. |
That would be very useful as long as I can still use expressions to check I've got a vessel that makes sense |
Of course!
|
interesting. my contracts typically center around following one from launch to landing. i'll keep the feature in mind though! |
This worries me: |
Penalties will get applied. Long term I'd like to do a revamp to improve contract requirements to allow more flexibility (allow flags to specify whether checks are done for active contracts, whether failure penalties apply and messages in #464). If you have specific stuff that you want (or specific details for the ones mentioned before), then raise an issue to track it. |
It's possible for a vessel identifier that was valid when a contract was generated to become unassigned by the time the contract is accepted. Because of the way stuff in data nodes and requirements get checked, it's not currently possible to write a contract that will properly check stuff like this after generation.
My current thoughts on a solution would involve targeting this specific case, and adding a ValidVessel requirement that takes a vessel identifier, replacing the expression entirely.
Raised based on the RP-0 Crew Rotation Contract and this discussion.
The text was updated successfully, but these errors were encountered: