Skip to content

Commit

Permalink
[move] A cosmetic Prover cleanup (MystenLabs#8335)
Browse files Browse the repository at this point in the history
  • Loading branch information
awelc authored Feb 16, 2023
1 parent 1a96a5d commit d70f8dc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
9 changes: 0 additions & 9 deletions crates/sui-framework/docs/sui_system.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,6 @@ the epoch advancement transaction.



<a name="0x2_sui_system_MAX_SUPPLY"></a>



<pre><code><b>const</b> <a href="sui_system.md#0x2_sui_system_MAX_SUPPLY">MAX_SUPPLY</a>: u64 = 1000000000000000000;
</code></pre>



<a name="0x2_sui_system_create"></a>

## Function `create`
Expand Down
2 changes: 0 additions & 2 deletions crates/sui-framework/sources/governance/sui_system.move
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ module sui::sui_system {

const BASIS_POINT_DENOMINATOR: u128 = 10000;

const MAX_SUPPLY: u64 = 1000000000000000000;

// ==== functions that can only be called by genesis ====

/// Create a new SuiSystemState object and make it shared.
Expand Down
4 changes: 0 additions & 4 deletions crates/sui-framework/sources/governance/validator.move
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ module sui::validator {
commission_rate: u64,
}

// spec Validator {
// invariant stake_amount + delegation_staking_pool.sui_balance <= MAX_U64;
// }

const PROOF_OF_POSSESSION_DOMAIN: vector<u8> = vector[107, 111, 115, 107];

fun verify_proof_of_possession(
Expand Down

0 comments on commit d70f8dc

Please sign in to comment.