Remove some non-warnings (#14115)
This commit is contained in:
parent
9e90394583
commit
5294f70189
|
@ -15,7 +15,7 @@ use solana_ledger::{
|
|||
leader_schedule_cache::LeaderScheduleCache,
|
||||
};
|
||||
use solana_measure::{measure::Measure, thread_mem_usage};
|
||||
use solana_metrics::{inc_new_counter_debug, inc_new_counter_info, inc_new_counter_warn};
|
||||
use solana_metrics::{inc_new_counter_debug, inc_new_counter_info};
|
||||
use solana_perf::{
|
||||
cuda_runtime::PinnedVec,
|
||||
packet::{limited_deserialize, Packet, Packets, PACKETS_PER_BATCH},
|
||||
|
@ -487,7 +487,7 @@ impl BankingStage {
|
|||
debug!("num_to_commit: {} ", num_to_commit);
|
||||
// unlock all the accounts with errors which are filtered by the above `filter_map`
|
||||
if !processed_transactions.is_empty() {
|
||||
inc_new_counter_warn!("banking_stage-record_transactions", num_to_commit);
|
||||
inc_new_counter_info!("banking_stage-record_transactions", num_to_commit);
|
||||
|
||||
let mut hash_time = Measure::start("record::hash");
|
||||
let hash = hash_transactions(&processed_transactions[..]);
|
||||
|
|
|
@ -404,13 +404,13 @@ impl PohRecorder {
|
|||
{
|
||||
let now = Instant::now();
|
||||
let mut poh_lock = self.poh.lock().unwrap();
|
||||
inc_new_counter_warn!(
|
||||
inc_new_counter_info!(
|
||||
"poh_recorder-record_lock_contention",
|
||||
timing::duration_as_us(&now.elapsed()) as usize
|
||||
);
|
||||
let now = Instant::now();
|
||||
let res = poh_lock.record(mixin);
|
||||
inc_new_counter_warn!(
|
||||
inc_new_counter_info!(
|
||||
"poh_recorder-record_ms",
|
||||
timing::duration_as_us(&now.elapsed()) as usize
|
||||
);
|
||||
|
|
|
@ -9254,11 +9254,11 @@ pub(crate) mod tests {
|
|||
let custodian_pubkey = custodian_keypair.pubkey();
|
||||
let nonce_pubkey = nonce_keypair.pubkey();
|
||||
|
||||
warn!("alice: {}", alice_pubkey);
|
||||
warn!("custodian: {}", custodian_pubkey);
|
||||
warn!("nonce: {}", nonce_pubkey);
|
||||
warn!("nonce account: {:?}", bank.get_account(&nonce_pubkey));
|
||||
warn!("cust: {:?}", bank.get_account(&custodian_pubkey));
|
||||
debug!("alice: {}", alice_pubkey);
|
||||
debug!("custodian: {}", custodian_pubkey);
|
||||
debug!("nonce: {}", nonce_pubkey);
|
||||
debug!("nonce account: {:?}", bank.get_account(&nonce_pubkey));
|
||||
debug!("cust: {:?}", bank.get_account(&custodian_pubkey));
|
||||
let nonce_hash = get_nonce_account(&bank, &nonce_pubkey).unwrap();
|
||||
|
||||
for _ in 0..MAX_RECENT_BLOCKHASHES + 1 {
|
||||
|
@ -9275,7 +9275,7 @@ pub(crate) mod tests {
|
|||
&[&custodian_keypair, &nonce_keypair],
|
||||
nonce_hash,
|
||||
);
|
||||
warn!("{:?}", durable_tx);
|
||||
debug!("{:?}", durable_tx);
|
||||
assert_eq!(
|
||||
bank.process_transaction(&durable_tx),
|
||||
Err(TransactionError::InstructionError(
|
||||
|
|
Loading…
Reference in New Issue