Skip to content

Commit

Permalink
[language] move diem-vm to diem/diem-move
Browse files Browse the repository at this point in the history
  • Loading branch information
vgao1996 authored and bors-libra committed Nov 3, 2021
1 parent 7d281ce commit 25b6242
Show file tree
Hide file tree
Showing 68 changed files with 42 additions and 43 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ members = [
"diem-move/diem-keygen",
"diem-move/diem-resource-viewer",
"diem-move/diem-validator-interface",
"diem-move/diem-vm",
"diem-move/e2e-tests-replay",
"diem-move/genesis-viewer",
"diem-move/mvhashmap",
"diem-move/oncall-trainer",
"diem-move/parallel-executor",
"diem-move/transaction-replay",
"diem-move/vm-genesis",
"diem-move/writeset-transaction-generator",
Expand Down Expand Up @@ -83,9 +86,6 @@ members = [
"language/diem-framework/DPN/releases",
"language/diem-framework/releases",
"language/diem-transaction-benchmarks",
"language/diem-vm",
"language/diem-vm/mvhashmap",
"language/diem-vm/parallel-executor",
"language/e2e-testsuite",
"language/ir-testsuite",
"language/move-analyzer",
Expand Down
2 changes: 1 addition & 1 deletion api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ diem-genesis-tool = {path = "../config/management/genesis", features = ["testing
diem-framework-releases = { path = "../language/diem-framework/DPN/releases" }
diem-sdk = { path = "../sdk" }
vm-validator = { path = "../vm-validator" }
diem-vm = { path = "../language/diem-vm" }
diem-vm = { path = "../diem-move/diem-vm" }
executor = { path = "../execution/executor" }
executor-types = { path = "../execution/executor-types" }
2 changes: 1 addition & 1 deletion config/management/genesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ diem-secure-storage = { path = "../../../secure/storage" }
diem-types = { path = "../../../types" }
diem-workspace-hack = { path = "../../../common/workspace-hack" }
diem-temppath = { path = "../../../common/temppath" }
diem-vm = { path = "../../../language/diem-vm" }
diem-vm = { path = "../../../diem-move/diem-vm" }
diemdb = { path = "../../../storage/diemdb" }
storage-interface = { path = "../../../storage/storage-interface" }
vm-genesis = { path = "../../../diem-move/vm-genesis" }
Expand Down
2 changes: 1 addition & 1 deletion consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ diem-infallible = { path = "../common/infallible" }
diem-secure-storage = { path = "../secure/storage" }
diem-temppath = { path = "../common/temppath" }
diem-types = { path = "../types" }
diem-vm = { path = "../language/diem-vm" }
diem-vm = { path = "../diem-move/diem-vm" }
diem-workspace-hack = { path = "../common/workspace-hack" }
network = { path = "../network" }
safety-rules = { path = "safety-rules" }
Expand Down
2 changes: 1 addition & 1 deletion diem-move/df-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ structopt = "0.3.21"
diem-workspace-hack = { path = "../../common/workspace-hack" }
move-core-types = { path = "../../language/move-core/types" }
move-cli = { path = "../../language/tools/move-cli" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../diem-vm" }
diem-framework-releases = { path = "../../language/diem-framework/DPN/releases" }

[dev-dependencies]
Expand Down
20 changes: 10 additions & 10 deletions language/diem-vm/Cargo.toml → diem-move/diem-vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ diem-metrics = { path = "../../common/metrics" }
diem-state-view = { path = "../../storage/state-view" }
diem-types = { path = "../../types" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
move-core-types = { path = "../move-core/types" }
move-vm-runtime = { path = "../move-vm/runtime" }
move-vm-types = { path = "../move-vm/types" }
move-binary-format = { path = "../move-binary-format" }
move-stdlib = { path = "../move-stdlib" }
diem-framework = { path = "../diem-framework" }
move-core-types = { path = "../../language/move-core/types" }
move-vm-runtime = { path = "../../language/move-vm/runtime" }
move-vm-types = { path = "../../language/move-vm/types" }
move-binary-format = { path = "../../language/move-binary-format" }
move-stdlib = { path = "../../language/move-stdlib" }
diem-framework = { path = "../../language/diem-framework" }
serde_json = "1.0.64"
serde = { version = "1.0.124", default-features = false }
read-write-set-dynamic = { path = "../tools/read-write-set/dynamic"}
read-write-set-dynamic = { path = "../../language/tools/read-write-set/dynamic"}

mvhashmap = { path = "mvhashmap" }
diem-parallel-executor = {path = "parallel-executor" }
mvhashmap = { path = "../mvhashmap" }
diem-parallel-executor = {path = "../parallel-executor" }

[dev-dependencies]
proptest = "1.0.0"

diem-types = { path = "../../types", features = ["fuzzing"] }
diem-framework-releases = { path = "../diem-framework/DPN/releases" }
diem-framework-releases = { path = "../../language/diem-framework/DPN/releases" }

[features]
default = []
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion diem-move/e2e-tests-replay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ diem-workspace-hack = { path = "../../common/workspace-hack" }
bytecode-interpreter = { path = "../../language/move-prover/interpreter" }
diem-types = { path = "../../types", features = ["fuzzing"] }
diem-framework = { path = "../../language/diem-framework" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
language-e2e-tests = { path = "../../language/testing-infra/e2e-tests" }
move-binary-format = { path = "../../language/move-binary-format" }
move-core-types = { path = "../../language/move-core/types" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2018"
once_cell = "1.7.2"
rayon = "1.5.0"
num_cpus = "1.13.0"
diem-workspace-hack = { path = "../../../common/workspace-hack" }
diem-workspace-hack = { path = "../../common/workspace-hack" }

[dev-dependencies]
proptest = "1.0.0"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2018"

[dependencies]
mvhashmap = { path = "../mvhashmap" }
diem-workspace-hack = { path = "../../../common/workspace-hack" }
diem-workspace-hack = { path = "../../common/workspace-hack" }

anyhow = "1.0.38"
crossbeam-queue = "0.3.1"
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/transaction-replay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ diem-types = { path = "../../types" }
diem-state-view = { path = "../../storage/state-view" }
diem-validator-interface = { path = "../diem-validator-interface" }
diemdb = { path = "../../storage/diemdb" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../diem-vm" }
move-binary-format = { path = "../../language/move-binary-format"}
move-cli = { path = "../../language/tools/move-cli" }
move-vm-types = { path = "../../language/move-vm/types" }
Expand Down
2 changes: 1 addition & 1 deletion diem-move/vm-genesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ diem-framework = { path = "../../language/diem-framework" }
diem-framework-releases = { path = "../../language/diem-framework/DPN/releases" }
diem-transaction-builder = { path = "../../sdk/transaction-builder"}
move-binary-format = { path = "../../language/move-binary-format" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../diem-vm" }

[dev-dependencies]
proptest = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion diem-move/writeset-transaction-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ diem-state-view = { path = "../../storage/state-view" }
diem-validator-interface = { path = "../diem-validator-interface" }
diem-transaction-replay = { path = "../transaction-replay" }
diemdb = { path = "../../storage/diemdb" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../diem-vm" }
move-binary-format = { path = "../../language/move-binary-format"}
move-vm-types = { path = "../../language/move-vm/types" }
move-core-types = { path = "../../language/move-core/types" }
Expand Down
2 changes: 1 addition & 1 deletion diem-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ diem-secure-storage = { path = "../secure/storage" }
diem-temppath = { path = "../common/temppath" }
diem-time-service = { path = "../common/time-service" }
diem-types = { path = "../types" }
diem-vm = { path = "../language/diem-vm" }
diem-vm = { path = "../diem-move/diem-vm" }
diem-workspace-hack = { path = "../common/workspace-hack" }
diemdb = { path = "../storage/diemdb" }
mempool-notifications = { path = "../state-sync/inter-component/mempool-notifications" }
Expand Down
2 changes: 1 addition & 1 deletion execution/db-bootstrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ diem-config = { path = "../../config" }
diem-crypto = { path = "../../crypto/crypto" }
diem-temppath = { path = "../../common/temppath" }
diem-types = { path = "../../types" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
storage-interface = { path = "../../storage/storage-interface" }
2 changes: 1 addition & 1 deletion execution/execution-correctness/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ diem-secure-net = { path = "../../secure/net" }
diem-secure-storage = { path = "../../secure/storage" }
diem-temppath = { path = "../../common/temppath" }
diem-types = { path = "../../types" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
serde = { version = "1.0.124", default-features = false }
storage-client = { path = "../../storage/storage-client" }
Expand Down
2 changes: 1 addition & 1 deletion execution/executor-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ diem-infallible = { path = "../../common/infallible" }
diem-jellyfish-merkle = { path = "../../storage/jellyfish-merkle" }
diem-logger = { path = "../../common/logger" }
diem-types = { path = "../../types" }
diem-vm= { path = "../../language/diem-vm" }
diem-vm= { path = "../../diem-move/diem-vm" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
schemadb = { path = "../../storage/schemadb" }
storage-client = { path = "../../storage/storage-client" }
Expand Down
2 changes: 1 addition & 1 deletion execution/executor-test-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ diem-crypto = { path = "../../crypto/crypto" }
diem-genesis-tool = {path = "../../config/management/genesis", features = ["testing"] }
diem-temppath = { path = "../../common/temppath" }
diem-types = { path = "../../types", features = ["fuzzing"] }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
storage-interface = { path = "../../storage/storage-interface" }
storage-service = { path = "../../storage/storage-service" }
Expand Down
2 changes: 1 addition & 1 deletion execution/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ diem-secure-net = { path = "../../secure/net" }
diem-state-view = { path = "../../storage/state-view" }
diem-types = { path = "../../types" }
move-core-types = { path = "../../language/move-core/types" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
scratchpad = { path = "../../storage/scratchpad" }
storage-interface = { path = "../../storage/storage-interface" }
Expand Down
2 changes: 1 addition & 1 deletion language/diem-framework/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ include_dir = "0.6.0"
[dev-dependencies]
datatest-stable = "0.1.1"
move-unit-test = { path = "../tools/move-unit-test" }
diem-vm = { path = "../diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }

tempfile = "3.2.0"
dir-diff = "0.3.2"
Expand Down
2 changes: 1 addition & 1 deletion language/diem-transaction-benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ diem-workspace-hack = { path = "../../common/workspace-hack" }

read-write-set = { path = "../tools/read-write-set" }
read-write-set-dynamic = { path = "../tools/read-write-set/dynamic" }
diem-vm = { path = "../diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
diem-framework-releases = { path = "../diem-framework/DPN/releases" }

[[bench]]
Expand Down
2 changes: 1 addition & 1 deletion language/e2e-testsuite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ move-vm-runtime = { path = "../move-vm/runtime" }
move-vm-types = { path = "../move-vm/types" }
diem-transaction-builder = { path = "../../sdk/transaction-builder"}
move-binary-format = { path = "../move-binary-format" }
diem-vm = { path = "../diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
proptest = "1.0.0"
diem-logger = { path = "../../common/logger" }
diem-framework-releases = { path = "../diem-framework/DPN/releases" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ language-e2e-tests = { path = "../e2e-tests" }
move-lang = { path = "../../move-lang" }
move-binary-format = { path = "../../move-binary-format" }
move-core-types = { path = "../../move-core/types" }
diem-vm = { path = "../../diem-vm" }
diem-vm = { path = "../../../diem-move/diem-vm" }
diem-types = { path = "../../../types", features = ["fuzzing"] }
diem-transaction-builder = { path = "../../../sdk/transaction-builder" }
diem-crypto = { path = "../../../crypto/crypto" }
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 @@ -26,7 +26,7 @@ move-vm-runtime = { path = "../../move-vm/runtime" }
move-vm-types = { path = "../../move-vm/types" }
move-binary-format = { path = "../../move-binary-format" }
vm-genesis = { path = "../../../diem-move/vm-genesis" }
diem-vm = { path = "../../diem-vm" }
diem-vm = { path = "../../../diem-move/diem-vm" }
proptest = "1.0.0"
proptest-derive = "0.3.0"
diem-keygen = { path = "../../../diem-move/diem-keygen" }
Expand Down
2 changes: 1 addition & 1 deletion language/testing-infra/functional-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ move-command-line-common = { path = "../../move-command-line-common" }
hex = "0.4.3"
diem-state-view = { path = "../../../storage/state-view" }
diem-types = { path = "../../../types" }
diem-vm = { path = "../../diem-vm" }
diem-vm = { path = "../../../diem-move/diem-vm" }
move-binary-format = { path = "../../move-binary-format" }
bytecode-verifier = { path = "../../bytecode-verifier" }
language-e2e-tests = { path = "../e2e-tests" }
Expand Down
2 changes: 1 addition & 1 deletion secure/key-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ diem-json-rpc = { path = "../../json-rpc", features = ["fuzzing"] }
diem-mempool = { path = "../../mempool"}
diem-secure-storage = { path = "../storage", features = ["testing"] }
diem-time-service = { path = "../../common/time-service", features = ["testing"] }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
diemdb = { path = "../../storage/diemdb" }
storage-interface= { path = "../../storage/storage-interface" }
vm-validator = { path = "../../vm-validator" }
Expand Down
2 changes: 1 addition & 1 deletion shuffle/move/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ edition = "2018"
[dependencies]
diem-framework = { path = "../../language/diem-framework" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
move-stdlib = { path = "../../language/move-stdlib" }
move-unit-test = { path = "../../language/tools/move-unit-test" }
2 changes: 1 addition & 1 deletion state-sync/inter-component/event-notifications/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ claim = "0.5.0"

diem-crypto = { path = "../../../crypto/crypto" }
diem-temppath = { path = "../../../common/temppath" }
diem-vm = { path = "../../../language/diem-vm" }
diem-vm = { path = "../../../diem-move/diem-vm" }
diemdb = { path = "../../../storage/diemdb" }
executor-test-helpers = { path = "../../../execution/executor-test-helpers" }
move-core-types = { path = "../../../language/move-core/types" }
Expand Down
2 changes: 1 addition & 1 deletion state-sync/state-sync-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ diem-metrics = { path = "../../common/metrics" }
diem-proptest-helpers = { path = "../../common/proptest-helpers", optional = true }
diem-temppath = { path = "../../common/temppath" }
diem-types = { path = "../../types" }
diem-vm = { path = "../../language/diem-vm" }
diem-vm = { path = "../../diem-move/diem-vm" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
diemdb = { path = "../../storage/diemdb", optional = true }
event-notifications = { path = "../../state-sync/inter-component/event-notifications" }
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 @@ -42,7 +42,7 @@ diem-logger = { path = "../../../common/logger" }
diem-secure-push-metrics = { path = "../../../secure/push-metrics" }
diem-temppath = { path = "../../../common/temppath" }
diem-types = { path = "../../../types" }
diem-vm = { path = "../../../language/diem-vm" }
diem-vm = { path = "../../../diem-move/diem-vm" }
diem-workspace-hack = { path = "../../../common/workspace-hack" }
diemdb = { path = "../../diemdb" }
storage-interface = { path = "../../storage-interface" }
Expand Down
4 changes: 2 additions & 2 deletions vm-validator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ scratchpad = { path = "../storage/scratchpad" }
diem-state-view = { path = "../storage/state-view" }
storage-interface = { path = "../storage/storage-interface" }
diem-types = { path = "../types" }
diem-vm = { path = "../language/diem-vm" }
diem-vm = { path = "../diem-move/diem-vm" }
diem-workspace-hack = { path = "../common/workspace-hack" }

[dev-dependencies]
Expand All @@ -27,7 +27,7 @@ executor-test-helpers = { path = "../execution/executor-test-helpers" }
diem-crypto = { path = "../crypto/crypto", features = ["fuzzing"] }
diem-temppath = { path = "../common/temppath" }
diem-types = { path = "../types", features = ["fuzzing"] }
diem-vm = { path = "../language/diem-vm" }
diem-vm = { path = "../diem-move/diem-vm" }
diemdb = { path = "../storage/diemdb", features = ["fuzzing"] }
storage-service = { path = "../storage/storage-service" }
diem-transaction-builder = { path = "../sdk/transaction-builder" }
Expand Down
1 change: 0 additions & 1 deletion x.toml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ diem_crates_in_language = [
"framework-releases",
"diem-transactional-test-harness",
"diem-transaction-benchmarks",
"diem-vm",
"language-e2e-testsuite",
"ir-testsuite",
"language-e2e-tests",
Expand Down

0 comments on commit 25b6242

Please sign in to comment.