Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

refactor(remote ext): use jsonrpsee #8105

Merged
30 commits merged into from Mar 6, 2021
Merged

Conversation

niklasad1
Copy link
Member

@niklasad1 niklasad1 commented Feb 11, 2021

Fixes #8038 (comment) which replaces jsonrpc-core-client with jsonrpsee-http-client and doesn't require tokio 0.1

niklasad1 and others added 3 commits February 11, 2021 20:02
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
…tech/substrate into na-remote-ext-jsonrpsee-show-kian
Base automatically changed from kiz-finally-finally-finally-finally-migration-testing-2 to master February 19, 2021 14:52
@kianenigma
Copy link
Contributor

Waht's the prospect of this?

@niklasad1
Copy link
Member Author

niklasad1 commented Mar 3, 2021

Waht's the prospect of this?

After paritytech/jsonrpsee#215 is merged, I plan to publish an alpha release for the clients

@niklasad1 niklasad1 added the B0-silent Changes should not be mentioned in any release notes label Mar 4, 2021
@niklasad1 niklasad1 added the C1-low PR touches the given topic and has a low impact on builders. label Mar 4, 2021
@@ -101,9 +101,13 @@
//! }
//! ```

// jsonrpsee_proc_macros generates faulty warnings: https://github.com/paritytech/jsonrpsee/issues/106
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be good if you provide follow ups for this.

Copy link
Member Author

Choose a reason for hiding this comment

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

it's fixed on master but I haven't done another release yet :)

@kianenigma kianenigma requested review from bkchr and cecton March 6, 2021 10:55
utils/frame/remote-externalities/Cargo.toml Outdated Show resolved Hide resolved
uri: "http://localhost:9933".into(),
uri: TARGET.to_owned(),
rpc: Arc::new(
HttpClient::new(
Copy link
Contributor

Choose a reason for hiding this comment

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

This is wrong -- We can't initialize the client here. Then, if we override the at later, if will be a noop. Will push fixes.

Copy link
Contributor

Choose a reason for hiding this comment

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

(or maybe it is correct -- have to check)

Copy link
Member Author

@niklasad1 niklasad1 Mar 6, 2021

Choose a reason for hiding this comment

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

ok, I didn't understand that thanks for the fix.

@kianenigma
Copy link
Contributor

bot merge

@ghost
Copy link

ghost commented Mar 6, 2021

Waiting for commit status.

@ghost
Copy link

ghost commented Mar 6, 2021

Head SHA changed; merge aborted.

@niklasad1
Copy link
Member Author

bot merge

@ghost
Copy link

ghost commented Mar 6, 2021

Waiting for commit status.

@ghost ghost merged commit a958512 into master Mar 6, 2021
@ghost ghost deleted the na-remote-ext-jsonrpsee-show-kian branch March 6, 2021 15:33
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants