Replies: 1 comment
-
It‘s supported now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The global variable
block.prevrandao
is introduced from solidity 0.8.18. I deployed a test contract on apothem network.But the return value of
getBlockPrevrandao()
is always10
as below:I deployed this contract on network goerli also: https://goerli.etherscan.io/address/0x7ad5619a75dad5f4cd9ed7cc4b3a2f8085fe0de3#readContract
The return value of
getBlockPrevrandao()
is random.Should we implement the random function of
block.prevrandao
?Beta Was this translation helpful? Give feedback.
All reactions