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 net module #2044

Merged
merged 2 commits into from
Jul 15, 2021
Merged

Async net module #2044

merged 2 commits into from
Jul 15, 2021

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Jun 21, 2021

What was wrong?

Name to address middleware uses w3.net.version to check that the user is attached to mainnet before resolving an ENS name, but there is no async net module yet. This PR adds it.

Related to Issue #1990

How was it fixed?

Added a BaseNet, and an AsyncNet class, along with some tests.

Todo:

Cute Animal Picture

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

@kclowes kclowes changed the title [WIP] Async net module Async net module Jun 22, 2021
@kclowes kclowes requested review from fselmo and wolovim June 22, 2021 03:57
web3/net.py Outdated Show resolved Hide resolved
@kclowes kclowes changed the title Async net module [WIP] Async net module Jul 9, 2021
@kclowes kclowes force-pushed the async-net branch 2 times, most recently from f16315a to ef03d9d Compare July 14, 2021 21:18
@kclowes kclowes changed the title [WIP] Async net module Async net module Jul 15, 2021
@kclowes
Copy link
Collaborator Author

kclowes commented Jul 15, 2021

This is ready for a look when you get a chance @fselmo!

Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kclowes kclowes merged commit 8ce56bd into ethereum:master Jul 15, 2021
@kclowes kclowes deleted the async-net branch July 15, 2021 21:21
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.

3 participants