diff --git a/programs/zk-token-proof-tests/tests/process_transaction.rs b/programs/zk-token-proof-tests/tests/process_transaction.rs index 555295e4e9a6ed..39c444d8835fd4 100644 --- a/programs/zk-token-proof-tests/tests/process_transaction.rs +++ b/programs/zk-token-proof-tests/tests/process_transaction.rs @@ -326,7 +326,9 @@ async fn test_verify_proof_without_context( T: Pod + ZkProofData, U: Pod, { - let mut context = ProgramTest::default().start_with_context().await; + let mut program_test = ProgramTest::default(); + program_test.deactivate_feature(solana_sdk::feature_set::native_programs_consume_cu::id()); + let mut context = program_test.start_with_context().await; let client = &mut context.banks_client; let payer = &context.payer; @@ -395,7 +397,9 @@ async fn test_verify_proof_with_context( T: Pod + ZkProofData, U: Pod, { - let mut context = ProgramTest::default().start_with_context().await; + let mut program_test = ProgramTest::default(); + program_test.deactivate_feature(solana_sdk::feature_set::native_programs_consume_cu::id()); + let mut context = program_test.start_with_context().await; let rent = context.banks_client.get_rent().await.unwrap(); let client = &mut context.banks_client; @@ -597,7 +601,9 @@ async fn test_close_context_state( T: Pod + ZkProofData, U: Pod, { - let mut context = ProgramTest::default().start_with_context().await; + let mut program_test = ProgramTest::default(); + program_test.deactivate_feature(solana_sdk::feature_set::native_programs_consume_cu::id()); + let mut context = program_test.start_with_context().await; let rent = context.banks_client.get_rent().await.unwrap(); let client = &mut context.banks_client;