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
6 changes: 3 additions & 3 deletions ocp/rpc/transaction/swap_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewCurrencyCreatorBuySwapHandler(

nonce: nonce,
computeUnitLimit: 150_000,
computeUnitPrice: 1_000,
computeUnitPrice: 10_000,
memoValue: "buy_v0",
}
}
Expand Down Expand Up @@ -236,7 +236,7 @@ func NewCurrencyCreatorSellSwapHandler(

nonce: nonce,
computeUnitLimit: 175_000,
computeUnitPrice: 1_000,
computeUnitPrice: 10_000,
memoValue: "sell_v0",
}
}
Expand Down Expand Up @@ -408,7 +408,7 @@ func NewCurrencyCreatorBuySellSwapHandler(

nonce: nonce,
computeUnitLimit: 400_000,
computeUnitPrice: 1_000,
computeUnitPrice: 10_000,
memoValue: "buy_sell_v0",
}
}
Expand Down
12 changes: 6 additions & 6 deletions ocp/transaction/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func MakeOpenAccountTransaction(
}

instructions := []solana.Instruction{
compute_budget.SetComputeUnitPrice(1_000),
compute_budget.SetComputeUnitPrice(10_000),
compute_budget.SetComputeUnitLimit(50_000),
initializeInstruction,
}
Expand Down Expand Up @@ -97,7 +97,7 @@ func MakeCompressAccountTransaction(
)

instructions := []solana.Instruction{
compute_budget.SetComputeUnitPrice(1_000),
compute_budget.SetComputeUnitPrice(10_000),
compute_budget.SetComputeUnitLimit(200_000),
compressInstruction,
}
Expand Down Expand Up @@ -146,7 +146,7 @@ func MakeInternalWithdrawTransaction(
)

instructions := []solana.Instruction{
compute_budget.SetComputeUnitPrice(1_000),
compute_budget.SetComputeUnitPrice(10_000),
compute_budget.SetComputeUnitLimit(100_000),
execInstruction,
}
Expand Down Expand Up @@ -199,7 +199,7 @@ func MakeExternalWithdrawTransaction(
)

instructions := []solana.Instruction{
compute_budget.SetComputeUnitPrice(1_000),
compute_budget.SetComputeUnitPrice(10_000),
compute_budget.SetComputeUnitLimit(100_000),
execInstruction,
}
Expand Down Expand Up @@ -251,7 +251,7 @@ func MakeInternalTransferWithAuthorityTransaction(
)

instructions := []solana.Instruction{
compute_budget.SetComputeUnitPrice(1_000),
compute_budget.SetComputeUnitPrice(10_000),
compute_budget.SetComputeUnitLimit(100_000),
execInstruction,
}
Expand Down Expand Up @@ -315,7 +315,7 @@ func MakeExternalTransferWithAuthorityTransaction(
}

instructions := []solana.Instruction{
compute_budget.SetComputeUnitPrice(1_000),
compute_budget.SetComputeUnitPrice(10_000),
compute_budget.SetComputeUnitLimit(uint32(computeLimit)),
}
if isCreateOnSend {
Expand Down
Loading