From 987ffb0bf739249369c864844b96f17655fa365a Mon Sep 17 00:00:00 2001 From: poisonphang <17688291+PoisonPhang@users.noreply.github.com> Date: Mon, 16 Dec 2024 22:22:21 -0600 Subject: [PATCH] fix(unionlabs): enable cosmwasm-std std in unionlabs --- Cargo.lock | 24 ++++++++++++------------ lib/chain-utils/src/cosmos_sdk.rs | 1 + lib/unionlabs/Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d1952257b9..6267f39253 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6371,7 +6371,7 @@ dependencies = [ name = "ics008-wasm-client" version = "0.1.0" dependencies = [ - "cosmwasm-std 1.5.8", + "cosmwasm-std 2.1.4", "frame-support-procedural", "macros", "prost 0.12.6", @@ -8016,8 +8016,8 @@ dependencies = [ name = "multicall" version = "1.0.0" dependencies = [ - "cosmwasm-schema 1.5.8", - "cosmwasm-std 1.5.8", + "cosmwasm-schema 2.1.4", + "cosmwasm-std 2.1.4", "hex", "serde", "serde_json", @@ -12819,9 +12819,9 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" name = "ucs00-pingpong" version = "1.0.0" dependencies = [ - "cosmwasm-schema 1.5.8", - "cosmwasm-std 1.5.8", - "cw-storage-plus 1.2.0", + "cosmwasm-schema 2.1.4", + "cosmwasm-std 2.1.4", + "cw-storage-plus 2.0.0", "ethabi", "hex", "serde", @@ -12884,9 +12884,9 @@ dependencies = [ name = "ucs02-nft" version = "1.0.0" dependencies = [ - "cosmwasm-schema 1.5.8", - "cosmwasm-std 1.5.8", - "cw-storage-plus 1.2.0", + "cosmwasm-schema 2.1.4", + "cosmwasm-std 2.1.4", + "cw-storage-plus 2.0.0", "ethabi", "ics721", "ics721-base", @@ -12999,7 +12999,7 @@ name = "union-ibc" version = "1.0.0" dependencies = [ "alloy", - "cosmwasm-schema 1.5.8", + "cosmwasm-schema 2.1.4", "cosmwasm-std 2.1.4", "cw-storage-plus 2.0.0", "ethabi", @@ -13046,7 +13046,7 @@ dependencies = [ name = "union-ibc-ucs00-pingpong" version = "1.0.0" dependencies = [ - "cosmwasm-schema 1.5.8", + "cosmwasm-schema 2.1.4", "cosmwasm-std 2.1.4", "cw-storage-plus 2.0.0", "ethabi", @@ -13071,7 +13071,7 @@ dependencies = [ "bs58 0.4.0", "chrono", "clap 4.5.4", - "cosmwasm-std 1.5.8", + "cosmwasm-std 2.1.4", "derive_more 0.99.17", "either", "enumorph", diff --git a/lib/chain-utils/src/cosmos_sdk.rs b/lib/chain-utils/src/cosmos_sdk.rs index 8810516ed2..fa98d974d4 100644 --- a/lib/chain-utils/src/cosmos_sdk.rs +++ b/lib/chain-utils/src/cosmos_sdk.rs @@ -1,5 +1,6 @@ use std::sync::Arc; +use bip32::secp256k1::ecdsa::signature::SignatureEncoding; use prost::{Message, Name}; use serde::{Deserialize, Serialize}; use sha2::Digest; diff --git a/lib/unionlabs/Cargo.toml b/lib/unionlabs/Cargo.toml index 8e29115ce3..a62d2dc969 100644 --- a/lib/unionlabs/Cargo.toml +++ b/lib/unionlabs/Cargo.toml @@ -16,7 +16,7 @@ bip32 = { workspace = true, features = ["secp256k1"] } bitvec = { workspace = true } chrono = { workspace = true, features = ["alloc"] } clap = { workspace = true, features = ["derive"] } -cosmwasm-std = { workspace = true, optional = true } +cosmwasm-std = { workspace = true, optional = true,features = ["std"] } derive_more = { workspace = true, features = ["display"] } either = { workspace = true } enumorph = { workspace = true }