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

upgrade polkadot to v0.9.22 and integrate jsonrsee #695

Merged

Conversation

librelois
Copy link
Contributor

@librelois librelois commented May 19, 2022

This PR upgrade substrate to polkadot v0.9.22, this requires to integrate jsonrpsee at the same time.

cargo update -p sp-std --precise 616d33ea23bab86cafffaf116fc607b6790fb4eb
@daniellam258
Copy link

Hi! Can I ask what is the progress of this? I need to upgrade my chain to substrate polkadot-v0.9.22 and my chain already integrated with frontier, so I am blocked. Thanks alot

@librelois
Copy link
Contributor Author

librelois commented May 27, 2022

@dpryde258 I'm on holidays this week, I'll finalize this PR on monday :)

@daniellam258
Copy link

@dpryde258 I'm on holidays this week, I'll finalize this PR on monday :)

Sorry for interrupting your holiday. Monday would be great. Thanks a lot for quick response.

@MOZGIII
Copy link
Contributor

MOZGIII commented May 28, 2022

We did it too: humanode-network@0433298

@librelois
Copy link
Contributor Author

@dpryde258 the code and tests compile now, but some ts integration tests still fail, I'm working on fixing thoses, I hope to finish tonight :)

//
// Only send new notifications down the pipe when the syncing status changed.
use std::sync::atomic::{AtomicBool, Ordering};
let last_syncing_status =
Copy link
Contributor

Choose a reason for hiding this comment

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

Atomics are heavy-weaponry, how about doing something like this instead: humanode-network@e93977a

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it would work, thanks for the suggestion :)

@librelois librelois marked this pull request as ready for review June 2, 2022 17:20
@librelois librelois requested a review from sorpaas as a code owner June 2, 2022 17:20
@librelois
Copy link
Contributor Author

@dpryde258 the PR is finally ready

@sorpaas this PR is finally ready for review :)

@kulame
Copy link

kulame commented Jun 4, 2022

great work and wait for merge.

@sorpaas sorpaas changed the title WIP: upgrade polkadot to v0.9.22 and integrate jsonrsee upgrade polkadot to v0.9.22 and integrate jsonrsee Jun 5, 2022
@sorpaas sorpaas merged commit feec7ee into polkadot-evm:master Jun 5, 2022
@daniellam258
Copy link

Yes, tks a lot for dedication @librelois .

@librelois librelois deleted the upgrade-polkadot-v0.9.22 branch June 7, 2022 13:41
abhijeetbhagat pushed a commit to web3labs/frontier that referenced this pull request Jan 11, 2023
* upgrade substrate to polkadot-v0.9.22

cargo update -p sp-std --precise 616d33ea23bab86cafffaf116fc607b6790fb4eb

* replace jsonrpc-* dependencies by jsonrpsee

* wip

* ref: migrate to jsonrpsee

* migrate template to jsonrpsee

* fix clippy warnings

* fix rust tests

* fix manual seal compilation

* fmt

* Add ethereum style subscription id provider

* ref: not use atomic

* Use ethereum style subscription id provider in manual-seal mode too

* fix manual seal build

* fix: subscription id should be prefixed by 0x

* for some reason, the extrinsic gas limit change

* pin substrate 6c14be4

* fix build
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.

5 participants