Remove vest program from Preview/Stable

This commit is contained in:
Michael Vines 2020-08-28 18:14:56 -07:00
parent 9081f672d3
commit 42620e7f39
1 changed files with 5 additions and 8 deletions

View File

@ -103,7 +103,7 @@ fn get_programs(operating_mode: OperatingMode) -> Vec<(Program, Epoch)> {
// The epoch of Epoch::max_value() is a placeholder and is expected // The epoch of Epoch::max_value() is a placeholder and is expected
// to be reduced in a future network update. // to be reduced in a future network update.
programs.extend( programs.extend(
vec![Program::Native(solana_vest_program!())] vec![]
.into_iter() .into_iter()
.map(|program| (program, Epoch::MAX)) .map(|program| (program, Epoch::MAX))
.collect::<Vec<_>>(), .collect::<Vec<_>>(),
@ -117,13 +117,10 @@ fn get_programs(operating_mode: OperatingMode) -> Vec<(Program, Epoch)> {
// The epoch of std::u64::MAX is a placeholder and is expected // The epoch of std::u64::MAX is a placeholder and is expected
// to be reduced in a future network update. // to be reduced in a future network update.
programs.extend( programs.extend(
vec![ vec![Program::BuiltinLoader(solana_bpf_loader_program!())]
Program::BuiltinLoader(solana_bpf_loader_program!()), .into_iter()
Program::Native(solana_vest_program!()), .map(|program| (program, Epoch::MAX))
] .collect::<Vec<_>>(),
.into_iter()
.map(|program| (program, Epoch::MAX))
.collect::<Vec<_>>(),
); );
} }
}; };