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

Async name to address #2758

Closed
wants to merge 7 commits into from
Closed

Conversation

fselmo
Copy link
Collaborator

@fselmo fselmo commented Dec 13, 2022

What was wrong?

closes #2583
closes #1990

How was it fixed?

  • Import paco-inspired methods for async curry support and refactor code, removing deprecated asyncio.coroutine in place of async def + await usage.
  • Add similar tests as those within the paco library for the new async_curry method.
  • Add typing for the new methods introduced in web3._utils.async_functools.py
  • Begin async support for name_to_address_middleware

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

- Pull in the async curry method from the ``paco`` library, which seems to no longer be maintained. Refactor to remove deprecated ``asyncio.coroutine()`` calls. Introduce typing to those methods. Add the tests for the curry method and refactor.

- Rename to ``async_curry`` and add a note to use ``functools.curry`` for non-async methods.
@fselmo fselmo mentioned this pull request Jun 30, 2023
2 tasks
@fselmo fselmo closed this in #3012 Jul 7, 2023
@fselmo fselmo deleted the async-name-to-address branch April 3, 2024 20:52
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.

Async curry? Async name_to_address middleware
1 participant