Skip to content

Commit

Permalink
Turn on consensus fork detection in testnet (MystenLabs#16468)
Browse files Browse the repository at this point in the history
## Description 

Running in devnet for 3 months now, and no issue so far.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
halfprice authored Feb 29, 2024
1 parent ab03323 commit 2725ac4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/sui-protocol-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,11 @@ impl ProtocolConfig {
}
37 => {
cfg.feature_flags.reject_mutable_random_on_entry_functions = true;

// Enable consensus digest in consensus commit prologue in testnet and devnet.
if chain != Chain::Mainnet {
cfg.feature_flags.include_consensus_digest_in_prologue = true;
}
}
// Use this template when making changes:
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ feature_flags:
verify_legacy_zklogin_address: true
recompute_has_public_transfer_in_execution: true
accept_zklogin_in_multisig: true
include_consensus_digest_in_prologue: true
hardened_otw_check: true
allow_receiving_object_id: true
enable_coin_deny_list: true
Expand Down

0 comments on commit 2725ac4

Please sign in to comment.