Skip to content

Commit

Permalink
[move-prover] Partial specification of Vote module
Browse files Browse the repository at this point in the history
Added partial specifications for Vote.move.

This was an exploration of a different more top-down specification
methodology. The focus has been on global specifications, so there are
no "aborts_if"s, yet, and the ensures conditions are incomplete.

There are also more global specifications to write.

In the process of specifying and verifying this, I discovered that
an election could be created that has already be accepted, by
requiring 0 votes to pass.  So, I added a new assert to prevent
people from doing that.

Closes: #10090
  • Loading branch information
DavidLDill authored and bors-libra committed Dec 23, 2021
1 parent 0b180cb commit ceb8727
Show file tree
Hide file tree
Showing 7 changed files with 967 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ compiled_package_info:
? address: "00000000000000000000000000000001"
name: XUS
: DiemFramework
source_digest: C87B72EA71F98C21D5E1315C85E73B42578F19BA7A02916A421038E8FD6C7E46
source_digest: 93DAD44CD57084E472A305A6B6A2380E48B9C1B374F4D2DEFC8772C3F97E9CC5
build_flags:
dev_mode: false
test_mode: false
Expand Down
Binary file not shown.
Loading

0 comments on commit ceb8727

Please sign in to comment.