From cc16040038691a5a5a499661d8de0daba8eed4c3 Mon Sep 17 00:00:00 2001 From: guibescos <59208140+guibescos@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:31:14 +0000 Subject: [PATCH] fix(proposer server) (#2193) * remove min slot check * Revert "fix: use higher commitment for blockhash to remove 'Minimum context slot has not been reached' errors (#2170)" This reverts commit 00859ba27fc2442077b92172a34b4006b4abc80f. * version --- target_chains/solana/sdk/js/solana_utils/src/transaction.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target_chains/solana/sdk/js/solana_utils/src/transaction.ts b/target_chains/solana/sdk/js/solana_utils/src/transaction.ts index 055a28b87b..3eacc4cf74 100644 --- a/target_chains/solana/sdk/js/solana_utils/src/transaction.ts +++ b/target_chains/solana/sdk/js/solana_utils/src/transaction.ts @@ -227,7 +227,7 @@ export class TransactionBuilder { args: PriorityFeeConfig ): Promise<{ tx: VersionedTransaction; signers: Signer[] }[]> { const blockhash = ( - await this.connection.getLatestBlockhash({ commitment: "finalized" }) + await this.connection.getLatestBlockhash({ commitment: "confirmed" }) ).blockhash; const jitoBundleSize = @@ -512,7 +512,6 @@ export async function sendTransactions( // Set this manually so that the default is skipped maxRetries: 0, preflightCommitment: "confirmed", - minContextSlot: blockhashResult.context.slot, }); } if (confirmedTx?.err) {