Skip to content

Commit

Permalink
framework: move into crates directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed May 23, 2022
1 parent e7dd341 commit 95a947f
Show file tree
Hide file tree
Showing 77 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"crates/sui-adapter-transactional-tests",
"crates/sui-config",
"crates/sui-faucet",
"crates/sui-framework",
"crates/sui-gateway",
"crates/sui-json",
"crates/sui-network",
Expand All @@ -17,7 +18,6 @@ members = [
"crates/x",
"sui",
"sui_core",
"sui_programmability/framework",
"sui_storage",
"test_utils",
]
Expand Down
6 changes: 3 additions & 3 deletions crates/sui-adapter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ move-cli = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345
move-vm-runtime = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }
move-vm-types = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }

sui-framework = { path = "../../sui_programmability/framework" }
sui-verifier = { path = "../../crates/sui-verifier" }
sui-types = { path = "../../crates/sui-types" }
sui-framework = { path = "../sui-framework" }
sui-verifier = { path = "../sui-verifier" }
sui-types = { path = "../sui-types" }

[dev-dependencies]
move-package = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }
2 changes: 1 addition & 1 deletion crates/sui-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ narwhal-crypto = { git = "https://github.com/MystenLabs/narwhal", rev = "2c5e823
move-binary-format = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }
move-package = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }

sui-framework = { path = "../../sui_programmability/framework" }
sui-framework = { path = "../sui-framework" }

sui-adapter = { path = "../sui-adapter" }
sui-types = { path = "../sui-types" }
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.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ fn run_examples_move_unit_tests() {
];
for example in examples {
let path = Path::new(env!("CARGO_MANIFEST_DIR"))
.join("../examples")
.join("../../sui_programmability/examples")
.join(example);
build_and_verify_user_package(&path).unwrap();
run_move_unit_tests(&path, None).unwrap();
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.
2 changes: 1 addition & 1 deletion crates/sui-json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ move-core-types = { git = "https://github.com/move-language/move", rev = "1b2d3b
test-fuzz = "3.0.2"

sui-adapter = { path = "../sui-adapter" }
sui-framework = { path = "../../sui_programmability/framework" }
sui-framework = { path = "../sui-framework" }
2 changes: 1 addition & 1 deletion crates/sui-transactional-test-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ move-vm-runtime = { git = "https://github.com/move-language/move", rev = "1b2d3b
move-vm-types = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }


sui-framework = { path = "../../sui_programmability/framework" }
sui-framework = { path = "../sui-framework" }
sui-verifier = { path = "../sui-verifier" }
sui-types = { path = "../sui-types" }
sui-adapter = { path = "../sui-adapter" }
Expand Down
2 changes: 1 addition & 1 deletion sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ bcs = "0.1.3"
sui_core = { path = "../sui_core" }
sui_storage = { path = "../sui_storage" }
sui-adapter = { path = "../crates/sui-adapter" }
sui-framework = { path = "../sui_programmability/framework" }
sui-framework = { path = "../crates/sui-framework" }
sui-network = { path = "../crates/sui-network" }
sui-config = { path = "../crates/sui-config" }
sui-types = { path = "../crates/sui-types" }
Expand Down
2 changes: 1 addition & 1 deletion sui/src/unit_tests/data/custom_genesis_package_1/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Examples"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../sui_programmability/framework" }
Sui = { local = "../../../../../crates/sui-framework" }

[addresses]
Examples = "0x0"
4 changes: 2 additions & 2 deletions sui/src/unit_tests/data/custom_genesis_package_2/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ version = "0.0.0"
Test = "0x0"

[dependencies]
MoveStdlib = { local = "../../../../../sui_programmability/framework/deps/move-stdlib/" }
Sui = { local = "../../../../../sui_programmability/framework" }
MoveStdlib = { local = "../../../../../crates/sui-framework/deps/move-stdlib/" }
Sui = { local = "../../../../../crates/sui-framework" }
2 changes: 1 addition & 1 deletion sui/src/unit_tests/data/dummy_modules_publish/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Examples"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../sui_programmability/framework" }
Sui = { local = "../../../../../crates/sui-framework" }

