Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor sign_transaction for multiple threads context, #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

allnil
Copy link

@allnil allnil commented Jul 22, 2024

Hey guys!

JFYI:
We are using the Irys SDK within the Reth ExEx to sign transactions and send data to Arweave. One of the requirements is that the ExEx function should return a future that implements the Send trait.
https://reth.rs/docs/reth/builder/struct.WithLaunchContext.html#method.install_exex

I made some changes in types annotations and #[async_recursion]

Also maybe there were a specific reason for using #[async_recursion(?Send)] in the original implementation?
Could you let me know if there are any concerns? Thx!

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