From 6d2cba5ce70d057cda85bc418ac46907975cdbc6 Mon Sep 17 00:00:00 2001 From: oney Date: Fri, 24 Jan 2025 00:42:03 +0800 Subject: [PATCH 1/5] chore: upgrade bytemuck to 1.19.0 --- programs/whirlpool/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/whirlpool/Cargo.toml b/programs/whirlpool/Cargo.toml index 8f08e19f4..5d41a5e1b 100644 --- a/programs/whirlpool/Cargo.toml +++ b/programs/whirlpool/Cargo.toml @@ -25,7 +25,7 @@ uint = { version = "=0.9.5", default-features = false } arrayref = { version = "=0.3.8" } borsh09 = { package = "borsh", version = "=0.9.3" } solana-security-txt = { version = "=1.1.1" } -bytemuck = { version = "=1.16.3", features = ["derive", "min_const_generics"] } +bytemuck = { version = "1.19.0", features = ["derive", "min_const_generics"] } [dev-dependencies] proptest = "=1.5.0" From ad59ad1f7cb15688d5b0bc9b0a426356b4bab7e6 Mon Sep 17 00:00:00 2001 From: oney Date: Fri, 24 Jan 2025 01:06:22 +0800 Subject: [PATCH 2/5] chore: upgradesolana-program to 1.18.0 --- programs/whirlpool/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/whirlpool/Cargo.toml b/programs/whirlpool/Cargo.toml index 5d41a5e1b..64bab0be5 100644 --- a/programs/whirlpool/Cargo.toml +++ b/programs/whirlpool/Cargo.toml @@ -20,7 +20,7 @@ anchor-spl = { version = "=0.29.0", features = ["metadata", "memo"] } spl-token = { version = "=4.0.1", features = ["no-entrypoint"] } spl-transfer-hook-interface = { version = "=0.5.0" } spl-token-metadata-interface = { version = "=0.2.0" } -solana-program = { version = "=1.17.22" } +solana-program = { version = "1.18.0" } uint = { version = "=0.9.5", default-features = false } arrayref = { version = "=0.3.8" } borsh09 = { package = "borsh", version = "=0.9.3" } From 692bf21ad0b306fa0cbdf0ac409f48f76316c8cf Mon Sep 17 00:00:00 2001 From: oney Date: Fri, 24 Jan 2025 01:34:03 +0800 Subject: [PATCH 3/5] =?UTF-8?q?git=20commit=20-m=20"chore:=20upgrade=20sol?= =?UTF-8?q?ana-program=20=20to=20=20>=3D1.16,=20<1.18=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- programs/whirlpool/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/whirlpool/Cargo.toml b/programs/whirlpool/Cargo.toml index 64bab0be5..dab349cd4 100644 --- a/programs/whirlpool/Cargo.toml +++ b/programs/whirlpool/Cargo.toml @@ -20,7 +20,7 @@ anchor-spl = { version = "=0.29.0", features = ["metadata", "memo"] } spl-token = { version = "=4.0.1", features = ["no-entrypoint"] } spl-transfer-hook-interface = { version = "=0.5.0" } spl-token-metadata-interface = { version = "=0.2.0" } -solana-program = { version = "1.18.0" } +solana-program = { version = ">=1.16, <1.18" } uint = { version = "=0.9.5", default-features = false } arrayref = { version = "=0.3.8" } borsh09 = { package = "borsh", version = "=0.9.3" } From 32f20635dd02e671bfa0146f23a7ded82f8f9b98 Mon Sep 17 00:00:00 2001 From: oney Date: Fri, 24 Jan 2025 01:41:19 +0800 Subject: [PATCH 4/5] chore: upgrade solana-program to =1.16.18 --- programs/whirlpool/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/whirlpool/Cargo.toml b/programs/whirlpool/Cargo.toml index dab349cd4..be6cfd3e3 100644 --- a/programs/whirlpool/Cargo.toml +++ b/programs/whirlpool/Cargo.toml @@ -20,7 +20,7 @@ anchor-spl = { version = "=0.29.0", features = ["metadata", "memo"] } spl-token = { version = "=4.0.1", features = ["no-entrypoint"] } spl-transfer-hook-interface = { version = "=0.5.0" } spl-token-metadata-interface = { version = "=0.2.0" } -solana-program = { version = ">=1.16, <1.18" } +solana-program = { version = "=1.16.18" } uint = { version = "=0.9.5", default-features = false } arrayref = { version = "=0.3.8" } borsh09 = { package = "borsh", version = "=0.9.3" } From e6f0249b549686a7497e18b856735416cd5e9575 Mon Sep 17 00:00:00 2001 From: oney Date: Fri, 24 Jan 2025 01:47:51 +0800 Subject: [PATCH 5/5] spl-transfer-hook-interface =0.3.0 --- programs/whirlpool/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/whirlpool/Cargo.toml b/programs/whirlpool/Cargo.toml index be6cfd3e3..213879c58 100644 --- a/programs/whirlpool/Cargo.toml +++ b/programs/whirlpool/Cargo.toml @@ -18,7 +18,7 @@ idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"] anchor-lang = { version = "=0.29.0" } anchor-spl = { version = "=0.29.0", features = ["metadata", "memo"] } spl-token = { version = "=4.0.1", features = ["no-entrypoint"] } -spl-transfer-hook-interface = { version = "=0.5.0" } +spl-transfer-hook-interface = { version = "=0.3.0" } spl-token-metadata-interface = { version = "=0.2.0" } solana-program = { version = "=1.16.18" } uint = { version = "=0.9.5", default-features = false }