Skip to content

Commit fcb34f0

Browse files
committed
Add 2.1 feature gate to WriteAcknowledgement
1 parent 0172e81 commit fcb34f0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contracts/ibc-reflect/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cranelift = ["cosmwasm-vm/cranelift"]
3030

3131
[dependencies]
3232
cosmwasm-schema = { path = "../../packages/schema" }
33-
cosmwasm-std = { path = "../../packages/std", features = ["iterator", "stargate", "cosmwasm_2_0"] }
33+
cosmwasm-std = { path = "../../packages/std", features = ["iterator", "stargate", "cosmwasm_2_1"] }
3434
schemars = "0.8.12"
3535
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
3636

packages/std/src/ibc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pub enum IbcMsg {
6363
},
6464
/// Acknowledges a packet that this contract received over IBC.
6565
/// This allows acknowledging a packet that was not acknowledged yet in the `ibc_packet_receive` call.
66+
#[cfg(feature = "cosmwasm_2_1")]
6667
WriteAcknowledgement {
6768
/// Existing channel where the packet was received
6869
channel_id: String,

0 commit comments

Comments
 (0)