mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
278 B
Plaintext
6 lines
278 B
Plaintext
|
Warning: Since the VM version paris, "difficulty" was replaced by "prevrandao", which now returns a random number based on the beacon chain.
|
||
|
--> evmasm_difficulty_post_paris/input.sol:6:21:
|
||
|
|
|
||
|
6 | uint256 x = block.difficulty;
|
||
|
| ^^^^^^^^^^^^^^^^
|