Function unc_primitives::utils::create_random_seed
source · pub fn create_random_seed(
protocol_version: ProtocolVersion,
action_hash: CryptoHash,
random_seed: CryptoHash
) -> Vec<u8> ⓘExpand description
Creates a unique random seed to be provided to VMContext from a give action_hash and
a given random_seed.
This method is backward compatible, so it takes the current protocol version.