EIP-4399: Supplant DIFFICULTY opcode with PREVRANDAO #57
Labels
london to pectra v1
London to pectra v1
paris
EIP's for the paris hardfork
will implement
For those EIP's that will be implemented on Linea
EIP-4399: Supplant DIFFICULTY opcode with PREVRANDAO
Impact
The
PREVRANDAO
value will be in the block header. As such its value should be included into theBLOCKDATA
module thus replacing theDIFFICULTY
field.Notes
The
PREVRANDAO
opcode will be made part of theBTC
instruction family.Renaming the
DIFFICULTY
and potentially adjusting its gas cost should suffice.Besu requirement
Besu confirmed value will be available in block header.
For upgrades, refer to https://github.com/hyperledger/besu/blob/main/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolSpecs.java
Test vectors
PREVRANDAO
The text was updated successfully, but these errors were encountered: