Skip to content

Commit

Permalink
v1.16: rolls out merkle shreds to 100% of testnet slots (backport of #…
Browse files Browse the repository at this point in the history
…32316) (#32336)

rolls out merkle shreds to 100% of testnet slots (#32316)

(cherry picked from commit b722ce4)

Co-authored-by: behzad nouri <[email protected]>
  • Loading branch information
mergify[bot] and behzadnouri authored Jun 29, 2023
1 parent 7c4c78d commit 76edf09
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 {
cluster_type == ClusterType::Testnet && shred_version == 28353 && (slot % 19 < 10)
fn should_use_merkle_variant(_: Slot, cluster_type: ClusterType, shred_version: u16) -> bool {
cluster_type == ClusterType::Testnet && shred_version == 28353
}

#[cfg(test)]
Expand Down

0 comments on commit 76edf09

Please sign in to comment.