Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ pub mod instruction;
pub mod processor;
pub mod state;

// [Core BPF]: TODO: Program-test will not overwrite existing built-ins.
// See https://github.com/solana-labs/solana/pull/35233.
// solana_program::declare_id!("Config1111111111111111111111111111111111111");
solana_program::declare_id!("J333MuXPTwcHvibaTNMW32FZj6EHuowCnAHvvP99vnKv");
solana_program::declare_id!("Config1111111111111111111111111111111111111");
8 changes: 2 additions & 6 deletions program/tests/functional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@ impl ConfigState for MyConfig {

async fn setup_test_context() -> ProgramTestContext {
let mut program_test = ProgramTest::default();
program_test.prefer_bpf(true);
program_test.add_program(
"solana_config_program",
solana_config_program::id(),
processor!(solana_config_program::processor::process),
);
program_test
.add_upgradeable_program_to_genesis("solana_config_program", &solana_config_program::id());
program_test.start_with_context().await
}

Expand Down