Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func (vm *VM) IBCChannelOpen(
gasMeter GasMeter,
gasLimit uint64,
deserCost types.UFraction,
) (*types.IBC3ChannelOpenResponse, uint64, error) {
) (*types.IBCChannelOpenResult, uint64, error) {
envBin, err := json.Marshal(env)
if err != nil {
return nil, 0, err
Expand All @@ -375,7 +375,7 @@ func (vm *VM) IBCChannelOpen(
if resp.Err != "" {
return nil, gasReport.UsedInternally, fmt.Errorf("%s", resp.Err)
}
return resp.Ok, gasReport.UsedInternally, nil
return &resp, gasReport.UsedInternally, nil
}

// IBCChannelConnect is available on IBC-enabled contracts and is a hook to call into
Expand Down
Loading