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

Cleaned Up Async ENS #2526

Closed
wants to merge 2 commits into from
Closed

Conversation

fselmo
Copy link
Collaborator

@fselmo fselmo commented Jun 17, 2022

Cherry picked and squashed relevant commits, updated commit messages from PR #2501. Merge commits can't be squashed easily so this is just the easiest way to clean up the commit history. Refer to that PR for all details and conversations around the changes.

Use git diff cleanup-async-ens dbfreem/feature/ens_asyncify to see there are minor re-organizing differences between these two PRs / branches

closes #2501

* Change ``ens.main`` to ``ens.ens``
* Reorganize ENS, AsyncENS, and BaseENS into separate modules
* Added AsyncENSFactory to handle async creation of AsyncENS
* Added async ENS tests
* Update docs
* newsfragment
@fselmo fselmo requested review from kclowes and pacrob June 17, 2022 22:06
@fselmo fselmo mentioned this pull request Jun 17, 2022
2 tasks
* Add some missing awaits
* Add a lot more testing around AsyncENS. We can think about splitting AsyncEthereumTesterProvider tests off into their own CI job if they get too big but we should provide ample testing around the async implementation to make sure it's all wired up correctly.
* Cleanup for better readability and consistency across ENS and AsyncENS
* Keep async_ens_setup as module scope with a module-scoped event_loop fixture and add a module-scoped async_w3 for ens module

* Fix some minor warnings with optionals where ``None`` is being passed in
* nit: Since we are adding so many new lines, match code style to ideal rest of library for consistency. Trailing commas with new arguments allow for a cleaner git blame / git history since the next bit of code added would only touch the new line that is created, etc. (``black`` formatting PRs are coming in now though so this wasn't very important after the first commit that was squashed here).
@fselmo fselmo force-pushed the cleanup-async-ens branch from 8e3341e to 9154ded Compare June 17, 2022 22:22
@fselmo
Copy link
Collaborator Author

fselmo commented Jun 17, 2022

just kidding... we effectively cleaned up #2501 with a force push after cherry picking only the non-merge commits and rebasing locally against upstream/master.

Closing this so the conversation can just stay in one place.

@fselmo fselmo closed this Jun 17, 2022
@fselmo fselmo deleted the cleanup-async-ens branch April 3, 2024 20:51
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