kill rent calculator (#6625)
This commit is contained in:
@ -1327,8 +1327,8 @@ pub mod tests {
|
||||
..
|
||||
} = create_genesis_block(TEST_MINT_LAMPORTS);
|
||||
|
||||
genesis_block.rent_calculator.lamports_per_byte_year = 50;
|
||||
genesis_block.rent_calculator.exemption_threshold = 2.0;
|
||||
genesis_block.rent.lamports_per_byte_year = 50;
|
||||
genesis_block.rent.exemption_threshold = 2.0;
|
||||
|
||||
let bank = Bank::new(&genesis_block);
|
||||
(
|
||||
|
@ -591,8 +591,8 @@ pub fn new_validator_for_tests() -> (Validator, ContactInfo, Keypair, PathBuf) {
|
||||
.native_instruction_processors
|
||||
.push(solana_budget_program!());
|
||||
|
||||
genesis_block.rent_calculator.lamports_per_byte_year = 1;
|
||||
genesis_block.rent_calculator.exemption_threshold = 1.0;
|
||||
genesis_block.rent.lamports_per_byte_year = 1;
|
||||
genesis_block.rent.exemption_threshold = 1.0;
|
||||
|
||||
let (ledger_path, _blockhash) = create_new_tmp_ledger!(&genesis_block);
|
||||
|
||||
|
Reference in New Issue
Block a user