Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async Acknowledgement #2130

Merged
merged 12 commits into from
Jun 13, 2024
Prev Previous commit
Next Next commit
Fix go-gen test
  • Loading branch information
chipshort committed Jun 12, 2024
commit 0172e8151ee139f2cb1f58d66366613eeb6b9c00
8 changes: 2 additions & 6 deletions packages/go-gen/tests/cosmwasm_std__IbcMsg.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type SendPacketMsg struct {
}
type WriteAcknowledgementMsg struct {
// The acknowledgement to send back
Ack IBCFullAcknowledgement `json:"ack"`
Ack IBCAcknowledgement `json:"ack"`
// Existing channel where the packet was received
ChannelID string `json:"channel_id"`
// Sequence number of the packet that was received
Expand All @@ -35,12 +35,8 @@ type Coin struct {
Denom string `json:"denom"` // type, eg. "ATOM"
}

// The acknowledgement written by the module on the destination chain. It is different from the [`crate::IbcAcknowledgement`] as it can be unsuccessful.
type IBCFullAcknowledgement struct {
// The acknowledgement data returned by the module.
type IBCAcknowledgement struct {
Data []byte `json:"data"`
// Whether the acknowledgement was successful or not.
Success bool `json:"success"`
}

// IBCTimeout is the timeout for an IBC packet. At least one of block and timestamp is required.
Expand Down