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

Remove async code and tokio from where it's not required #2688

Open
cptartur opened this issue Nov 19, 2024 · 0 comments
Open

Remove async code and tokio from where it's not required #2688

cptartur opened this issue Nov 19, 2024 · 0 comments

Comments

@cptartur
Copy link
Member

We are using async code with tokio in the whole package just to make blocking calls to the rpc under the hood.
Instead, we should just be using rayon and handle async only where it's required - when making calls to the rpc.

Change the foundry code so it is not async anymore and user rayon instead.
We need to keep async and tokio only in places where we are making rpc calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New
Development

No branches or pull requests

1 participant