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 Substrate #1958

Merged
merged 36 commits into from
Jun 12, 2024
Merged

Conversation

thewhaleking
Copy link
Contributor

Create an asyncio compatible RPC request functionality to replace that used by pysubstrate-interface.

@thewhaleking thewhaleking changed the base branch from master to staging May 30, 2024 12:51
@thewhaleking thewhaleking force-pushed the feature/thewhaleking/async-rpc-request branch from 9646b44 to 111c507 Compare May 31, 2024 19:29
@thewhaleking thewhaleking changed the base branch from staging to merge-async May 31, 2024 19:30
@thewhaleking thewhaleking marked this pull request as ready for review June 4, 2024 18:17
@thewhaleking thewhaleking marked this pull request as draft June 4, 2024 18:17
@thewhaleking thewhaleking changed the title [WIP] async rpc request Async Substrate Jun 12, 2024
@thewhaleking thewhaleking marked this pull request as ready for review June 12, 2024 18:39
@thewhaleking thewhaleking requested a review from a team June 12, 2024 18:41
Copy link
Contributor

@roman-opentensor roman-opentensor left a comment

Choose a reason for hiding this comment

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

I left some list of comments. I just want us to adhere to standard, which we ourselves developed and adopted. We do not know how long we will have to work with this module and when the official release of Async SubstrateInterface will appear. Adhering to a coding standard will help us interact with this large codebase more easily and quickly.

Overall this is a stunning and excellent implementation 👍.
Thanks for this!

bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
bittensor/utils/async_substrate.py Outdated Show resolved Hide resolved
bittensor/utils/async_substrate.py Show resolved Hide resolved
@roman-opentensor
Copy link
Contributor

roman-opentensor commented Jun 12, 2024

I opened the PR and executed theruff format . + mypy and it showed me a list of errors. Pls try this.

@roman-opentensor roman-opentensor merged commit 1e9a4b0 into merge-async Jun 12, 2024
4 of 7 checks passed
@thewhaleking thewhaleking deleted the feature/thewhaleking/async-rpc-request branch June 13, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants