Hey guys, how can I test a contract that generates random numbers (https://docs.elrond.com/developers/developer-reference/random-numbers-in-smart-contracts/#random-numbers-in-a-specific-range)
?
Since the numbers change on each call, can the random functionality be mocked somehow in Mandos or using the Rust testing framework?
The numbers will change depending on the block random value (not sure how it is called exactly) but you should be able to set it via mandos setState step :)
The numbers will change depending on the block random value (not sure how it is called exactly) but you should be able to set it via mandos setState step :)