You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #8882, StdRng has been replaced by TestRng, but TestRng does not implement the CryptoRng trait. Because of this I can't just pass TestRng in some places and I have to explicitly use rand_chacha::ChaChaRng? For example, I want to port some crypto library from Rust to Solidity and I have to go into the proptest code, understand that TestRng does not implement CryptoRng and then copy the code from proptest which is based on rand_chacha::ChaChaRng. Maybe it makes sense to create a crate like forge-rng that would also implement CryptoRng and other traits. It might also make sense to allow switching between forge-rng and StdRng.