Skip to content

Conversation

@posaune0423
Copy link
Contributor

Summary

This PR is fixing the signing error with #1837 make fee payer function available. Please look at the original PR for the changes about fee-payer.

Additional changes

  • Added test script to make sure signing process of driftClient works correctly.
  • changed Wallet interface keeping backward compatibility
  • minor fixes for handling props in type-safe way

…er and WhileValidTxSender to ensure correct fee payer assignment and transaction handling

This commit introduces a new test script that validates the functionality of the RetryTxSender and WhileValidTxSender classes. It verifies that transactions are sent correctly with the appropriate fee payer, both when using a separate fee payer and when the authority is also the fee payer.

fix(driftClient.ts): update payer assignment to use wallet.payer if available for better flexibility
fix(txHandler.ts): update feePayer assignment to use wallet.payer if available for improved compatibility
feat(whileValidTxSender.ts): add optional timeout parameter to WhileValidTxSender for enhanced control over transaction sending

feat(wallet.ts): refactor Wallet class to allow optional payer and improve signing logic

style(helpers.ts): format empty async methods for consistency in MockUserMap class
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.

1 participant