Skip to content

Commit a2c9ac1

Browse files
committed
clean up feature gate
1 parent ca7b82d commit a2c9ac1

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

compute-budget-instruction/src/builtin_programs_filter.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ mod test {
115115
solana_sdk_ids::stake::id(),
116116
feature_set::migrate_stake_program_to_core_bpf::id(),
117117
),
118-
(
119-
solana_sdk_ids::config::id(),
120-
feature_set::migrate_config_program_to_core_bpf::id(),
121-
),
122118
(
123119
solana_sdk_ids::address_lookup_table::id(),
124120
feature_set::migrate_address_lookup_table_program_to_core_bpf::id(),

program-test/src/programs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static CORE_BPF_PROGRAMS: &[(Pubkey, Option<Pubkey>, &[u8])] = &[
5454
),
5555
(
5656
solana_sdk_ids::config::ID,
57-
Some(feature_set::migrate_config_program_to_core_bpf::ID),
57+
None,
5858
include_bytes!("programs/core_bpf_config-3.0.0.so"),
5959
),
6060
(

test-validator/src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,8 +1308,8 @@ mod test {
13081308
async fn test_core_bpf_programs() {
13091309
let (test_validator, _payer) = TestValidatorGenesis::default()
13101310
.deactivate_features(&[
1311-
// Don't migrate the config program.
1312-
solana_sdk::feature_set::migrate_config_program_to_core_bpf::id(),
1311+
// Don't migrate the lookup table program.
1312+
solana_sdk::feature_set::migrate_address_lookup_table_program_to_core_bpf::id(),
13131313
])
13141314
.start_async()
13151315
.await;
@@ -1325,14 +1325,14 @@ mod test {
13251325
.await
13261326
.unwrap();
13271327

1328-
// Address lookup table is a BPF program.
1328+
// Address lookup table is builtin.
13291329
let account = fetched_programs[0].as_ref().unwrap();
1330-
assert_eq!(account.owner, solana_sdk_ids::bpf_loader_upgradeable::id());
1330+
assert_eq!(account.owner, solana_sdk_ids::native_loader::id());
13311331
assert!(account.executable);
13321332

1333-
// Config is a builtin.
1333+
// Config is a a BPF program.
13341334
let account = fetched_programs[1].as_ref().unwrap();
1335-
assert_eq!(account.owner, solana_sdk_ids::native_loader::id());
1335+
assert_eq!(account.owner, solana_sdk_ids::bpf_loader_upgradeable::id());
13361336
assert!(account.executable);
13371337

13381338
// Feature Gate is a BPF program.

0 commit comments

Comments
 (0)