I noticed that the pallet_randomness_collective_flip has been removed in polkadot-v0.9.39, why is this?

What are the alternatives?


  • Do you require randomness in contract execution or within a pallet?
    – forgetso
    Commented Apr 26, 2023 at 8:21

1 Answer 1


It was renamed to pallet-insecure-randomness-collective-flip in substrate#13301 to clarify that it is not secure. There were indications that developers used this in production to generate random numbers for security relevant decisions.

The pallet was never intended for that, so we felt prompted to communicate this in a breaking way (by renaming the crate). As of today, there are no secure alternatives that i know of.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.