Skip to content

Commit

Permalink
Enable Mysticeti for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtian committed Jul 1, 2024
1 parent 5428392 commit d23fa6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/sui-protocol-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ const MAX_PROTOCOL_VERSION: u64 = 52;
// Modified sui-system package to enable withdrawal of stake before it becomes active.
// Enable soft bundle in devnet and testnet.
// Core macro visibility in sui core framework.
// Enable Mysticeti on mainnet.

#[derive(Copy, Clone, Debug, Hash, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord)]
pub struct ProtocolVersion(u64);
Expand Down Expand Up @@ -2463,6 +2464,8 @@ impl ProtocolConfig {
cfg.feature_flags.per_object_congestion_control_mode =
PerObjectCongestionControlMode::TotalTxCount;
}

cfg.feature_flags.consensus_choice = ConsensusChoice::Mysticeti;
}
// Use this template when making changes:
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ feature_flags:
enable_coin_deny_list: true
enable_group_ops_native_functions: true
reject_mutable_random_on_entry_functions: true
consensus_choice: Mysticeti
consensus_network: Tonic
zklogin_max_epoch_upper_bound_delta: 30
reshare_at_same_initial_version: true
Expand Down

0 comments on commit d23fa6c

Please sign in to comment.