Skip to content

Commit 0fb66db

Browse files
author
Jeff Yanta
committed
Reduce compute limit of withdraw transactions to 100k
1 parent 021ecc0 commit 0fb66db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/code/transaction/transaction.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func MakeInternalWithdrawTransaction(
136136

137137
instructions := []solana.Instruction{
138138
compute_budget.SetComputeUnitPrice(1_000),
139-
compute_budget.SetComputeUnitLimit(200_000),
139+
compute_budget.SetComputeUnitLimit(100_000),
140140
execInstruction,
141141
}
142142
return MakeNoncedTransaction(nonce, bh, instructions...)
@@ -190,7 +190,7 @@ func MakeExternalWithdrawTransaction(
190190

191191
instructions := []solana.Instruction{
192192
compute_budget.SetComputeUnitPrice(1_000),
193-
compute_budget.SetComputeUnitLimit(200_000),
193+
compute_budget.SetComputeUnitLimit(100_000),
194194
execInstruction,
195195
}
196196
return MakeNoncedTransaction(nonce, bh, instructions...)

0 commit comments

Comments
 (0)