Skip to content

fix: avoid deprecated waiter in airdrop - #2014

Open
atharva-patill wants to merge 1 commit into
anza-xyz:mainfrom
atharva-patill:fix/issue-1784-airdrop-deprecated-waiter
Open

fix: avoid deprecated waiter in airdrop#2014
atharva-patill wants to merge 1 commit into
anza-xyz:mainfrom
atharva-patill:fix/issue-1784-airdrop-deprecated-waiter

Conversation

@atharva-patill

Copy link
Copy Markdown
Contributor

Summary

Refactors Kit's airdrop confirmation flow to stop using the deprecated waitForRecentTransactionConfirmationUntilTimeout waiter.

  • Adds waitForSignatureConfirmationWithTimeout for signature-only confirmation with the existing timeout strategy.
  • Updates Kit's airdrop implementation to use the new waiter.
  • Keeps waitForRecentTransactionConfirmationUntilTimeout available and deprecated for backwards compatibility.
  • Preserves the existing timeout, abort, and transaction-error behavior.

Testing

  • Added coverage for successful confirmation, timeout, abort, commitment forwarding, and strategy cancellation.
  • Existing deprecated waiter tests remain passing.
  • All focused transaction-confirmation tests pass.
  • Typecheck, ESLint, Prettier, and git diff --check pass.

Fixes #1784

@changeset-bot

changeset-bot Bot commented Aug 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 04f1790

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 48 packages
Name Type
@solana/transaction-confirmation Major
@solana/kit Major
@solana/react Major
@solana/accounts Major
@solana/addresses Major
@solana/assertions Major
@solana/codecs-core Major
@solana/codecs-data-structures Major
@solana/codecs-numbers Major
@solana/codecs-strings Major
@solana/codecs Major
@solana/compat Major
@solana/errors Major
@solana/fast-stable-stringify Major
@solana/fixed-points Major
@solana/functional Major
@solana/instruction-plans Major
@solana/instructions Major
@solana/keys Major
@solana/nominal-types Major
@solana/offchain-messages Major
@solana/options Major
@solana/plugin-core Major
@solana/plugin-interfaces Major
@solana/program-client-core Major
@solana/programs Major
@solana/promises Major
@solana/rpc-api Major
@solana/rpc-graphql Major
@solana/rpc-parsed-types Major
@solana/rpc-spec-types Major
@solana/rpc-spec Major
@solana/rpc-subscriptions-api Major
@solana/rpc-subscriptions-channel-websocket Major
@solana/rpc-subscriptions-spec Major
@solana/rpc-subscriptions Major
@solana/rpc-transformers Major
@solana/rpc-transport-http Major
@solana/rpc-types Major
@solana/rpc Major
@solana/signers Major
@solana/subscribable Major
@solana/sysvars Major
@solana/transaction-introspection Major
@solana/transaction-messages Major
@solana/transactions Major
@solana/wallet-account-signer Major
@solana/webcrypto-ed25519-polyfill Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kit airdrop uses deprecated waitForRecentTransactionConfirmationUntilTimeout

1 participant