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

chore: update Polkadot dependencies to 0.9.39 #500

Merged
merged 12 commits into from
Apr 13, 2023
Merged

chore: update Polkadot dependencies to 0.9.39 #500

merged 12 commits into from
Apr 13, 2023

Conversation

ntn-x2
Copy link
Member

@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

crates/assets/src/asset.rs Show resolved Hide resolved
@@ -70,7 +70,7 @@ pallet-indices.workspace = true
pallet-membership.workspace = true
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
Member 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

@@ -916,7 +919,7 @@ construct_runtime! {
UncheckedExtrinsic = UncheckedExtrinsic,
{
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
Member 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

crates/assets/src/asset.rs Show resolved Hide resolved
@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