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

Substrate: Use secure randomness #458

Closed
Tracked by #522
cernicc opened this issue Oct 17, 2024 · 1 comment · Fixed by #633
Closed
Tracked by #522

Substrate: Use secure randomness #458

cernicc opened this issue Oct 17, 2024 · 1 comment · Fixed by #633
Assignees
Labels
pallet-storage-provider Relates to the Storage Provider Pallet
Milestone

Comments

@cernicc
Copy link
Member

cernicc commented Oct 17, 2024

We are currently using the insecure randomness on chain. The reason was faster implementation because if we wanted to use the more secure random algorithm we would also have to switch to BABE consensus algorithm at the time.

This ticket requires you to use the more secure randomness.

Blocked by:

Some more resources:

@cernicc cernicc added the pallet-storage-provider Relates to the Storage Provider Pallet label Oct 17, 2024
@th7nder th7nder mentioned this issue Oct 17, 2024
38 tasks
@jmg-duarte jmg-duarte added this to the Phase 2 milestone Oct 23, 2024
@jmg-duarte jmg-duarte removed this from the Phase 2 milestone Nov 4, 2024
@th7nder th7nder mentioned this issue Nov 7, 2024
27 tasks
@th7nder th7nder added this to the Phase 3 milestone Nov 13, 2024
@th7nder
Copy link
Contributor

th7nder commented Nov 26, 2024

Moonbeam is using randomness from the RelayChain -> https://github.com/moonbeam-foundation/moonbeam/blob/6e6bb1cc21343aa7231b6574091d022138c04108/runtime/moonbeam/src/lib.rs#L1301.
And they're using pallet-parachain-staking, so don't need to use BABE in the parachain.

About pallet-drand, there is a discussion and comparing it to Moonbeam as well: https://kusama.polkassembly.io/post/2645.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pallet-storage-provider Relates to the Storage Provider Pallet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants