From 0016cf74d7756deefbe1be319a1e673ca6afd826 Mon Sep 17 00:00:00 2001 From: Weiyuan Wu Date: Fri, 8 Jul 2022 04:13:23 +0000 Subject: [PATCH] upgrade to solana 1.13 --- amm-anchor/Cargo.toml | 6 +++--- client/Cargo.toml | 6 +++--- farm-anchor/Cargo.toml | 6 +++--- lib/Cargo.toml | 7 +++---- stable-amm-anchor/Cargo.toml | 6 +++--- staking-anchor/Cargo.toml | 6 +++--- 6 files changed, 18 insertions(+), 19 deletions(-) diff --git a/amm-anchor/Cargo.toml b/amm-anchor/Cargo.toml index aadfc04..c322559 100644 --- a/amm-anchor/Cargo.toml +++ b/amm-anchor/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" keywords = ["solana", "raydium", "amm", "anchor"] [dependencies] -anchor-lang = "0.25.0" -solana-program = "~1.10.29" -spl-token = { version="~3.3.0", features = [ "no-entrypoint" ] } +anchor-lang = {git = "https://github.com/coral-xyz/anchor"} +solana-program = "1.13.3" +spl-token = { version="3.3.0", features = [ "no-entrypoint" ] } raydium-contract-instructions = { path = "../lib"} diff --git a/client/Cargo.toml b/client/Cargo.toml index 7320c12..459dbbb 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -9,9 +9,9 @@ path = "src/main.rs" [dependencies] raydium-contract-instructions = { path = "../lib"} -spl-token = { version = "3.2.0", features = ["no-entrypoint"], default-features = false } +spl-token = { version = "3.5.0", features = ["no-entrypoint"], default-features = false } spl-associated-token-account = "1.0.3" -solana-client = "1.9.5" -solana-sdk = "1.9.5" +solana-client = "1.13.3" +solana-sdk = "1.13.3" anyhow = "1.0.53" diff --git a/farm-anchor/Cargo.toml b/farm-anchor/Cargo.toml index f5ea8f9..9705798 100644 --- a/farm-anchor/Cargo.toml +++ b/farm-anchor/Cargo.toml @@ -16,7 +16,7 @@ no-entrypoint = [] cpi = ["no-entrypoint"] [dependencies] -anchor-lang = "0.25.0" -solana-program = "~1.10.29" -spl-token = { version="~3.3.0", features = [ "no-entrypoint" ] } +anchor-lang = {git = "https://github.com/coral-xyz/anchor"} +solana-program = "1.13.3" +spl-token = { version="3.2.0", features = [ "no-entrypoint" ] } raydium-contract-instructions = { path = "../lib"} \ No newline at end of file diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 486414c..8fecb40 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,12 +1,11 @@ [package] +edition = "2021" name = "raydium-contract-instructions" version = "0.1.0" -edition = "2021" - [dependencies] -solana-program = "~1.10.29" -spl-token = { version="~3.3.0", features = [ "no-entrypoint" ] } +solana-program = "1.13.3" +spl-token = { version="3.3.0", features = [ "no-entrypoint" ] } num-derive = "0.3" num-traits = "0.2.12" thiserror = "1.0.20" diff --git a/stable-amm-anchor/Cargo.toml b/stable-amm-anchor/Cargo.toml index e50c266..26fe210 100644 --- a/stable-amm-anchor/Cargo.toml +++ b/stable-amm-anchor/Cargo.toml @@ -16,7 +16,7 @@ no-entrypoint = [] cpi = ["no-entrypoint"] [dependencies] -anchor-lang = "0.25.0" -solana-program = "~1.10.29" -spl-token = { version="~3.3.0", features = [ "no-entrypoint" ] } +anchor-lang = {git = "https://github.com/coral-xyz/anchor"} +solana-program = "1.13.3" +spl-token = { version="3.3.0", features = [ "no-entrypoint" ] } raydium-contract-instructions = { path = "../lib"} diff --git a/staking-anchor/Cargo.toml b/staking-anchor/Cargo.toml index 179c924..bbd1a51 100644 --- a/staking-anchor/Cargo.toml +++ b/staking-anchor/Cargo.toml @@ -16,7 +16,7 @@ no-entrypoint = [] cpi = ["no-entrypoint"] [dependencies] -anchor-lang = "0.25.0" -solana-program = "~1.10.29" -spl-token = { version="~3.3.0", features = [ "no-entrypoint" ] } +anchor-lang = {git = "https://github.com/coral-xyz/anchor"} +solana-program = "1.13.3" +spl-token = { version="3.3.0", features = [ "no-entrypoint" ] } raydium-contract-instructions = { path = "../lib"} \ No newline at end of file