Skip to content

Commit

Permalink
Merge pull request #2191 from CosmWasm/co/make-fields-pub
Browse files Browse the repository at this point in the history
Make `IbcAckCallbackMsg` and `IbcTimeoutCallbackMsg` fields public
  • Loading branch information
webmaster128 authored Jul 20, 2024
2 parents 8be9a9a + 91367a1 commit cc0d19b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ and this project adheres to

## [Unreleased]

### Fixed

- cosmwasm-std: Make fields of `IbcAckCallbackMsg` and `IbcTimeoutCallbackMsg`
public. ([#2191])

[#2191]: https://github.com/CosmWasm/cosmwasm/pull/2191

## [2.1.0] - 2024-07-11

### Fixed
Expand Down
10 changes: 5 additions & 5 deletions packages/std/src/ibc/callbacks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ pub enum IbcSourceCallbackMsg {
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[non_exhaustive]
pub struct IbcAckCallbackMsg {
acknowledgement: IbcAcknowledgement,
original_packet: IbcPacket,
relayer: Addr,
pub acknowledgement: IbcAcknowledgement,
pub original_packet: IbcPacket,
pub relayer: Addr,
}

impl IbcAckCallbackMsg {
Expand All @@ -158,8 +158,8 @@ impl IbcAckCallbackMsg {
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[non_exhaustive]
pub struct IbcTimeoutCallbackMsg {
packet: IbcPacket,
relayer: Addr,
pub packet: IbcPacket,
pub relayer: Addr,
}

impl IbcTimeoutCallbackMsg {
Expand Down

0 comments on commit cc0d19b

Please sign in to comment.