Solidity 0.8.18 just came out, and added block.prevrandao as well as a prevrandao instruction in assembly. This PR adds highlighting for them.
Note: 0.8.18 also addes the ability to name mapping parameters. These should likely be highlighted? It's not obvious to me at the moment what's a good way to do that though so I figured I'd just put up this first.
Solidity 0.8.18 just came out, and added
block.prevrandao
as well as aprevrandao
instruction in assembly. This PR adds highlighting for them.Note: 0.8.18 also addes the ability to name mapping parameters. These should likely be highlighted? It's not obvious to me at the moment what's a good way to do that though so I figured I'd just put up this first.