Skip to content

chore: update Polkadot dependencies to 0.9.39#500

Merged
ntn-x2 merged 12 commits intodevelopfrom
aa/0.9.39
Apr 13, 2023
Merged

chore: update Polkadot dependencies to 0.9.39#500
ntn-x2 merged 12 commits intodevelopfrom
aa/0.9.39

Conversation

@ntn-x2
Copy link
Contributor

@ntn-x2 ntn-x2 commented Apr 5, 2023

Fixes #495.

Since the wasmtime dependency has been bumped from 1.x to 6.x, the old nightly was not good anymore since some inline stuff the new crate is using was still not stable back then. Hence, I bumped the nightly to a more recent version. Nevertheless, it cannot be TOO recent because of this issue (which maybe has been fixed in 0.9.40 @weichweich?).

Anyway, updating to the new toolchain version added a whole bunch of Clippy warnings which I also addressed in this PR, among which there was one about the wrong declaration of the parity-scale-codec package, which I have now used with its original name everywhere, instead of aliasing it to codec.

@ntn-x2 ntn-x2 requested a review from weichweich April 5, 2023 12:32
@ntn-x2 ntn-x2 self-assigned this Apr 5, 2023
Copy link
Contributor

@weichweich weichweich left a comment

Choose a reason for hiding this comment

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

Let's remove the insecure pallet

pallet-preimage.workspace = true
pallet-proxy.workspace = true
pallet-randomness-collective-flip.workspace = true
pallet-insecure-randomness-collective-flip.workspace = true
Copy link
Contributor

Choose a reason for hiding this comment

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

This pallet is not needed here. I think the renaming should also make it clear that we should remove it. :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it with a migration: 6187dc9

{
System: frame_system = 0,
RandomnessCollectiveFlip: pallet_randomness_collective_flip = 1,
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip = 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's remove this please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same as above, plus a cleanup PR: ac9ab1f

@ntn-x2 ntn-x2 enabled auto-merge (squash) April 13, 2023 11:54
@ntn-x2 ntn-x2 merged commit fe64bc8 into develop Apr 13, 2023
@ntn-x2 ntn-x2 deleted the aa/0.9.39 branch April 13, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AUTOMATIC] Update Polkadot dependencies from 0.9.38 to 0.9.39

3 participants