Skip to content
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

Add constant assertions to SMT encoding of postconditions #182

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

zoep
Copy link
Collaborator

@zoep zoep commented Feb 29, 2024

This PR adds assertions that storage variables that are not explicitly modified remain constant. This was missing from the SMT encoding of postconditions.

Also, adds the AMΜ contract as a test in the postconditions directory that relies on these assertion to be proved.

@zoep zoep merged commit 6671f66 into main Mar 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant