Skip to content

Commit

Permalink
Update to cosmwasm 0.15.0-alpha3
Browse files Browse the repository at this point in the history
  • Loading branch information
uint committed Jun 23, 2021
1 parent 78055c0 commit eaf4a2a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func (vm *VM) IBCPacketReceive(
func (vm *VM) IBCPacketAck(
checksum Checksum,
env types.Env,
ack types.IBCAcknowledgement,
ack types.IBCAcknowledgementWithPacket,
store KVStore,
goapi GoAPI,
querier Querier,
Expand Down
16 changes: 8 additions & 8 deletions libwasmvm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions libwasmvm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ default = []
backtraces = []

[dependencies]
cosmwasm-std = { git = "https://github.com/CosmWasm/cosmwasm", rev = "v0.15.0-alpha2", features = ["iterator", "staking", "stargate"] }
cosmwasm-vm = { git = "https://github.com/CosmWasm/cosmwasm", rev = "v0.15.0-alpha2", features = ["iterator", "staking", "stargate"] }
cosmwasm-std = { git = "https://github.com/CosmWasm/cosmwasm", rev = "v0.15.0-alpha3", features = ["iterator", "staking", "stargate"] }
cosmwasm-vm = { git = "https://github.com/CosmWasm/cosmwasm", rev = "v0.15.0-alpha3", features = ["iterator", "staking", "stargate"] }
errno = "0.2"
serde_json = "1.0"
thiserror = "1.0"
Expand Down
10 changes: 7 additions & 3 deletions types/ibc.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ type IBCTimeout struct {
Timestamp uint64 `json:"timestamp,string,omitempty"`
}

type IBCAcknowledgement struct {
Data []byte `json:"data"`
}

type IBCPacket struct {
Data []byte `json:"data"`
Src IBCEndpoint `json:"src"`
Expand All @@ -56,9 +60,9 @@ type IBCPacket struct {
Timeout IBCTimeout `json:"timeout"`
}

type IBCAcknowledgement struct {
Acknowledgement []byte `json:"acknowledgement"`
OriginalPacket IBCPacket `json:"original_packet"`
type IBCAcknowledgementWithPacket struct {
Acknowledgement IBCAcknowledgement `json:"acknowledgement"`
OriginalPacket IBCPacket `json:"original_packet"`
}

// IBCChannelOpenResult is the raw response from the ibc_channel_open call.
Expand Down

0 comments on commit eaf4a2a

Please sign in to comment.