diff --git a/Cargo.lock b/Cargo.lock index 6267f39253..1abd8959d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12884,9 +12884,9 @@ dependencies = [ name = "ucs02-nft" version = "1.0.0" dependencies = [ - "cosmwasm-schema 2.1.4", - "cosmwasm-std 2.1.4", - "cw-storage-plus 2.0.0", + "cosmwasm-schema 1.5.8", + "cosmwasm-std 1.5.8", + "cw-storage-plus 1.2.0", "ethabi", "ics721", "ics721-base", diff --git a/cosmwasm/ucs00-pingpong/src/ibc.rs b/cosmwasm/ucs00-pingpong/src/ibc.rs index 3b8ee51ee8..b941d873f5 100644 --- a/cosmwasm/ucs00-pingpong/src/ibc.rs +++ b/cosmwasm/ucs00-pingpong/src/ibc.rs @@ -82,12 +82,10 @@ pub fn ibc_packet_receive( let packet = msg.packet; let ping_packet = UCS00PingPong::decode(packet.data)?; do_ibc_packet_receive(deps, env, packet.dest.channel_id, ping_packet).or_else(|err| { - Ok(IbcReceiveResponse::new() - .set_ack(ack_fail()) - .add_attributes(vec![ - attr("success", "false"), - attr("error", err.to_string()), - ])) + Ok(IbcReceiveResponse::new(ack_fail()).add_attributes(vec![ + attr("success", "false"), + attr("error", err.to_string()), + ])) }) } @@ -99,8 +97,7 @@ fn do_ibc_packet_receive( ) -> Result { let config = CONFIG.load(deps.storage)?; let ibc_packet = packet.reverse(&config, env.block.time.nanos(), dest_channel_id); - let res = IbcReceiveResponse::new() - .set_ack(ack_success()) + let res = IbcReceiveResponse::new(ack_success()) .add_message(ibc_packet) .add_attribute("action", if packet.ping { "ping" } else { "pong" }) .add_attribute("success", "true"); diff --git a/cosmwasm/ucs01-relay-api/Cargo.toml b/cosmwasm/ucs01-relay-api/Cargo.toml index 247cd4aeca..7aed224560 100644 --- a/cosmwasm/ucs01-relay-api/Cargo.toml +++ b/cosmwasm/ucs01-relay-api/Cargo.toml @@ -8,7 +8,7 @@ workspace = true [dependencies] cosmwasm-schema = { workspace = true } -cosmwasm-std = { workspace = true, features = ["stargate"] } +cosmwasm-std = { workspace = true, features = ["stargate", "std"] } ethabi = { workspace = true } go-parse-duration = { workspace = true } prost = { workspace = true } diff --git a/cosmwasm/ucs02-nft/Cargo.toml b/cosmwasm/ucs02-nft/Cargo.toml index db5211bc3f..6700835642 100644 --- a/cosmwasm/ucs02-nft/Cargo.toml +++ b/cosmwasm/ucs02-nft/Cargo.toml @@ -16,9 +16,9 @@ crate-type = ["cdylib", "rlib"] library = [] [dependencies] -cosmwasm-schema = { workspace = true } -cosmwasm-std = { workspace = true, features = ["stargate"] } -cw-storage-plus = { workspace = true } +cosmwasm-schema = { version = "1.5" } +cosmwasm-std = { version = "1.5.4", features = ["stargate"] } +cw-storage-plus = { version = "1.2" } ethabi = { workspace = true } ics721 = { git = "https://github.com/hussein-aitlahcen/cw-ics721", rev = "dd5b7add6fdc81e633084031f8512e5e909dd42a" } ics721-base = { git = "https://github.com/hussein-aitlahcen/cw-ics721", rev = "dd5b7add6fdc81e633084031f8512e5e909dd42a", features = ["library"] } diff --git a/cosmwasm/union-ibc/light-clients/tendermint/Cargo.toml b/cosmwasm/union-ibc/light-clients/tendermint/Cargo.toml index 34d2111e02..981c7de8f9 100644 --- a/cosmwasm/union-ibc/light-clients/tendermint/Cargo.toml +++ b/cosmwasm/union-ibc/light-clients/tendermint/Cargo.toml @@ -17,7 +17,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] bytes = { workspace = true } -cosmwasm-std = { workspace = true, features = ["abort", "cosmwasm_2_1"] } +cosmwasm-std = { workspace = true, features = ["abort", "cosmwasm_2_1", "iterator"] } hex = { workspace = true } prost = { workspace = true } protos = { workspace = true, features = ["proto_full", "std"] } diff --git a/cosmwasm/union-ibc/light-clients/tendermint/src/storage.rs b/cosmwasm/union-ibc/light-clients/tendermint/src/storage.rs index 589e5b6e51..df8b20f206 100644 --- a/cosmwasm/union-ibc/light-clients/tendermint/src/storage.rs +++ b/cosmwasm/union-ibc/light-clients/tendermint/src/storage.rs @@ -1,4 +1,4 @@ -use cosmwasm_std::{CustomQuery, Deps, DepsMut}; +use cosmwasm_std::{CustomQuery, Deps, DepsMut, Storage}; use unionlabs::{google::protobuf::timestamp::Timestamp, ibc::core::client::height::Height}; pub const CONSENSUS_STATE_ITER_KEY_PREFIX: &str = "iter_cons";