Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Refactor/substrate context - #254

Open
anton-karlovskiy wants to merge 23 commits into
jimmychu0807:mainfrom
anton-karlovskiy:refactor/substrate-context
Open

Refactor/substrate context#254
anton-karlovskiy wants to merge 23 commits into
jimmychu0807:mainfrom
anton-karlovskiy:refactor/substrate-context

Conversation

@anton-karlovskiy

Copy link
Copy Markdown

No description provided.

@anton-karlovskiy
anton-karlovskiy marked this pull request as draft August 30, 2022 01:41
@nuke-web3
nuke-web3 requested a review from sacha-l December 12, 2022 01:50
@nuke-web3

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Author

@nukemandan
Sure. Thanks.

@nuke-web3 nuke-web3 left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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}`)

@ltfschoen ltfschoen Dec 15, 2022

Copy link
Copy Markdown
Contributor

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

anton-karlovskiy commented Dec 16, 2022

Copy link
Copy Markdown
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants