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

Refactor/substrate context #254

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

anton-karlovskiy
Copy link

No description provided.

@anton-karlovskiy anton-karlovskiy marked this pull request as draft August 30, 2022 01:41
@nuke-web3
Copy link
Contributor

@anton-karlovskiy are you still working on this? Seems at a glance to be an improvement (but I have not tested it at all)

@anton-karlovskiy
Copy link
Author

@nukemandan
I finished it already. Could you please review and test it? :)

@anton-karlovskiy anton-karlovskiy marked this pull request as ready for review December 12, 2022 01:58
@nuke-web3
Copy link
Contributor

sure @anton-karlovskiy - can you update the PR comment to include what this PR does? And the README if needed at all for future users?

@anton-karlovskiy
Copy link
Author

@nukemandan
Sure. Thanks.

Copy link
Contributor

@nuke-web3 nuke-web3 left a comment

Choose a reason for hiding this comment

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

LGTM and it runs with a dev node with a trivial check of functionality to submit extrinsics.

Error: 'ERROR'
})

// TODO: use an enum with TypeScript
Copy link
Contributor

Choose a reason for hiding this comment

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

Planning to implement this here or what? ;) Other TODOs exist in here as well.


dispatch({ type: ActionType.ConnectInit })

console.log(`Connected socket: ${socket}`)
Copy link
Contributor

@ltfschoen ltfschoen Dec 15, 2022

Choose a reason for hiding this comment

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

shouldn't this be Connecting to socket since the socket connection hasn't actually been connected yet and the connection attempt may fail?

@anton-karlovskiy
Copy link
Author

anton-karlovskiy commented Dec 16, 2022

@nukemandan @ltfschoen
Thank you for your feedback. Let me handle all of your comments when I get a chance.

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