Skip to content

Commit

Permalink
rm
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed Sep 13, 2024
1 parent 1f5febd commit 02d9b4e
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions tests/tests/steward/test_scoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,28 +68,6 @@ fn create_validator_history(
}
}

#[allow(dead_code)]
fn create_cluster_history(total_blocks: &[u32]) -> ClusterHistory {
let mut history = CircBufCluster::default();
for (i, &blocks) in total_blocks.iter().enumerate() {
history.push(validator_history::ClusterHistoryEntry {
epoch: i as u16,
total_blocks: blocks,
..Default::default()
});
}
ClusterHistory {
history,
struct_version: 0,
bump: 0,
_padding0: [0; 7],
cluster_history_last_update_slot: 0,
_padding1: [0; 232],
}
}

// Tests

mod test_calculate_mev_commission {
use jito_steward::score::calculate_mev_commission;

Expand Down

0 comments on commit 02d9b4e

Please sign in to comment.