diff --git a/crates/sui-core/src/authority/authority_per_epoch_store.rs b/crates/sui-core/src/authority/authority_per_epoch_store.rs index 70c1e98bbb2e1..096018c85aee2 100644 --- a/crates/sui-core/src/authority/authority_per_epoch_store.rs +++ b/crates/sui-core/src/authority/authority_per_epoch_store.rs @@ -898,18 +898,6 @@ impl AuthorityPerEpochStore { randomness_reporter: OnceCell::new(), }); - if matches!(chain_identifier.chain(), Chain::Mainnet | Chain::Testnet) { - // If we disable randomness, and if the release in which it was disabled did not have - // the commit that added this comment, we will need to revert this commit. This is - // because the previous release will have been writing to the deprecated - // assigned_shared_object_versions table. - // - // If we disable randomness *after* this commit has been shipped to all networks, then - // we can simply remove this assert, as we will no longer switch back and forth between - // the two tables. - assert!(s.randomness_state_enabled()); - } - s.update_buffer_stake_metric(); s }