Skip to content

Commit

Permalink
crates: move diem-proptest-helpers to crates directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill authored and bors-libra committed Dec 3, 2021
1 parent 672450b commit c6e2455
Show file tree
Hide file tree
Showing 23 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ members = [
"api/types",
"common/logger",
"common/logger/derive",
"common/proptest-helpers",
"config",
"config/generate-key",
"config/global-constants",
Expand Down Expand Up @@ -34,6 +33,7 @@ members = [
"crates/diem-json-rpc-client",
"crates/diem-metrics",
"crates/diem-metrics-core",
"crates/diem-proptest-helpers",
"crates/diem-rate-limiter",
"crates/diem-rest-client",
"crates/diem-retrier",
Expand Down
4 changes: 2 additions & 2 deletions consensus/safety-rules/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ diem-crypto = { path = "../../crates/diem-crypto" }
diem-global-constants = { path = "../../config/global-constants"}
diem-infallible = { path = "../../crates/diem-infallible" }
diem-logger = { path = "../../common/logger" }
diem-proptest-helpers = { path = "../../common/proptest-helpers", optional = true }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers", optional = true }
diem-secure-net = { path = "../../secure/net" }
diem-secure-push-metrics = { path = "../../secure/push-metrics" }
diem-secure-storage = { path = "../../secure/storage" }
Expand All @@ -38,7 +38,7 @@ proptest = "1.0.0"

consensus-types = { path = "../consensus-types", features = ["fuzzing"] }
diem-config = { path = "../../config", features = ["fuzzing"] }
diem-proptest-helpers = { path = "../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers" }
diem-secure-storage = { path = "../../secure/storage", features = ["testing"] }

[[bench]]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion diem-move/vm-genesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ read-write-set = { path = "../../language/tools/read-write-set" }
[dev-dependencies]
proptest = "1.0.0"
proptest-derive = "0.3.0"
diem-proptest-helpers = { path = "../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers" }

[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions json-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ diem-infallible = { path = "../crates/diem-infallible" }
diem-logger = { path = "../common/logger" }
diem-mempool = { path = "../mempool" }
diem-metrics = { path = "../crates/diem-metrics" }
diem-proptest-helpers = { path = "../common/proptest-helpers", optional = true }
diem-proptest-helpers = { path = "../crates/diem-proptest-helpers", optional = true }
diem-types = { path = "../types" }
diem-temppath = { path = "../crates/diem-temppath", optional = true }
diem-workspace-hack = { path = "../crates/diem-workspace-hack" }
Expand All @@ -65,7 +65,7 @@ diemdb = { path = "../storage/diemdb", features = ["fuzzing"] }
diem-genesis-tool = {path = "../config/management/genesis", features = ["testing"] }
diem-client = { path = "../crates/diem-client" }
diem-mempool = { path = "../mempool", features = ["fuzzing"] }
diem-proptest-helpers = { path = "../common/proptest-helpers" }
diem-proptest-helpers = { path = "../crates/diem-proptest-helpers" }
diem-temppath = { path = "../crates/diem-temppath" }
diem-types = { path = "../types", features = ["fuzzing"] }
vm-validator = { path = "../vm-validator" }
Expand Down
2 changes: 1 addition & 1 deletion language/testing-infra/e2e-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ diem-vm = { path = "../../../diem-move/diem-vm" }
proptest = "1.0.0"
proptest-derive = "0.3.0"
diem-keygen = { path = "../../../diem-move/diem-keygen" }
diem-proptest-helpers = { path = "../../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../../crates/diem-proptest-helpers" }
diem-config = { path = "../../../config" }
diem-framework-releases = { path = "../../../diem-move/diem-framework/DPN/releases" }
diem-transaction-builder = { path = "../../../sdk/transaction-builder" }
Expand Down
2 changes: 1 addition & 1 deletion mempool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ diem-crypto = { path = "../crates/diem-crypto" }
diem-logger = { path = "../common/logger" }
diem-metrics = { path = "../crates/diem-metrics" }
diem-infallible = { path = "../crates/diem-infallible" }
diem-proptest-helpers = { path = "../common/proptest-helpers", optional = true }
diem-proptest-helpers = { path = "../crates/diem-proptest-helpers", optional = true }
diem-types = { path = "../types" }
diem-workspace-hack = { path = "../crates/diem-workspace-hack" }
event-notifications = { path = "../state-sync/inter-component/event-notifications" }
Expand Down
4 changes: 2 additions & 2 deletions network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ diem-id-generator = { path = "../crates/diem-id-generator" }
diem-infallible = { path = "../crates/diem-infallible" }
diem-logger = { path = "../common/logger" }
diem-metrics = { path = "../crates/diem-metrics" }
diem-proptest-helpers = { path = "../common/proptest-helpers", optional = true }
diem-proptest-helpers = { path = "../crates/diem-proptest-helpers", optional = true }
diem-rate-limiter = { path = "../crates/diem-rate-limiter"}
diem-time-service = { path = "../crates/diem-time-service", features = ["async"] }
diem-types = { path = "../types" }
Expand All @@ -54,7 +54,7 @@ short-hex-str = { path = "../crates/short-hex-str" }

[dev-dependencies]
criterion = "0.3.4"
diem-proptest-helpers = { path = "../common/proptest-helpers" }
diem-proptest-helpers = { path = "../crates/diem-proptest-helpers" }
diem-types = { path = "../types", features = ["fuzzing"] }
maplit = "1.0.2"
memsocket = { path = "./memsocket" }
Expand Down
4 changes: 2 additions & 2 deletions secure/storage/vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ thiserror = "1.0.24"
ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false }

diem-crypto = { path = "../../../crates/diem-crypto" }
diem-proptest-helpers = { path = "../../../common/proptest-helpers", optional = true }
diem-proptest-helpers = { path = "../../../crates/diem-proptest-helpers", optional = true }
diem-types = { path = "../../../types", optional = true }
diem-workspace-hack = { path = "../../../crates/diem-workspace-hack" }

[dev-dependencies]
proptest = "1.0.0"

diem-proptest-helpers = { path = "../../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../../crates/diem-proptest-helpers" }
diem-types = { path = "../../../types", features = ["fuzzing"] }

[features]
Expand Down
4 changes: 2 additions & 2 deletions state-sync/state-sync-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ diem-infallible = { path = "../../crates/diem-infallible" }
diem-logger = { path = "../../common/logger" }
diem-mempool = { path = "../../mempool"}
diem-metrics = { path = "../../crates/diem-metrics" }
diem-proptest-helpers = { path = "../../common/proptest-helpers", optional = true }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers", optional = true }
diem-temppath = { path = "../../crates/diem-temppath" }
diem-types = { path = "../../types" }
diem-vm = { path = "../../diem-move/diem-vm" }
Expand Down Expand Up @@ -59,7 +59,7 @@ diem-framework-releases= { path = "../../diem-move/diem-framework/DPN/releases"
diem-crypto = { path = "../../crates/diem-crypto" }
diem-genesis-tool = {path = "../../config/management/genesis", features = ["testing"] }
diem-mempool = { path = "../../mempool", features = ["fuzzing"] }
diem-proptest-helpers = { path = "../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers" }
diemdb = { path = "../../storage/diemdb" }
executor-test-helpers = { path = "../../execution/executor-test-helpers" }
memsocket = { path = "../../network/memsocket" }
Expand Down
2 changes: 1 addition & 1 deletion storage/backup/backup-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ backup-service = { path = "../backup-service" }
executor-test-helpers = { path = "../../../execution/executor-test-helpers" }
diemdb = { path = "../../diemdb", features = ["fuzzing"] }
diem-config = { path = "../../../config" }
diem-proptest-helpers = { path = "../../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../../crates/diem-proptest-helpers" }
storage-interface = { path = "../../storage-interface" }

[features]
Expand Down
4 changes: 2 additions & 2 deletions storage/diemdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ diem-jellyfish-merkle = { path = "../jellyfish-merkle" }
diem-logger = { path = "../../common/logger" }
diem-metrics = { path = "../../crates/diem-metrics" }
diem-infallible = { path = "../../crates/diem-infallible" }
diem-proptest-helpers = { path = "../../common/proptest-helpers", optional = true }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers", optional = true }
diem-temppath = { path = "../../crates/diem-temppath", optional = true }
diem-types = { path = "../../types" }
diem-workspace-hack = { path = "../../crates/diem-workspace-hack" }
Expand All @@ -46,7 +46,7 @@ proptest-derive = "0.3.0"
rand = "0.8.3"

diem-jellyfish-merkle = { path = "../jellyfish-merkle", features = ["fuzzing"] }
diem-proptest-helpers = { path = "../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers" }
diem-temppath = { path = "../../crates/diem-temppath" }
diem-types = { path = "../../types", features = ["fuzzing"] }
schemadb = { path = "../schemadb", features = ["fuzzing"] }
Expand Down
2 changes: 1 addition & 1 deletion testsuite/diem-fuzzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rand = "0.8.3"
ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false }

bcs = "0.1.2"
diem-proptest-helpers = { path = "../../common/proptest-helpers" }
diem-proptest-helpers = { path = "../../crates/diem-proptest-helpers" }
diem-workspace-hack = { path = "../../crates/diem-workspace-hack" }

# List out modules with data structures being fuzzed here.
Expand Down

0 comments on commit c6e2455

Please sign in to comment.