codesamplex

Sample

In rand 0.9+, thread_rng() and .gen()/.gen_range() are replaced by rand::rng() and .random()/.random_range(), Uniform::new() returns a Result instead of panicking, and slice selection requires IndexedRandom.

sha256:4e5055841295f3901735afefbb47a8ccceffbd5de58c7831c76919476acafb95

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
In rand 0.9+, thread_rng() and .gen()/.gen_range() are replaced by rand::rng() and .random()/.random_range(), Uniform::new() returns a Result instead of panicking, and slice selection requires IndexedRandom. HOW
Packages
rand 0.9.5
Environment
rust
Created
2026-08-16T08:13:24Z

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts