@clonegod/ttd-sol-common 2.0.50 → 2.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "2.0.50",
3
+ "version": "2.0.51",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
@@ -102,6 +102,11 @@ export class SolTransactionBuilder {
102
102
  const priorityFeeMicroLamports = Math.floor((sol_priority_fee_lamports * LAMPORTS_PER_MICRO_LAMPORTS) / cu_limit)
103
103
  // console.log('getPreInstructions', { cu_limit, sol_priority_fee_lamports, priorityFeeMicroLamports, })
104
104
 
105
+ // set compute budget instruction
106
+ // const computeBudgetInstruction = ComputeBudgetProgram.setComputeUnitLimit({
107
+ // units: cu_limit,
108
+ // })
109
+
105
110
  // set compute budget instruction with jitodontfront
106
111
  const computeBudgetInstruction = this.createComputeUnitLimitWithJitoDontFront(cu_limit)
107
112