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" 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" }