mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
Remove TestRandom (#9006)
We have a legacy `TestRandom` trait which generates random types for testing and fuzzing. This function overlaps with `arbitrary` which is used very commonly in the ecosystem. Remove `TestRandom` and generate random type instances using `Arbitrary`. Co-Authored-By: Mac L <mjladson@pm.me> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
2
.github/forbidden-files.txt
vendored
2
.github/forbidden-files.txt
vendored
@@ -12,4 +12,6 @@ beacon_node/http_api/src/block_rewards.rs
|
||||
common/eth2/src/lighthouse/attestation_performance.rs
|
||||
common/eth2/src/lighthouse/block_packing_efficiency.rs
|
||||
common/eth2/src/lighthouse/block_rewards.rs
|
||||
common/test_random_derive/
|
||||
consensus/types/src/execution/state_payload_status.rs
|
||||
consensus/types/src/test_utils/test_random/
|
||||
|
||||
Reference in New Issue
Block a user