-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
There was a problem hiding this 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
runtimes/peregrine/Cargo.toml
Outdated
@@ -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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
runtimes/spiritnet/src/lib.rs
Outdated
@@ -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, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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 tocodec
.