From 8a8b20db69a8cc6a93d693c0c5309388d9a2ebf0 Mon Sep 17 00:00:00 2001 From: Chester Sim Date: Tue, 23 Jun 2026 15:21:49 +0800 Subject: [PATCH] chore: rename drift-labs GitHub URLs to velocity-exchange --- .cargo/config.toml | 20 ++++++++++---------- .github/workflows/on-sdk-update.yml | 2 +- Cargo.lock | 20 ++++++++++---------- README.md | 2 +- programs/drift_vaults/Cargo.toml | 4 ++-- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index d9e302b0..49f7febe 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,28 +1,28 @@ [source.crates-io] replace-with = "vendored-sources" -[source."git+https://github.com/drift-labs/drift-macros.git?rev=c57d87"] -git = "https://github.com/drift-labs/drift-macros.git" +[source."git+https://github.com/velocity-exchange/drift-macros.git?rev=c57d87"] +git = "https://github.com/velocity-exchange/drift-macros.git" rev = "c57d87" replace-with = "vendored-sources" -[source."git+https://github.com/drift-labs/phoenix-v1?rev=7703c5"] -git = "https://github.com/drift-labs/phoenix-v1" +[source."git+https://github.com/velocity-exchange/phoenix-v1?rev=7703c5"] +git = "https://github.com/velocity-exchange/phoenix-v1" rev = "7703c5" replace-with = "vendored-sources" -[source."git+https://github.com/drift-labs/protocol-v2.git?rev=v2.120.0"] -git = "https://github.com/drift-labs/protocol-v2.git" +[source."git+https://github.com/velocity-exchange/protocol-v2.git?rev=v2.120.0"] +git = "https://github.com/velocity-exchange/protocol-v2.git" rev = "v2.120.0" replace-with = "vendored-sources" -[source."git+https://github.com/drift-labs/pyth-crosschain?rev=3e8a24ecd0bcf22b787313e2020f4186bb22c729"] -git = "https://github.com/drift-labs/pyth-crosschain" +[source."git+https://github.com/velocity-exchange/pyth-crosschain?rev=3e8a24ecd0bcf22b787313e2020f4186bb22c729"] +git = "https://github.com/velocity-exchange/pyth-crosschain" rev = "3e8a24ecd0bcf22b787313e2020f4186bb22c729" replace-with = "vendored-sources" -[source."git+https://github.com/drift-labs/pyth-crosschain?rev=d790d1cb4da873a949cf33ff70349b7614b232eb"] -git = "https://github.com/drift-labs/pyth-crosschain" +[source."git+https://github.com/velocity-exchange/pyth-crosschain?rev=d790d1cb4da873a949cf33ff70349b7614b232eb"] +git = "https://github.com/velocity-exchange/pyth-crosschain" rev = "d790d1cb4da873a949cf33ff70349b7614b232eb" replace-with = "vendored-sources" diff --git a/.github/workflows/on-sdk-update.yml b/.github/workflows/on-sdk-update.yml index a79ec724..0cafa517 100644 --- a/.github/workflows/on-sdk-update.yml +++ b/.github/workflows/on-sdk-update.yml @@ -87,7 +87,7 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "Authorization: token ${{ secrets.GH_PAT }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - "https://api.github.com/repos/drift-labs/internal-keeper-bot/dispatches" \ + "https://api.github.com/repos/velocity-exchange/internal-keeper-bot/dispatches" \ -d "{\"event_type\": \"jit-sdk-update\", \"client_payload\": { \"sdk-version\": \"$DRIFT_SDK_VERSION\", \"vault-version\": \"$VAULT_VERSION\" diff --git a/Cargo.lock b/Cargo.lock index 84e2040d..ad883922 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -952,7 +952,7 @@ dependencies = [ [[package]] name = "drift" version = "2.120.0" -source = "git+https://github.com/drift-labs/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" +source = "git+https://github.com/velocity-exchange/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" dependencies = [ "ahash 0.8.6", "anchor-lang", @@ -987,7 +987,7 @@ dependencies = [ [[package]] name = "drift-macros" version = "0.1.0" -source = "git+https://github.com/drift-labs/drift-macros.git?rev=c57d87#c57d87e073d13d43f4d1fb09fe6822915a4ccc11" +source = "git+https://github.com/velocity-exchange/drift-macros.git?rev=c57d87#c57d87e073d13d43f4d1fb09fe6822915a4ccc11" dependencies = [ "quote", "syn 1.0.92", @@ -1713,7 +1713,7 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openbook-v2-light" version = "0.1.0" -source = "git+https://github.com/drift-labs/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" +source = "git+https://github.com/velocity-exchange/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" dependencies = [ "anchor-lang", "borsh 0.10.3", @@ -1785,7 +1785,7 @@ dependencies = [ [[package]] name = "phoenix-v1" version = "0.2.4" -source = "git+https://github.com/drift-labs/phoenix-v1?rev=7703c5#7703c50cf92f2bb321dcd1e2824e1c041135ec5c" +source = "git+https://github.com/velocity-exchange/phoenix-v1?rev=7703c5#7703c50cf92f2bb321dcd1e2824e1c041135ec5c" dependencies = [ "borsh 0.10.3", "bytemuck", @@ -1887,7 +1887,7 @@ checksum = "44de48029c54ec1ca570786b5baeb906b0fc2409c8e0145585e287ee7a526c72" [[package]] name = "pyth-lazer-protocol" version = "0.1.2" -source = "git+https://github.com/drift-labs/pyth-crosschain?rev=d790d1cb4da873a949cf33ff70349b7614b232eb#d790d1cb4da873a949cf33ff70349b7614b232eb" +source = "git+https://github.com/velocity-exchange/pyth-crosschain?rev=d790d1cb4da873a949cf33ff70349b7614b232eb#d790d1cb4da873a949cf33ff70349b7614b232eb" dependencies = [ "anyhow", "byteorder", @@ -1900,7 +1900,7 @@ dependencies = [ [[package]] name = "pyth-lazer-solana-contract" version = "0.2.0" -source = "git+https://github.com/drift-labs/pyth-crosschain?rev=d790d1cb4da873a949cf33ff70349b7614b232eb#d790d1cb4da873a949cf33ff70349b7614b232eb" +source = "git+https://github.com/velocity-exchange/pyth-crosschain?rev=d790d1cb4da873a949cf33ff70349b7614b232eb#d790d1cb4da873a949cf33ff70349b7614b232eb" dependencies = [ "anchor-lang", "bytemuck", @@ -1913,7 +1913,7 @@ dependencies = [ [[package]] name = "pyth-solana-receiver-sdk" version = "0.3.0" -source = "git+https://github.com/drift-labs/pyth-crosschain?rev=3e8a24ecd0bcf22b787313e2020f4186bb22c729#3e8a24ecd0bcf22b787313e2020f4186bb22c729" +source = "git+https://github.com/velocity-exchange/pyth-crosschain?rev=3e8a24ecd0bcf22b787313e2020f4186bb22c729#3e8a24ecd0bcf22b787313e2020f4186bb22c729" dependencies = [ "anchor-lang", "hex", @@ -1924,7 +1924,7 @@ dependencies = [ [[package]] name = "pythnet-sdk" version = "2.1.0" -source = "git+https://github.com/drift-labs/pyth-crosschain?rev=3e8a24ecd0bcf22b787313e2020f4186bb22c729#3e8a24ecd0bcf22b787313e2020f4186bb22c729" +source = "git+https://github.com/velocity-exchange/pyth-crosschain?rev=3e8a24ecd0bcf22b787313e2020f4186bb22c729#3e8a24ecd0bcf22b787313e2020f4186bb22c729" dependencies = [ "anchor-lang", "bincode", @@ -2882,7 +2882,7 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "switchboard" version = "0.1.0" -source = "git+https://github.com/drift-labs/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" +source = "git+https://github.com/velocity-exchange/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" dependencies = [ "anchor-lang", ] @@ -2890,7 +2890,7 @@ dependencies = [ [[package]] name = "switchboard-on-demand" version = "0.1.0" -source = "git+https://github.com/drift-labs/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" +source = "git+https://github.com/velocity-exchange/protocol-v2.git?rev=v2.120.0#f1351cdac79fe70567f77b41af1b3a334eb9f9c8" dependencies = [ "anchor-lang", "bytemuck", diff --git a/README.md b/README.md index c5ef4463..df18b596 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ soon^TM -[did you see the CLI?](./ts/sdk/README.md) and the [wiki?](https://github.com/drift-labs/drift-vaults/wiki) +[did you see the CLI?](./ts/sdk/README.md) and the [wiki?](https://github.com/velocity-exchange/drift-vaults/wiki) # Development diff --git a/programs/drift_vaults/Cargo.toml b/programs/drift_vaults/Cargo.toml index 8c9a76b2..3ecfae8e 100644 --- a/programs/drift_vaults/Cargo.toml +++ b/programs/drift_vaults/Cargo.toml @@ -17,10 +17,10 @@ default = [] [dependencies] anchor-lang = "0.29.0" anchor-spl = { version = "0.29.0", features = ["metadata"] } -drift = { git = "https://github.com/drift-labs/protocol-v2.git", rev = "v2.120.0", features = ["cpi", "mainnet-beta"] } +drift = { git = "https://github.com/velocity-exchange/protocol-v2.git", rev = "v2.120.0", features = ["cpi", "mainnet-beta"] } bytemuck = { version = "1.4.0" } static_assertions = "1.1.0" -drift-macros = { git = "https://github.com/drift-labs/drift-macros.git", rev = "c57d87" } +drift-macros = { git = "https://github.com/velocity-exchange/drift-macros.git", rev = "c57d87" } ahash = "=0.8.6" serde = "=1.0.209"