Skip to content

Commit

Permalink
Bump Clarity, Web30, and DeepSpace versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkilpatr committed Dec 4, 2024
1 parent cd8292c commit 3bb1b85
Show file tree
Hide file tree
Showing 12 changed files with 249 additions and 113 deletions.
323 changes: 229 additions & 94 deletions Cargo.lock

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ inherits = "dev"
opt-level = 2

[workspace.dependencies]
deep_space = {version = "2.24", features = ["althea"], default-features=false}
web30 = "1.2"
clarity = "1.3"
deep_space = {version = "2.27", features = ["althea"], default-features=false}
web30 = "1.6"
clarity = "1.5"
num256 = "0.6"
awc = {version = "3.2", default-features = false, features=["openssl", "compress-gzip", "compress-zstd"]}
althea_proto = "0.7"
althea_proto = "0.9"
2 changes: 1 addition & 1 deletion althea_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"

[dependencies]
babel_monitor = { path = "../babel_monitor" }
num256 = "0.5"
num256 = {workspace = true}
base64 = "0.13"
serde_derive = "1.0"
serde = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion auto_bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"

[dependencies]
web30 = {workspace = true}
num256 = "0.5"
num256 = {workspace = true}
clarity = {workspace = true}
rand = "0.8"
num = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ deep_space = {workspace = true}
clarity = {workspace = true}
althea_proto = {workspace = true}
futures = { version = "0.3", features = ["compat"] }
num256 = "0.5"
num256 = {workspace = true}
num-traits="0.2"
web30 = {workspace = true}
lazy_static = "1.4"
Expand Down
4 changes: 2 additions & 2 deletions integration_tests/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ pub async fn vote_yes_with_retry(
let res = res.unwrap();
info!(
"Voting yes on governance proposal costing {} gas",
res.gas_used
res.gas_used()
);
}

Expand Down Expand Up @@ -854,7 +854,7 @@ pub async fn execute_register_coin_proposal(
)
.await
.unwrap();
info!("Gov proposal executed with {:?}", res.raw_log);
info!("Gov proposal executed with {:?}", res.raw_log());

vote_yes_on_proposals(contact, keys, None).await;
if wait {
Expand Down
2 changes: 1 addition & 1 deletion rita_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
[dependencies]
compressed_log = "0.5"
num-traits = "0.2"
num256 = "0.5"
num256 = {workspace = true}
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions rita_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ log = { version = "0.4", features = ["release_max_level_info"] }
settings = { path = "../settings" }
clarity = {workspace = true}
futures = { version = "0.3", features = ["compat"] }
num256 = "0.5"
num256 = {workspace = true}
num-traits = "0.2"
bincode = "1.3"
serde_cbor = "0.11"
Expand All @@ -37,8 +37,8 @@ actix-service = "2.0.2"
web30 = {workspace = true}
althea_types = { path = "../althea_types" }
deep_space = {workspace = true}
prost-types ="0.12"
cosmos-sdk-proto-althea = {package = "cosmos-sdk-proto-althea", version = "0.16", features = ["ethermint"]}
prost-types ="0.13"
cosmos-sdk-proto-althea = {package = "cosmos-sdk-proto-althea", version = "0.18", features = ["ethermint"]}
althea_proto = {workspace = true}
crossbeam = "0.8"

Expand Down
4 changes: 2 additions & 2 deletions rita_common/src/payment_controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ async fn make_althea_payment(
// setup tx hash
info!(
"Making payment with txid {} that will be converted to hex",
transaction.txhash
transaction.txhash()
);
let pmt = pmt.publish(Uint256::from_str_radix(&transaction.txhash, 16).unwrap());
let pmt = pmt.publish(Uint256::from_str_radix(&transaction.txhash(), 16).unwrap());

let retry = send_make_payment_endpoints(
pmt,
Expand Down
2 changes: 1 addition & 1 deletion rita_exit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
[dependencies]
# debug is used here to make sure exit logs remain accessible locally
sodiumoxide = "0.2"
num256 = "0.5"
num256 = {workspace = true}
rita_common = { path = "../rita_common" }
rita_client_registration = { path = "../rita_client_registration" }
althea_kernel_interface = { path = "../althea_kernel_interface" }
Expand Down
2 changes: 1 addition & 1 deletion settings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ althea_types = { path = "../althea_types"}
babel_monitor = { path = "../babel_monitor"}
althea_kernel_interface = { path = "../althea_kernel_interface" }
auto-bridge = { path = "../auto_bridge" }
num256 = "0.5"
num256 = {workspace = true}
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ althea_types = { path = "../althea_types" }
althea_kernel_interface = { path = "../althea_kernel_interface" }
deep_space = { version = "2", features = ["althea"] }
rita_client_registration = { path = "../rita_client_registration" }
web30 = "1.0"
clarity = "1.2"
web30 = {workspace = true}
clarity = {workspace = true}

[dev-dependencies]
actix = "0.13"
Expand Down

0 comments on commit 3bb1b85

Please sign in to comment.