forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[diem-framework] specs for NetworkIdentity
This commit adds the specifications for the `NetworkIdentity` module and changes a few implementation pieces in order to keep the SMT solver happy. The `NetworkIdentity` should be fully specified now. An interesting part in this code is to simulate two set operations, set union and set difference, via vector operations. For this, two generic functions are added, `add_members_internal` and `remove_members_internal` and they might be useful outside the context of `NetworkIdentity` as well.
- Loading branch information
1 parent
f5dd19a
commit 2147baf
Showing
4 changed files
with
714 additions
and
202 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
Oops, something went wrong.