Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

bump anchor and solana version #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,765 changes: 1,760 additions & 1,005 deletions Cargo.lock

Large diffs are not rendered by default.

16 changes: 4 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
[workspace]
members = [
"cli",
"cron",
"plugin",
"programs/*",
"relayer",
"sdk",
"utils"
]
members = ["cli", "cron", "plugin", "programs/*", "relayer", "sdk", "utils"]

[profile.release]
overflow-checks = true

[patch.crates-io]
anchor-lang = { git = "https://github.com/coral-xyz/anchor", rev = "fbd0688" }
anchor-spl = { git = "https://github.com/coral-xyz/anchor", rev = "fbd0688", features = ["mint", "token"] }
# [patch.crates-io]
# anchor-lang = { git = "https://github.com/coral-xyz/anchor", rev = "fbd0688" }
# anchor-spl = { git = "https://github.com/coral-xyz/anchor", rev = "fbd0688", features = ["mint", "token"] }
20 changes: 10 additions & 10 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ keywords = ["solana"]
build = "build.rs"

[dependencies]
anchor-lang = "0.27.0"
anchor-spl = { features = ["mint", "token"], version = "0.27.0" }
anchor-lang = "0.28.0"
anchor-spl = { features = ["mint", "token"], version = "0.28.0" }
anyhow = "1.0.61"
bincode = "1.3.3"
bzip2 = "0.4"
Expand All @@ -32,14 +32,14 @@ reqwest = "0.11.14"
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
serde_yaml = "0.9.4"
solana-account-decoder = "=1.14.16"
solana-client = "=1.14.16"
solana-clap-utils = "=1.14.16"
solana-cli-config = "=1.14.16"
solana-sdk = "=1.14.16"
spl-associated-token-account = "1.1.1"
spl-memo = "3.0.1"
spl-token = "~3.5.0"
solana-account-decoder = "1.16.14"
solana-client = "1.16.14"
solana-clap-utils = "1.16.14"
solana-cli-config = "1.16.14"
solana-sdk = "1.16.14"
spl-associated-token-account = "2.2.0"
spl-memo = "4.0.0"
spl-token = "4.0.0"
tar = "0.4"
thiserror = "1.0.30"
termcolor = "1.2.0"
Expand Down
18 changes: 9 additions & 9 deletions plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ crate-type = ["cdylib", "rlib"]
name = "clockwork_plugin"

[dependencies]
anchor-lang = "0.27.0"
anchor-lang = "0.28.0"
async_once = "0.2.6"
async-trait = "0.1.64"
bincode = "1.3.3"
Expand All @@ -37,18 +37,18 @@ clockwork-utils = { path = "../utils", version = "=2.0.18" }
lazy_static = "1.4.0"
log = "0.4"
prost = "0.10.0"
pyth-sdk-solana = "0.7.1"
pyth-sdk-solana = "0.8.0"
reqwest = "0.11.11"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simple-error = "0.2.3"
solana-account-decoder = "=1.14.16"
solana-client = "=1.14.16"
solana-geyser-plugin-interface = "=1.14.16"
solana-logger = "=1.14.16"
solana-program = "=1.14.16"
solana-sdk = "=1.14.16"
solana-transaction-status = "=1.14.16"
solana-account-decoder = "1.16.14"
solana-client = "1.16.14"
solana-geyser-plugin-interface = "1.16.14"
solana-logger = "1.16.14"
solana-program = "1.16.14"
solana-sdk = "1.16.14"
solana-transaction-status = "1.16.14"
thiserror = "1.0.30"
tokio = "1.18.4"
futures = "0.3.26"
Expand Down
2 changes: 1 addition & 1 deletion plugin/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ name = "clockwork_plugin_utils"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
solana-geyser-plugin-interface = "=1.14.16"
solana-geyser-plugin-interface = "1.16.14"
6 changes: 3 additions & 3 deletions programs/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.27.0"
anchor-spl = { features = ["mint", "token"], version = "0.27.0" }
anchor-lang = "0.28.0"
anchor-spl = { features = ["mint", "token"], version = "0.28.0" }
clockwork-utils = { path = "../../utils", version = "=2.0.18" }
winnow = "=0.4.1"
toml_datetime = "=0.6.1"
toml_datetime = "0.6.3"
4 changes: 2 additions & 2 deletions programs/thread/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.27.0"
anchor-lang = "0.28.0"
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
clockwork-cron = { path = "../../cron", version = "=2.0.18" }
clockwork-network-program = { path = "../network", features = ["cpi"], version = "=2.0.18" }
clockwork-thread-program-v1 = { path = "v1", version = "=1.4.4" }
clockwork-utils = { path = "../../utils", version = "=2.0.18" }
pyth-sdk-solana = "0.7.1"
pyth-sdk-solana = "0.8.0"
static-pubkey = "1.0.3"
version = "3.0.0"
6 changes: 4 additions & 2 deletions programs/thread/v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ no-log-ix-name = []
cpi = ["no-entrypoint"]

[dependencies]
anchor-lang = "0.27.0"
clockwork-anchor-gen = { version = "0.3.2", features = ["compat-program-result"] }
anchor-lang = "0.28.0"
clockwork-anchor-gen = { version = "0.3.2", features = [
"compat-program-result",
] }
2 changes: 1 addition & 1 deletion programs/webhook/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = { features = ["init-if-needed"], version = "0.27.0" }
anchor-lang = { features = ["init-if-needed"], version = "0.28.0" }
clockwork-network-program = { path = "../network", features = ["cpi"], version = "=2.0.18" }
clockwork-utils = { path = "../../utils", version = "=2.0.18" }
serde = "1.0.152"
8 changes: 4 additions & 4 deletions relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish = false
[dependencies]
actix-cors = "0.6.4"
actix-web = "4.3.1"
anchor-lang = "0.27.0"
anchor-lang = "0.28.0"
byte-unit = "4.0.18"
clockwork-webhook-program = { path = "../programs/webhook", version = "=2.0.18" }
clockwork-relayer-api = { path = "api", version = "=2.0.18" }
Expand All @@ -25,9 +25,9 @@ lazy_static = "1.4.0"
reqwest = "0.11.14"
serde = "1.0.152"
serde_json = "1.0.94"
solana-client = "=1.14.16"
solana-zk-token-sdk = "=1.14.16"
solana-sdk = "=1.14.16"
solana-client = "1.16.14"
solana-zk-token-sdk = "1.16.14"
solana-sdk = "1.16.14"
tokio = "1.26.0"
bincode = "1.3.3"
rayon = "1.7.0"
Expand Down
2 changes: 1 addition & 1 deletion relayer/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ name = "clockwork_relayer_api"
serde = "1.0.152"
# shadow-drive-sdk = "0.6.1"
# solana-zk-token-sdk = "=1.14.16"
solana-sdk = "=1.14.16"
solana-sdk = "1.16.14"
# tokio = "1.26.0"
bincode = "1.3.3"
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.60.0"
channel = "1.69.0"
components = [ "rustfmt", "rust-analyzer" ]
profile = "minimal"
targets = [ "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "aarch64-apple-darwin"]
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords = ["solana"]
name = "clockwork_sdk"

[dependencies]
anchor-lang = "0.27.0"
anchor-lang = "0.28.0"
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
clockwork-thread-program = { path = "../programs/thread", features = ["cpi"], version = "=2.0.18" }
nom = "~7"
Expand Down
2 changes: 1 addition & 1 deletion utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords = ["solana"]
name = "clockwork_utils"

[dependencies]
anchor-lang = "0.27.0"
anchor-lang = "0.28.0"
base64 = "~0.13"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down