-
Notifications
You must be signed in to change notification settings - Fork 18
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
Problems with FlightManager.flint #444
Comments
Also, a precondition is also causing problem
If we have this pre-condition We cannot just remove this line, as it is required to pass the verification test |
For currently unknown reasons, you can fix the |
Unfortunately also, transfer doesn't prove anything, and there are a number of issues that prevent it from doing so:
|
invariant (forall (a, Address, dictContains(amountPaid, a) ==> amountPaid[a].rawValue == ticketPrice))
uncommented with the verifier:ERROR:
comment out the first invariant and not skipping the verifier:
Contract specification verified!
Problem with second invariant:
Expected 'invariant' declaration within contract
get similar problem as the first invariant in StandardToken.flint when writing the invariant
forall (a, Address, balances[a] >= 0)
The text was updated successfully, but these errors were encountered: