Skip to content

Commit

Permalink
rolls back merkle shreds on testnet
Browse files Browse the repository at this point in the history
solana-labs#29339
adds hash domain to merkle shreds. In order to merge that change, need
to temporarily disable merkle shreds on testnet.
  • Loading branch information
behzadnouri committed Dec 20, 2022
1 parent 2d849a2 commit bef1254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/broadcast_stage/standard_broadcast_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ 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)
false
}

#[cfg(test)]
Expand Down

0 comments on commit bef1254

Please sign in to comment.