We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee1f20 commit 4f67343Copy full SHA for 4f67343
governance/xc_admin/packages/xc_admin_common/src/propose.ts
@@ -212,11 +212,10 @@ export async function proposeInstructions(
212
const txToSend = batchIntoTransactions(ixToSend);
213
214
for (let i = 0; i < txToSend.length; i += SIZE_OF_SIGNED_BATCH) {
215
- await new AnchorProvider(
216
- squad.connection,
217
- squad.wallet,
218
- AnchorProvider.defaultOptions()
219
- ).sendAll(
+ await new AnchorProvider(squad.connection, squad.wallet, {
+ preflightCommitment: "processed",
+ commitment: "confirmed",
+ }).sendAll(
220
txToSend.slice(i, i + SIZE_OF_SIGNED_BATCH).map((tx) => {
221
return { tx, signers: [] };
222
})
0 commit comments