Skip to content

Commit

Permalink
Bump from 1.3.2 to 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Garfield committed Oct 29, 2022
1 parent a2d4bcb commit 6c1f30c
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 55 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.2
1.3.3
6 changes: 3 additions & 3 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-cli"
version = "1.3.2"
version = "1.3.3"
description = "Command line interface for Clockwork"
edition = "2021"
license = "AGPL-3.0-or-later"
Expand All @@ -13,9 +13,9 @@ keywords = ["solana"]
[dependencies]
anyhow = "1.0.61"
clap = { version = "3.1.2", features = ["derive"] }
clockwork-client = { path = "../client", version = "1.3.2" }
clockwork-client = { path = "../client", version = "1.3.3" }
clockwork-cron = { path = "../cron", version = "1.2.12" }
clockwork-utils = { path = "../utils", version = "1.3.2" }
clockwork-utils = { path = "../utils", version = "1.3.3" }
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
dirs-next = "2.0.0"
serde = { version = "1.0.136", features = ["derive"] }
Expand Down
10 changes: 5 additions & 5 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-client"
version = "1.3.2"
version = "1.3.3"
edition = "2021"
description = "Clockwork client"
license = "AGPL-3.0-or-later"
Expand All @@ -19,10 +19,10 @@ anchor-lang = "0.25.0"
anchor-spl = { features = ["mint", "token"], version = "0.25.0" }
bincode = "1.3.3"
borsh = "0.9.3"
clockwork-network-program = { path = "../programs/network", features = ["no-entrypoint"], version = "1.3.2" }
clockwork-thread-program = { path = "../programs/thread", features = ["no-entrypoint"], version = "1.3.2" }
clockwork-utils = { path = "../utils", version = "1.3.2" }
clockwork-webhook-program = { path = "../programs/webhook", features = ["no-entrypoint"], version = "1.3.2" }
clockwork-network-program = { path = "../programs/network", features = ["no-entrypoint"], version = "1.3.3" }
clockwork-thread-program = { path = "../programs/thread", features = ["no-entrypoint"], version = "1.3.3" }
clockwork-utils = { path = "../utils", version = "1.3.3" }
clockwork-webhook-program = { path = "../programs/webhook", features = ["no-entrypoint"], version = "1.3.3" }
solana-client = "1.10.34"
solana-sdk = "1.10.34"
thiserror = "1.0.31"
Expand Down
2 changes: 1 addition & 1 deletion cron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-cron"
version = "1.3.2"
version = "1.3.3"
description = "A cron expression parser that's safe to use in the Solana runtime"
edition = "2021"
license = "AGPL-3.0-or-later"
Expand Down
8 changes: 4 additions & 4 deletions plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork_plugin"
version = "1.3.2"
version = "1.3.3"
edition = "2021"
description = "Clockwork plugin for Solana validators"
license = "AGPL-3.0-or-later"
Expand All @@ -19,9 +19,9 @@ bincode = "1.3.3"
bs58 = "0.4.0"
bugsnag = "0.2.1"
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
clockwork-client = { path = "../client", version = "1.3.2" }
clockwork-cron = { path = "../cron", version = "1.3.2" }
clockwork-utils = { path = "../utils", version = "1.3.2" }
clockwork-client = { path = "../client", version = "1.3.3" }
clockwork-cron = { path = "../cron", version = "1.3.3" }
clockwork-utils = { path = "../utils", version = "1.3.3" }
dashmap = "5.3.3"
log = "0.4"
prost = "0.10.0"
Expand Down
20 changes: 0 additions & 20 deletions plugin/src/builders/thread_exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,26 +150,6 @@ fn build_kickoff_ix(thread: Thread, signatory_pubkey: Pubkey, worker_id: u64) ->
} => {
// Save the trigger account.
trigger_account_pubkey = Some(address);

// Begin computing the data hash of this account.
// let data = client.get_account_data(&address).unwrap();
// let mut hasher = DefaultHasher::new();
// if offset + size < data.len() {
// data[offset..(offset + size)].hash(&mut hasher);
// }
// let data_hash = hasher.finish();

// // Check the exec context for the prior data hash.
// if let Some(exec_context) = thread.exec_context {
// match exec_context.trigger_context {
// TriggerContext::Account {
// data_hash: prior_data_hash,
// } => {
// // Inject the prior data hash as a seed.
// }
// _ => {}
// }
// }
}
_ => {}
}
Expand Down
4 changes: 4 additions & 0 deletions plugin/src/observers/network.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use log::info;

