mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-14 12:42:14 -04:00
Update and rename advanced_expert/vulnerabilities/random_numbers.md to advanced_expert/vulnerabilities/randomness/README.md
This commit is contained in:
parent
9959fe7428
commit
1748d1ed22
1 changed files with 1 additions and 1 deletions
25
advanced_expert/vulnerabilities/randomness/README.md
Normal file
25
advanced_expert/vulnerabilities/randomness/README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
## randomness
|
||||
|
||||
<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
|
||||
|
||||
|
||||
|
||||
|
||||
* [ethereum randomness ](https://eth2book.info/altair/part2/building_blocks/randomness)
|
||||
* [randao github](https://github.com/randao/randao)
|
||||
* [exploring the randao game in pos ethereum](https://ethereum.github.io/beaconrunner/notebooks/randao/randao.html)
|
Loading…
Add table
Add a link
Reference in a new issue