Revert "Add inflation to epoch phases (#6787)" (#6802)

automerge
This commit is contained in:
Sagar Dhawan
2019-11-07 16:43:09 -08:00
committed by Grimes
parent ccac35fc01
commit d89271528e
5 changed files with 25 additions and 127 deletions

View File

@@ -382,15 +382,12 @@ fn main() -> Result<(), Box<dyn error::Error>> {
} else {
OperatingMode::SoftLaunch
};
let native_instruction_processors =
solana_genesis_programs::get_programs(operating_mode, 0).unwrap();
let inflation = solana_genesis_programs::get_inflation(operating_mode, 0).unwrap();
let native_instruction_processors = solana_genesis_programs::get(operating_mode, 0).unwrap();
let mut genesis_block = GenesisBlock {
accounts,
native_instruction_processors,
ticks_per_slot,
epoch_schedule,
inflation,
fee_calculator,
rent,
poh_config,