Skip to content

Conversation

@banool
Copy link

@banool banool commented May 8, 2025

Summary

This PR adds support for a transaction worker that can be used to submit transactions with a queue using a single account. It is possible to override how the transaction is submitted so you can use this with gas stations. The default behavior is to use direct submission.

There are a few things we should do in the future, I will turn them into issues:

  • Support more than just ed25519 private keys as accounts.
  • Use the gas estimation API (this should be encapsulated in the client, not in the txn worker).

I will turn these into issues.

Test Plan

aptos node run-localnet --force-restart --assume-yes
cargo test -p aptos-txn-worker -- test_worker --nocapture
cargo test -p aptos-txn-worker --doc

@banool banool force-pushed the banool/transaction-worker branch 11 times, most recently from 9753574 to 82e9c57 Compare May 12, 2025 10:19
@banool banool force-pushed the banool/transaction-worker branch from 82e9c57 to 796b535 Compare May 19, 2025 14:53
@banool banool force-pushed the banool/transaction-worker branch from 796b535 to 5771ff8 Compare May 19, 2025 15:45
@banool banool marked this pull request as ready for review May 19, 2025 15:45
@banool banool marked this pull request as draft May 21, 2025 15:14
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.

2 participants