Skip to content

Commit

Permalink
[Spec] Added the spec of pool_u64 (#5618)
Browse files Browse the repository at this point in the history
Added the spec of `pool_u64` using `simple_map`.
  - TODO: complete the spec of `transfer_shares` which is currently difficult to specify due to the intermediate state problem.
  - TODO: disabled the verification of `genesis::initialize_for_verification` due to the issue of Table and struct inv.

Added some spec helper functions for `vector` and `simple_map`.
  • Loading branch information
junkil-park authored Nov 22, 2022
1 parent f495723 commit 2ba008c
Show file tree
Hide file tree
Showing 8 changed files with 623 additions and 7 deletions.
2 changes: 1 addition & 1 deletion aptos-move/framework/aptos-framework/doc/genesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ The last step of genesis.



<pre><code><b>pragma</b> verify = <b>true</b>;
<pre><code><b>pragma</b> verify = <b>false</b>;
</code></pre>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ spec aptos_framework::genesis {
}

spec initialize_for_verification {
pragma verify = true;
// TODO: disabled due to the issue of Table.
pragma verify = false;
}

spec create_signer {
Expand Down
Loading

0 comments on commit 2ba008c

Please sign in to comment.