Increase CU per ix (#763)
This commit is contained in:
parent
50f451d06d
commit
37dacafcc8
|
@ -53,7 +53,7 @@ export async function sendTransaction(
|
|||
const totalUserIntendedIxs = ixs.filter(
|
||||
(ix) => !ix.programId.equals(COMPUTE_BUDGET_PROGRAM_ID),
|
||||
).length;
|
||||
const requestCu = Math.min(totalUserIntendedIxs * 250_000, 1_600_000);
|
||||
const requestCu = Math.min(totalUserIntendedIxs * 300_000, 1_600_000);
|
||||
ixs = [
|
||||
ComputeBudgetProgram.setComputeUnitLimit({
|
||||
units: requestCu,
|
||||
|
|
Loading…
Reference in New Issue