diff --git a/Cargo.toml b/Cargo.toml index f51165ef49883..9358e711e6d2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [workspace] members = [ + "crates/sui-adapter-transactional-tests", "crates/sui-config", "crates/sui-network", "crates/sui-transactional-test-runner", @@ -12,7 +13,6 @@ members = [ "sui/open_rpc/macros", "sui_core", "sui_programmability/adapter", - "sui_programmability/adapter/transactional-tests", "sui_programmability/framework", "test_utils", ] diff --git a/sui_programmability/adapter/transactional-tests/Cargo.toml b/crates/sui-adapter-transactional-tests/Cargo.toml similarity index 78% rename from sui_programmability/adapter/transactional-tests/Cargo.toml rename to crates/sui-adapter-transactional-tests/Cargo.toml index 08529423e8ead..8fa4d9867975d 100644 --- a/sui_programmability/adapter/transactional-tests/Cargo.toml +++ b/crates/sui-adapter-transactional-tests/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dev-dependencies] datatest-stable = "0.1.1" -sui-transactional-test-runner = { path = "../../../crates/sui-transactional-test-runner" } +sui-transactional-test-runner = { path = "../sui-transactional-test-runner" } [[test]] name = "tests" diff --git a/sui_programmability/adapter/transactional-tests/src/lib.rs b/crates/sui-adapter-transactional-tests/src/lib.rs similarity index 100% rename from sui_programmability/adapter/transactional-tests/src/lib.rs rename to crates/sui-adapter-transactional-tests/src/lib.rs diff --git a/sui_programmability/adapter/transactional-tests/tests/call/simple.exp b/crates/sui-adapter-transactional-tests/tests/call/simple.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/call/simple.exp rename to crates/sui-adapter-transactional-tests/tests/call/simple.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/call/simple.move b/crates/sui-adapter-transactional-tests/tests/call/simple.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/call/simple.move rename to crates/sui-adapter-transactional-tests/tests/call/simple.move diff --git a/sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.exp b/crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.exp rename to crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.move b/crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.move rename to crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init.exp b/crates/sui-adapter-transactional-tests/tests/publish/init.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init.move b/crates/sui-adapter-transactional-tests/tests/publish/init.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init.move rename to crates/sui-adapter-transactional-tests/tests/publish/init.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_param.exp b/crates/sui-adapter-transactional-tests/tests/publish/init_param.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_param.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init_param.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_param.move b/crates/sui-adapter-transactional-tests/tests/publish/init_param.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_param.move rename to crates/sui-adapter-transactional-tests/tests/publish/init_param.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_public.exp b/crates/sui-adapter-transactional-tests/tests/publish/init_public.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_public.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init_public.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_public.move b/crates/sui-adapter-transactional-tests/tests/publish/init_public.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_public.move rename to crates/sui-adapter-transactional-tests/tests/publish/init_public.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_ret.exp b/crates/sui-adapter-transactional-tests/tests/publish/init_ret.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_ret.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init_ret.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_ret.move b/crates/sui-adapter-transactional-tests/tests/publish/init_ret.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_ret.move rename to crates/sui-adapter-transactional-tests/tests/publish/init_ret.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.exp b/crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.exp rename to crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.move b/crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.move rename to crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/freeze.exp b/crates/sui-adapter-transactional-tests/tests/sui/freeze.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/freeze.exp rename to crates/sui-adapter-transactional-tests/tests/sui/freeze.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/freeze.move b/crates/sui-adapter-transactional-tests/tests/sui/freeze.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/freeze.move rename to crates/sui-adapter-transactional-tests/tests/sui/freeze.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.exp b/crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.exp rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.move b/crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.move rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.exp b/crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.exp rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.move b/crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.move rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/object_basics.exp b/crates/sui-adapter-transactional-tests/tests/sui/object_basics.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/object_basics.exp rename to crates/sui-adapter-transactional-tests/tests/sui/object_basics.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/object_basics.move b/crates/sui-adapter-transactional-tests/tests/sui/object_basics.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/object_basics.move rename to crates/sui-adapter-transactional-tests/tests/sui/object_basics.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.exp b/crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.exp rename to crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.move b/crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.move rename to crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/unwrap.exp b/crates/sui-adapter-transactional-tests/tests/sui/unwrap.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/unwrap.exp rename to crates/sui-adapter-transactional-tests/tests/sui/unwrap.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/unwrap.move b/crates/sui-adapter-transactional-tests/tests/sui/unwrap.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/unwrap.move rename to crates/sui-adapter-transactional-tests/tests/sui/unwrap.move diff --git a/sui_programmability/adapter/transactional-tests/tests/tests.rs b/crates/sui-adapter-transactional-tests/tests/tests.rs similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/tests.rs rename to crates/sui-adapter-transactional-tests/tests/tests.rs