Skip to content

Commit

Permalink
rolls out merkle shreds to ~50% of testnet (#31950)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8a47086)
  • Loading branch information
behzadnouri authored and mergify[bot] committed Jun 6, 2023
1 parent 7bfe386 commit 54fc76b
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 54fc76b

Please sign in to comment.