Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 7886d62

Browse files
committed
Bump max BPF compute units
1 parent 425c6be commit 7886d62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/math/tests/instruction_count.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async fn test_sqrt_u128_max() {
9393
async fn test_u64_multiply() {
9494
let mut pc = ProgramTest::new("spl_math", id(), processor!(process_instruction));
9595

96-
pc.set_bpf_compute_max_units(1200);
96+
pc.set_bpf_compute_max_units(1350);
9797

9898
let (mut banks_client, payer, recent_blockhash) = pc.start().await;
9999

@@ -107,7 +107,7 @@ async fn test_u64_multiply() {
107107
async fn test_f32_multiply() {
108108
let mut pc = ProgramTest::new("spl_math", id(), processor!(process_instruction));
109109

110-
pc.set_bpf_compute_max_units(1500);
110+
pc.set_bpf_compute_max_units(1600);
111111

112112
let (mut banks_client, payer, recent_blockhash) = pc.start().await;
113113

@@ -123,7 +123,7 @@ async fn test_f32_multiply() {
123123
async fn test_f32_divide() {
124124
let mut pc = ProgramTest::new("spl_math", id(), processor!(process_instruction));
125125

126-
pc.set_bpf_compute_max_units(1600);
126+
pc.set_bpf_compute_max_units(1650);
127127

128128
let (mut banks_client, payer, recent_blockhash) = pc.start().await;
129129

0 commit comments

Comments
 (0)