be explicit of test expects zero transaction fee (#34846)

be explcit of test expects 0 transaction fee
This commit is contained in:
Tao Zhu 2024-01-18 18:49:39 -06:00 committed by GitHub
parent 73218595c6
commit 2c0278b8b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -1761,7 +1761,9 @@ mod tests {
let incremental_snapshot_archives_dir = tempfile::TempDir::new().unwrap();
let snapshot_archive_format = ArchiveFormat::Tar;
let (genesis_config, mint_keypair) = create_genesis_config(sol_to_lamports(1_000_000.));
let (mut genesis_config, mint_keypair) = create_genesis_config(sol_to_lamports(1_000_000.));
// test expects 0 transaction fee
genesis_config.fee_rate_governor = solana_sdk::fee_calculator::FeeRateGovernor::new(0, 0);
let lamports_to_transfer = sol_to_lamports(123_456.);
let (bank0, bank_forks) = Bank::new_with_paths_for_tests(