-
Notifications
You must be signed in to change notification settings - Fork 352
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.