-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This PR fix the broken spec by mocking up the `aptos_framework::object::exists_at`. - It's because a correct spec is not supported by Prover. This is a TODO and filed as an issue: aptos-labs/aptos-core#6658 GitOrigin-RevId: 74f6790f32b4fc09729d8c0e7930f9f93b534e2a
- Loading branch information
1 parent
937df95
commit 9348b11
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
spec aptos_framework::object { | ||
spec exists_at { | ||
pragma opaque; | ||
aborts_if false; | ||
// TODO: Disabled the following post-condition due to an issue with | ||
// the use of a type parameter in `exists` in spec. | ||
// ensures result == exists<T>(object); | ||
} | ||
} |