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:
@@ -49,6 +49,8 @@ typenum = { workspace = true }
|
||||
types = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
arbitrary = { workspace = true }
|
||||
beacon_chain = { workspace = true, features = ["arbitrary"] }
|
||||
bls = { workspace = true }
|
||||
eth2 = { workspace = true }
|
||||
eth2_network_config = { workspace = true }
|
||||
@@ -62,3 +64,4 @@ rand_08 = { package = "rand", version = "0.8.5" }
|
||||
rand_chacha = "0.9.0"
|
||||
rand_chacha_03 = { package = "rand_chacha", version = "0.3.1" }
|
||||
serde_json = { workspace = true }
|
||||
types = { workspace = true, features = ["arbitrary"] }
|
||||
|
||||
Reference in New Issue
Block a user