Skip to content

Commit

Permalink
rolls back merkle shreds on testnet (backport #29340) (#29344)
Browse files Browse the repository at this point in the history
rolls back merkle shreds on testnet (#29340)

#29339
adds hash domain to merkle shreds. In order to merge that change, need
to temporarily disable merkle shreds on testnet.

(cherry picked from commit 5582924)

Co-authored-by: behzad nouri <[email protected]>
  • Loading branch information
mergify[bot] and behzadnouri authored Dec 20, 2022
1 parent e21546c commit 6198c1b
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 @@ -473,8 +473,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 == 6995 && (slot % 19 < 4)
fn should_use_merkle_variant(_slot: Slot, _cluster_type: ClusterType, _shred_version: u16) -> bool {
false
}

#[cfg(test)]
Expand Down

0 comments on commit 6198c1b

Please sign in to comment.