[addresses]
Examples = "0x0"
2 changes: 1 addition & 1 deletion sui_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ arc-swap = "1.5.0"


sui-adapter = { path = "../crates/sui-adapter" }
sui-framework = { path = "../sui_programmability/framework" }
sui-framework = { path = "../crates/sui-framework" }
sui-network = { path = "../crates/sui-network" }
sui-types = { path = "../crates/sui-types" }
sui_storage = { path = "../sui_storage" }
Expand Down
2 changes: 1 addition & 1 deletion sui_core/src/unit_tests/data/hero/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Examples"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../sui_programmability/framework" }
Sui = { local = "../../../../../crates/sui-framework" }

[addresses]
Examples = "0x0"
2 changes: 1 addition & 1 deletion sui_core/src/unit_tests/data/object_owner/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "ObjectOwner"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../sui_programmability/framework" }
Sui = { local = "../../../../../crates/sui-framework" }

[addresses]
ObjectOwner = "0x0"
2 changes: 1 addition & 1 deletion sui_core/src/unit_tests/data/object_wrapping/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "ObjectWrapping"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../sui_programmability/framework" }
Sui = { local = "../../../../../crates/sui-framework" }

[addresses]
ObjectWrapping = "0x0"
2 changes: 1 addition & 1 deletion sui_programmability/examples/basics/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Basics"
version = "0.0.1"

[dependencies]
Sui = { local = "../../framework" }
Sui = { local = "../../../crates/sui-framework" }

[addresses]
Basics = "0x0"
2 changes: 1 addition & 1 deletion sui_programmability/examples/defi/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "DeFi"
version = "0.0.1"

[dependencies]
Sui = { local = "../../framework" }
Sui = { local = "../../../crates/sui-framework" }

[addresses]
DeFi = "0x0"
2 changes: 1 addition & 1 deletion sui_programmability/examples/fungible_tokens/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "FungibleTokens"
version = "0.0.1"

[dependencies]
Sui = { local = "../../framework" }
Sui = { local = "../../../crates/sui-framework" }

[addresses]
FungibleTokens = "0x0"
2 changes: 1 addition & 1 deletion sui_programmability/examples/games/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Games"
version = "0.0.1"

[dependencies]
Sui = { local = "../../framework" }
Sui = { local = "../../../crates/sui-framework" }

[addresses]
Games = "0x0"
2 changes: 1 addition & 1 deletion sui_programmability/examples/nfts/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "NFTs"
version = "0.0.1"

[dependencies]
Sui = { local = "../../framework" }
Sui = { local = "../../../crates/sui-framework" }

[addresses]
NFTs = "0x0"
4 changes: 2 additions & 2 deletions sui_programmability/examples/objects_tutorial/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name = "Tutorial"
version = "0.0.1"

[dependencies]
MoveStdlib = { local = "../../../sui_programmability/framework/deps/move-stdlib/" }
Sui = { local = "../../../sui_programmability/framework/" }
MoveStdlib = { local = "../../../crates/sui-framework/deps/move-stdlib/" }
Sui = { local = "../../../crates/sui-framework/" }

[addresses]
Tutorial = "0x0"
Expand Down
2 changes: 1 addition & 1 deletion sui_programmability/tutorial/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "MyFirstPackage"
version = "0.0.1"

[dependencies]
Sui = { local = "../framework" }
Sui = { local = "../../crates/sui-framework" }

[addresses]
MyFirstPackage = "0x0"
2 changes: 1 addition & 1 deletion test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tempfile = "3.3.0"
bcs = "0.1.3"

sui-adapter = { path = "../crates/sui-adapter" }
sui-framework = { path = "../sui_programmability/framework" }
sui-framework = { path = "../crates/sui-framework" }
move-package = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }
move-core-types = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b", features = ["address20"] }
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev ="7c247967e5a5abd59ecaa75bc62b05bcdf4503fe"}
Expand Down

0 comments on commit 95a947f

Please sign in to comment.