@haven-fi/solauto-sdk 1.0.824 → 1.0.825
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/dist/utils/jitoUtils.js
CHANGED
|
@@ -188,7 +188,7 @@ async function sendJitoBundledTransactions(umi, connection, userSigner, otherSig
|
|
|
188
188
|
(0, generalUtils_1.consoleLog)("Transactions: ", txs.length);
|
|
189
189
|
(0, generalUtils_1.consoleLog)(txs.map((tx) => tx.getInstructions().map((x) => x.programId.toString())));
|
|
190
190
|
(0, generalUtils_1.consoleLog)("Transaction sizes: ", txs.map((x) => x.getTransactionSize(umi)));
|
|
191
|
-
txs[0] = (0, solanaUtils_1.prependTx)(txs[0], [getTipInstruction(userSigner,
|
|
191
|
+
txs[0] = (0, solanaUtils_1.prependTx)(txs[0], [getTipInstruction(userSigner, 500000)]);
|
|
192
192
|
const latestBlockhash = (await (0, generalUtils_1.retryWithExponentialBackoff)(async () => await umi.rpc.getLatestBlockhash({ commitment: "confirmed" }))).blockhash;
|
|
193
193
|
if (abortController?.signal.aborted) {
|
|
194
194
|
return;
|
package/package.json
CHANGED
package/src/utils/jitoUtils.ts
CHANGED
|
@@ -302,7 +302,7 @@ export async function sendJitoBundledTransactions(
|
|
|
302
302
|
txs.map((x) => x.getTransactionSize(umi))
|
|
303
303
|
);
|
|
304
304
|
|
|
305
|
-
txs[0] = prependTx(txs[0], [getTipInstruction(userSigner,
|
|
305
|
+
txs[0] = prependTx(txs[0], [getTipInstruction(userSigner, 500_000)]);
|
|
306
306
|
|
|
307
307
|
const latestBlockhash = (
|
|
308
308
|
await retryWithExponentialBackoff(
|