You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we are storing drand's randomness as our actual randomness, but this value is very easily predictable by just querying drand's API before we do.
Instead, a unique random value is needed. This will be a signature of drand's randomness. We can then use this signature as an unpredictable random value and verify that the signer signed it.
Todo:
Make the collator sign drand's randomness and store the resulting hash and the signer along the original randomness in the Pulse struct.
In the Verifier::verify method, verify that the signer signed it.
Update the documentation accordingly
The text was updated successfully, but these errors were encountered:
juangirini
changed the title
Use drand randomness as a seed
pallet_drand: Use drand randomness as a seed
Oct 31, 2024
Currently, we are storing drand's randomness as our actual randomness, but this value is very easily predictable by just querying drand's API before we do.
Instead, a unique random value is needed. This will be a signature of drand's randomness. We can then use this signature as an unpredictable random value and verify that the signer signed it.
Todo:
Verifier::verify
method, verify that the signer signed it.The text was updated successfully, but these errors were encountered: