ethereum / EIPs

The Ethereum Improvement Proposal repository

Home Page:https://eips.ethereum.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EIP-4399: return the RANDAO value @specific block in evm

apiscerena opened this issue · comments

commented

Proposed Change

It seems the PRERANDAO value is produced by mixing the previous block's PRERANDAO value and the RANDAO reveal. Normally developers use the method below as the random source of their dapps
blockhash(uint blockNumber) returns (bytes32)?
Hope EIP-4399 will add a similar function to support retrieving the RANDAO value @ a specific block as a random source.

If you would like to create a new EIP, please review EIP-1.