use {
crate::config::PluginConfig,
clockwork_client::network::objects::{Pool, Registry, Snapshot, SnapshotFrame, Worker},
Expand Down Expand Up @@ -82,6 +84,8 @@ impl NetworkObserver {
_ => {}
}

info!("Pool positions: {}", w_pool_positions);

drop(w_pool_positions);
Ok(())
})
Expand Down
4 changes: 2 additions & 2 deletions programs/network/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-network-program"
version = "1.3.2"
version = "1.3.3"
description = "Clockwork networking protocol"
edition = "2021"
license = "AGPL-3.0-or-later"
Expand All @@ -24,4 +24,4 @@ default = []
[dependencies]
anchor-lang = "0.25.0"
anchor-spl = { features = ["mint", "token"], version = "0.25.0" }
clockwork-utils = { path = "../../utils", version = "1.3.2" }
clockwork-utils = { path = "../../utils", version = "1.3.3" }
8 changes: 4 additions & 4 deletions programs/thread/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-thread-program"
version = "1.3.2"
version = "1.3.3"
description = "Clockwork thread program"
edition = "2021"
license = "AGPL-3.0-or-later"
Expand All @@ -24,7 +24,7 @@ default = []
[dependencies]
anchor-lang = "0.25.0"
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
clockwork-cron = { path = "../../cron", version = "1.3.2" }
clockwork-network-program = { path = "../network", features = ["cpi"], version = "1.3.2" }
clockwork-utils = { path = "../../utils", version = "1.3.2" }
clockwork-cron = { path = "../../cron", version = "1.3.3" }
clockwork-network-program = { path = "../network", features = ["cpi"], version = "1.3.3" }
clockwork-utils = { path = "../../utils", version = "1.3.3" }
static-pubkey = "1.0.3"
4 changes: 2 additions & 2 deletions programs/webhook/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-webhook-program"
version = "1.3.2"
version = "1.3.3"
description = "Clockwork webhook program"
edition = "2021"
license = "AGPL-3.0-or-later"
Expand All @@ -23,4 +23,4 @@ default = []

[dependencies]
anchor-lang = { features = ["init-if-needed"], version = "0.25.0" }
clockwork-network-program = { path = "../network", features = ["cpi"], version = "1.3.2" }
clockwork-network-program = { path = "../network", features = ["cpi"], version = "1.3.3" }
6 changes: 3 additions & 3 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-sdk"
version = "1.3.2"
version = "1.3.3"
description = "An SDK for building dapps with the Clockwork automation engine"
edition = "2021"
license = "AGPL-3.0-or-later"
Expand All @@ -15,8 +15,8 @@ name = "clockwork_sdk"

[dependencies]
chrono = { version = "0.4.19", default-features = false, features = ["alloc"] }
clockwork-client = { path = "../client", version = "1.3.2", optional = true }
clockwork-thread-program = { path = "../programs/thread", features = ["cpi"], version = "1.3.2" }
clockwork-client = { path = "../client", version = "1.3.3", optional = true }
clockwork-thread-program = { path = "../programs/thread", features = ["cpi"], version = "1.3.3" }
nom = "~7"
once_cell = "1.5.2"

Expand Down
2 changes: 1 addition & 1 deletion utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clockwork-utils"
version = "1.3.2"
version = "1.3.3"
description = "Tools for building blocks on Solana"
edition = "2021"
license = "AGPL-3.0-or-later"
Expand Down

0 comments on commit 6c1f30c

Please sign in to comment.