Skip to content

Commit

Permalink
chore: update cosmwasm
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Nov 27, 2024
1 parent f993e8a commit eaea0a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ members = ["crates/common", "crates/proto-common"]
[workspace.dependencies]
base64 = "0.22.1"
cosmos-sdk-proto = { version = "0.26", default-features = false }
cosmwasm-schema = "1.5"
cosmwasm-std = "1.5"
cw-storage-plus = "1.2.0"
cosmwasm-schema = "2.1"
cosmwasm-std = "2.1"
cw-storage-plus = "2.0"
hex = "0.4.3"
k256 = "0.13"
lazy_static = "1.5.0"
Expand All @@ -18,5 +18,5 @@ sha3 = "0.10"
semver = { version = "1.0", features = ["serde"] }
serde = "1.0"
serde_json = "1.0"
thiserror = "1.0"
thiserror = "2.0"
vrf-rs = "0.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl QueryFactory {
#[cfg(feature = "cosmwasm")]
pub(crate) fn encode_data(data: &str) -> Bytes {
use cosmwasm_std::Binary;
Binary(data.as_bytes().to_vec())
Binary::new(data.as_bytes().to_vec())
}

pub fn create_message(self, proof: Vec<u8>) -> (crate::msgs::QueryMsg, Bytes) {
Expand Down

0 comments on commit eaea0a9

Please sign in to comment.