[Framework] Provide a new seed function in simple_rng that allow developers to define a nonce or index #2984
Labels
proposal
New external API or other notable changes
Milestone
Proposal Details
Provide a new seed function in simple_rng that allows developers to define a nonce or index.
Such as:
If a developer calls rand_u64 multiple times rand_u64 in a transaction, he will get the same rand number. So he should call rand_u64_with_index.
cc @mx819812523 @yubing744
The text was updated successfully, but these errors were encountered: