ibc

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const IbcAcknowledgementErrorType = "ibc-acknowledgement-error"

Variables

This section is empty.

Functions

func EmitIBCErrorEvents

func EmitIBCErrorEvents(ctx sdk.Context, err error, errorContexts []string)

EmitIBCErrorEvents Emit and Log errors

func IsAckError

func IsAckError(acknowledgement []byte) bool

IsAckError checks an IBC acknowledgement to see if it's an error. This is a replacement for ack.Success() which is currently not working on some circumstances

func NewEmitErrorAcknowledgement

func NewEmitErrorAcknowledgement(ctx sdk.Context, err error, errorContexts ...string) channeltypes.Acknowledgement

NewEmitErrorAcknowledgement creates a new error acknowledgement after having emitted an event with the details of the error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL