-
Notifications
You must be signed in to change notification settings - Fork 140
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
EVM Runtime: Make DIFFICULTY random #1241
Comments
Looking at that EIP, we should derive this from drand without mixing in the tipsets. Basically:
Ideally we'd just "lookup" the current drand value, but we don't have a great way to do that. |
Specifically:
|
The proposed above works for the use case of "i just want a random number", and I think is OK to implement as a way to get things moving.
edit: we really only want to support "i just want a random number", not adopt security concerns |
That section is talking about security concerns in the current implementation on Ethereum, not desirable features. |
github isn't closing cross-project issues automatically... |
Currently, we set it to zero. But apparently people use this for randomness.
Solution: Derive randomness from drand.
The text was updated successfully, but these errors were encountered: