Add option to wait for a specific epoch length to bench-tps (#10083)
This commit is contained in:
@ -3,6 +3,7 @@ use solana_sdk::{
|
||||
account::Account,
|
||||
client::{AsyncClient, Client, SyncClient},
|
||||
commitment_config::CommitmentConfig,
|
||||
epoch_info::EpochInfo,
|
||||
fee_calculator::{FeeCalculator, FeeRateGovernor},
|
||||
hash::Hash,
|
||||
instruction::Instruction,
|
||||
@ -241,6 +242,10 @@ impl SyncClient for BankClient {
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
||||
fn get_epoch_info(&self) -> Result<EpochInfo> {
|
||||
Ok(self.bank.get_epoch_info())
|
||||
}
|
||||
}
|
||||
|
||||
impl BankClient {
|
||||
|
Reference in New Issue
Block a user