2

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

What are the alternatives?

Thanks,

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

1 Answer 1

3

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 that you have read and understand our privacy policy and code of conduct.

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