Skip to content

Commit aab668c

Browse files
committed
Fix tests
1 parent d468f76 commit aab668c

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

packages/std/src/ibc.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ pub enum IbcMsg {
8888
/// # use cosmwasm_std::{IbcMsg, IbcEndpoint, IbcFee, IbcTimeout, Coin, CosmosMsg, Response, Timestamp};
8989
///
9090
/// let incentivize = IbcMsg::PayPacketFee {
91-
/// src: IbcEndpoint {
92-
/// port_id: "transfer".to_string(),
93-
/// channel_id: "source-channel".to_string(),
94-
/// },
91+
/// port_id: "transfer".to_string(),
92+
/// channel_id: "source-channel".to_string(),
9593
/// fee: IbcFee {
9694
/// recv_fee: vec![Coin::new(100u32, "token")],
9795
/// ..IbcFee::default()

packages/std/src/testing/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use crate::prelude::*;
2-
use crate::query::FeeEnabledChannelResponse;
32
use crate::HashFunction;
43
use crate::{Addr, CanonicalAddr, Timestamp};
54
use alloc::collections::BTreeMap;
@@ -906,6 +905,7 @@ impl IbcQuerier {
906905
}
907906
#[cfg(feature = "cosmwasm_2_2")]
908907
IbcQuery::FeeEnabledChannel { .. } => {
908+
use crate::query::FeeEnabledChannelResponse;
909909
// for now, we always return true
910910
to_json_binary(&FeeEnabledChannelResponse::new(true)).into()
911911
}

packages/vm/src/testing/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl MockInstanceOptions<'_> {
9797
fn default_capabilities() -> HashSet<String> {
9898
#[allow(unused_mut)]
9999
let mut out = capabilities_from_csv(
100-
"iterator,staking,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,cosmwasm_1_4,cosmwasm_2_0,cosmwasm_2_1",
100+
"iterator,staking,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,cosmwasm_1_4,cosmwasm_2_0,cosmwasm_2_1,cosmwasm_2_2",
101101
);
102102
#[cfg(feature = "stargate")]
103103
out.insert("stargate".to_string());

0 commit comments

Comments
 (0)