From 57d439ff8e6b287a7c3dc5fbfc95351ecf32b413 Mon Sep 17 00:00:00 2001 From: bathord Date: Fri, 18 Sep 2026 19:34:06 +0300 Subject: [PATCH 1/2] Update deepbook to v4 & use main token package Update deepbook package for tests to use v4-tag-fork-test-methods branch. --- packages/deeptrade-core/Move.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/deeptrade-core/Move.toml b/packages/deeptrade-core/Move.toml index b5d5b9d..4fa3d85 100644 --- a/packages/deeptrade-core/Move.toml +++ b/packages/deeptrade-core/Move.toml @@ -4,8 +4,8 @@ version = "2.0.0" edition = "2024.alpha" [dependencies] -deepbook = { git = "https://github.com/MystenLabs/deepbookv3.git", subdir = "packages/deepbook", rev = "v3.0.0" } -token = { git = "https://github.com/MystenLabs/deepbookv3.git", subdir = "packages/token", rev = "v3.0.0" } +deepbook = { git = "https://github.com/MystenLabs/deepbookv3.git", subdir = "packages/deepbook", rev = "v4.0.0" } +token = { git = "https://github.com/MystenLabs/deepbookv3.git", subdir = "packages/token", rev = "main" } multisig = { git = "https://github.com/DeeptradeProtocol/multisig-move.git", subdir = "move", rev = "v1.0.1" } # Pyth dependency @@ -16,6 +16,5 @@ pyth_upgraded = { git = "https://github.com/pyth-network/pyth-crosschain.git", s # For `sui move test`, comment the production pins above and uncomment these. # Never leave both copies uncommented. -# deepbook = { git = "https://github.com/DeeptradeProtocol/deepbookv3.git", subdir = "packages/deepbook", rev = "v3-tag-fork-test-methods" } -# token = { git = "https://github.com/DeeptradeProtocol/deepbookv3.git", subdir = "packages/token", rev = "v3-tag-fork-test-methods", override = true } +# deepbook = { git = "https://github.com/DeeptradeProtocol/deepbookv3.git", subdir = "packages/deepbook", rev = "v4-tag-fork-test-methods" } # pyth = { git = "https://github.com/DeeptradeProtocol/pyth-crosschain.git", subdir = "target_chains/sui/contracts", rev = "sui-contract-mainnet" } From be7150f378d6499f5b4cc87ba8e878790a7ebcd2 Mon Sep 17 00:00:00 2001 From: bathord Date: Fri, 18 Sep 2026 19:34:38 +0300 Subject: [PATCH 2/2] Upd tests CI to don't touch token package --- .github/workflows/move_test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/move_test.yml b/.github/workflows/move_test.yml index eed32bd..03ca6e7 100644 --- a/.github/workflows/move_test.yml +++ b/.github/workflows/move_test.yml @@ -67,10 +67,8 @@ jobs: TOML=packages/deeptrade-core/Move.toml # Comment production pins, then uncomment the test-fork lines (no duplicate keys). perl -i -pe 's/^(deepbook = \{ git = "https:\/\/github.com\/MystenLabs\/deepbookv3.git".*\})/# $1/' "$TOML" - perl -i -pe 's/^(token = \{ git = "https:\/\/github.com\/MystenLabs\/deepbookv3.git".*\})/# $1/' "$TOML" perl -i -pe 's/^(pyth = \{ git = "https:\/\/github.com\/pyth-network\/pyth-crosschain.git".*\})/# $1/' "$TOML" perl -i -pe 's/^#\s*(deepbook = \{ git = "https:\/\/github.com\/DeeptradeProtocol\/deepbookv3.git".*\})/$1/' "$TOML" - perl -i -pe 's/^#\s*(token = \{ git = "https:\/\/github.com\/DeeptradeProtocol\/deepbookv3.git".*\})/$1/' "$TOML" perl -i -pe 's/^#\s*(pyth = \{ git = "https:\/\/github.com\/DeeptradeProtocol\/pyth-crosschain.git".*\})/$1/' "$TOML" echo "Move.toml after changes:" cat "$TOML"