Skip to content

Commit

Permalink
rolls back merkle shreds on testnet (#29340)
Browse files Browse the repository at this point in the history
#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)
  • Loading branch information
behzadnouri authored and mergify[bot] committed Dec 20, 2022
1 parent e21546c commit f275536
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 f275536

Please sign in to comment.