Skip to content

Commit

Permalink
be explicit of test expects zero transaction fee (#34846)
Browse files Browse the repository at this point in the history
be explcit of test expects 0 transaction fee
  • Loading branch information
tao-stones authored Jan 19, 2024
1 parent 7321859 commit 2c0278b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/src/snapshot_bank_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2c0278b

Please sign in to comment.