mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-22 00:20:28 -04:00
21 lines
596 B
Markdown
21 lines
596 B
Markdown
## 🌶 randomization
|
|
|
|
<br>
|
|
|
|
### post-merge notes
|
|
|
|
<br>
|
|
|
|
* `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.
|
|
|
|
|
|
<br>
|
|
|
|
### resources
|
|
|
|
<br>
|
|
|
|
|
|
* [ethereum randomness ](https://eth2book.info/altair/part2/building_blocks/randomness)
|
|
* [randao github](https://github.com/randao/randao)
|