-
Notifications
You must be signed in to change notification settings - Fork 351
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
base: main
Are you sure you want to change the base?
Refactor/substrate context #254
Conversation
@anton-karlovskiy are you still working on this? Seems at a glance to be an improvement (but I have not tested it at all) |
@nukemandan |
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? |
@nukemandan |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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}`) |
There was a problem hiding this comment.
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?
@nukemandan @ltfschoen |
No description provided.