Skip to content

Commit

Permalink
Fix go-gen test
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed May 10, 2024
1 parent cdca3da commit 72a4db5
Showing 1 changed file with 2 additions and 6 deletions.
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

0 comments on commit 72a4db5

Please sign in to comment.