blockchains-security-toolkit/advanced_expert/vulnerabilities/randomness
2025-02-17 20:54:20 +02:00
..
README.md this is awesome - randao target slot attack analysis, by jtapolcai (2025) 2025-02-17 20:54:20 +02:00

randomness


tl; dr


post-merge notes


  • BLOCKHASH opcode will still be available, but given that it will no longer be forged through the proof of work hashing process, the pseudorandomness provided by this opcode will be much weaker.
  • DIFFICULTY is renamed to PREVRANDAO, and return the output of the randomness beacon provided by the beacon chain. It's stronger than BLOCKHASH but still biasable.


cool resources