Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pseudorandom generator for move tests #7554

Merged
merged 17 commits into from
Jan 24, 2023
Merged
Prev Previous commit
Next Next commit
Update doc III
  • Loading branch information
jonas-lj committed Jan 20, 2023
commit c4ed8467bdc115e44ae4b6a475522fbce0418c05
3 changes: 1 addition & 2 deletions crates/sui-framework/sources/test/random.move
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ module sui::random {
const DIGEST_LENGTH: u64 = 32;

/// The represents a seeded pseudorandom generator. Note that the generated
/// values are not safe to
/// use for cryptographic purposes.
/// values are not safe to use for cryptographic purposes.
struct Random has store, drop {
state: vector<u8>,
}
Expand Down