mocks

package
v0.0.0-...-faa61a0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICS4WrapperMock

type ICS4WrapperMock struct{}

func (*ICS4WrapperMock) GetAppVersion

func (m *ICS4WrapperMock) GetAppVersion(
	ctx sdk.Context,
	portID,
	channelID string,
) (string, bool)

func (*ICS4WrapperMock) SendPacket

func (m *ICS4WrapperMock) SendPacket(
	ctx sdk.Context,
	chanCap *capabilitytypes.Capability,
	sourcePort string,
	sourceChannel string,
	timeoutHeight ibcclienttypes.Height,
	timeoutTimestamp uint64,
	data []byte,
) (sequence uint64, err error)

func (*ICS4WrapperMock) WriteAcknowledgement

func (m *ICS4WrapperMock) WriteAcknowledgement(
	ctx sdk.Context,
	chanCap *capabilitytypes.Capability,
	packet exported.PacketI,
	ack exported.Acknowledgement,
) error

Jump to

Keyboard shortcuts

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