Skip to content

Commit

Permalink
Use a reasonable max_tick_height
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Feb 14, 2019
1 parent d90d8a8 commit 6c0cb45
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/banking_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ mod tests {
use crate::banking_stage::BankingStageReturnType;
use crate::entry::EntrySlice;
use crate::genesis_block::GenesisBlock;
use crate::leader_scheduler::DEFAULT_TICKS_PER_SLOT;
use crate::packet::to_packets;
use solana_sdk::signature::{Keypair, KeypairUtil};
use solana_sdk::system_transaction::SystemTransaction;
Expand All @@ -295,7 +296,7 @@ mod tests {
verified_receiver,
PohServiceConfig::default(),
&bank.last_id(),
std::u64::MAX,
DEFAULT_TICKS_PER_SLOT,
genesis_block.bootstrap_leader_id,
&to_validator_sender,
);
Expand All @@ -317,7 +318,7 @@ mod tests {
verified_receiver,
PohServiceConfig::default(),
&bank.last_id(),
std::u64::MAX,
DEFAULT_TICKS_PER_SLOT,
genesis_block.bootstrap_leader_id,
&to_validator_sender,
);
Expand All @@ -340,7 +341,7 @@ mod tests {
verified_receiver,
PohServiceConfig::Sleep(Duration::from_millis(1)),
&bank.last_id(),
std::u64::MAX,
DEFAULT_TICKS_PER_SLOT,
genesis_block.bootstrap_leader_id,
&to_validator_sender,
);
Expand Down Expand Up @@ -369,7 +370,7 @@ mod tests {
verified_receiver,
PohServiceConfig::default(),
&bank.last_id(),
std::u64::MAX,
DEFAULT_TICKS_PER_SLOT,
genesis_block.bootstrap_leader_id,
&to_validator_sender,
);
Expand Down Expand Up @@ -427,7 +428,7 @@ mod tests {
verified_receiver,
PohServiceConfig::default(),
&bank.last_id(),
std::u64::MAX,
DEFAULT_TICKS_PER_SLOT,
genesis_block.bootstrap_leader_id,
&to_validator_sender,
);
Expand Down

0 comments on commit 6c0cb45

Please sign in to comment.