Skip to content

Commit 241f1f0

Browse files
committed
Fix the IBC2 acknowledge struct
1 parent 1a082c7 commit 241f1f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/std/src/ibc2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pub struct Ibc2PacketAckMsg {
139139
pub source_client: String,
140140
pub destination_client: String,
141141
pub data: Ibc2Payload,
142-
pub acknowledgement: Vec<u8>,
142+
pub acknowledgement: Binary,
143143
pub relayer: Addr,
144144
}
145145

@@ -148,7 +148,7 @@ impl Ibc2PacketAckMsg {
148148
source_client: String,
149149
destination_client: String,
150150
data: Ibc2Payload,
151-
acknowledgement: Vec<u8>,
151+
acknowledgement: Binary,
152152
relayer: Addr,
153153
) -> Self {
154154
Self {

packages/std/src/testing/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ pub fn mock_ibc2_packet_ack(data: &impl Serialize) -> StdResult<Ibc2PacketAckMsg
683683
encoding: "json".to_string(),
684684
value: to_json_binary(data)?,
685685
},
686-
vec![],
686+
Binary::new(vec![]),
687687
Addr::unchecked("relayer"),
688688
))
689689
}

0 commit comments

Comments
 (0)