Add Preview operating mode, rename SoftLaunch operating mode to Stable (#8331)
automerge
This commit is contained in:
@ -163,7 +163,7 @@ impl LocalCluster {
|
||||
genesis_config.poh_config = config.poh_config.clone();
|
||||
|
||||
match genesis_config.operating_mode {
|
||||
OperatingMode::SoftLaunch => {
|
||||
OperatingMode::Stable | OperatingMode::Preview => {
|
||||
genesis_config.native_instruction_processors =
|
||||
solana_genesis_programs::get_programs(genesis_config.operating_mode, 0)
|
||||
.unwrap()
|
||||
|
@ -552,7 +552,7 @@ fn test_softlaunch_operating_mode() {
|
||||
solana_logger::setup();
|
||||
|
||||
let config = ClusterConfig {
|
||||
operating_mode: OperatingMode::SoftLaunch,
|
||||
operating_mode: OperatingMode::Stable,
|
||||
node_stakes: vec![100; 1],
|
||||
cluster_lamports: 1_000,
|
||||
validator_configs: vec![ValidatorConfig::default(); 1],
|
||||
|
Reference in New Issue
Block a user