spec for speudorandom generation
inspiration: https://docs.oasis.io/dapp/sapphire/precompiles/#generating-pseudo-random-bytes
I'm not sure if we need to make the random bytes specific to a contract, since we can actually generate random bytes for all confidential computation. What's the use case for calling this precompile during chain transition?
This doesn't need to be called during a chain transition, I think it's OK to be called offline only. But the point is every off-chain computation will arrive at the same result.
An example use case is to generate a public key or address associated with the contract. So you can send encrypted messages to that contract where any execution node can access it, and the contract can also own an account on Eth L1 for example