testutils

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientState added in v0.23.0

func ClientState() *ibctmtypes.ClientState

ClientState creates a new client state

func PackPayloadWithVersion added in v0.33.0

func PackPayloadWithVersion(hexVersion string, payload []byte) []byte

PackPayloadWithVersion prepends the version to the payload

func RandomChannel added in v0.32.0

func RandomChannel() string

RandomChannel creates an IBC channel

func RandomCosmosChain added in v0.27.0

func RandomCosmosChain() types.CosmosChain

RandomCosmosChain creates a types.CosmosChain

func RandomFullDenom added in v0.27.0

func RandomFullDenom() string

RandomFullDenom creates a fully qualified IBC denom

func RandomIBCDenom added in v0.27.0

func RandomIBCDenom() string

RandomIBCDenom creates an ICS20 token denom ibc/{hash}

func RandomIBCPath added in v0.27.0

func RandomIBCPath() string

RandomIBCPath creates an IBC path

func RandomIBCTransfer

func RandomIBCTransfer() types.IBCTransfer

RandomIBCTransfer creates a new IBC transfer

func RandomPacket added in v0.27.0

func RandomPacket(data ibctransfertypes.FungibleTokenPacketData, sourcePort, sourceChannel, destinationPort, destinationChannel string) ibcchanneltypes.Packet

RandomPacket creates a random ICS-20 packet

Types

This section is empty.

Jump to

Keyboard shortcuts

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