Skip to content

Commit

Permalink
v1.16: rolls out merkle shreds to ~50% of testnet (backport of #31950) (
Browse files Browse the repository at this point in the history
#31992)

rolls out merkle shreds to ~50% of testnet (#31950)

(cherry picked from commit 8a47086)

Co-authored-by: behzad nouri <[email protected]>
  • Loading branch information
mergify[bot] and behzadnouri authored Jun 6, 2023
1 parent 6a5ff5b commit c69b335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/broadcast_stage/standard_broadcast_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ impl BroadcastRun for StandardBroadcastRun {
}
}

fn should_use_merkle_variant(_slot: Slot, _cluster_type: ClusterType, _shred_version: u16) -> bool {
false
fn should_use_merkle_variant(slot: Slot, cluster_type: ClusterType, shred_version: u16) -> bool {
cluster_type == ClusterType::Testnet && shred_version == 28353 && (slot % 19 < 10)
}

#[cfg(test)]
Expand Down

0 comments on commit c69b335

Please sign in to comment.