From a57d612cecf758045fa05bcd2929e2136591567c Mon Sep 17 00:00:00 2001 From: Tao Zhu <82401714+taozhu-chicago@users.noreply.github.com> Date: Fri, 19 Jan 2024 09:18:02 -0600 Subject: [PATCH] explicitly sets tests that does not handle transaction fee (#34847) --- send-transaction-service/src/send_transaction_service.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/send-transaction-service/src/send_transaction_service.rs b/send-transaction-service/src/send_transaction_service.rs index 896600e931..dd09ccc696 100644 --- a/send-transaction-service/src/send_transaction_service.rs +++ b/send-transaction-service/src/send_transaction_service.rs @@ -891,7 +891,8 @@ mod test { fn process_transactions() { solana_logger::setup(); - let (genesis_config, mint_keypair) = create_genesis_config(4); + let (mut genesis_config, mint_keypair) = create_genesis_config(4); + genesis_config.fee_rate_governor = solana_sdk::fee_calculator::FeeRateGovernor::new(0, 0); let (_, bank_forks) = Bank::new_with_bank_forks_for_tests(&genesis_config); let tpu_address = "127.0.0.1:0".parse().unwrap(); let config = Config { @@ -1166,7 +1167,8 @@ mod test { fn test_retry_durable_nonce_transactions() { solana_logger::setup(); - let (genesis_config, mint_keypair) = create_genesis_config(4); + let (mut genesis_config, mint_keypair) = create_genesis_config(4); + genesis_config.fee_rate_governor = solana_sdk::fee_calculator::FeeRateGovernor::new(0, 0); let (_, bank_forks) = Bank::new_with_bank_forks_for_tests(&genesis_config); let tpu_address = "127.0.0.1:0".parse().unwrap(); let config = Config {