integration

package
v19.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GaiaAppIniter

func GaiaAppIniter() (ibctesting.TestingApp, map[string]json.RawMessage)

GaiaAppIniter implements ibctesting.AppIniter for the gaia app

func GaiaAppIniterTempDir

func GaiaAppIniterTempDir() (ibctesting.TestingApp, map[string]json.RawMessage)

Some tests require a random directory to be created when running IBC testing suite with gaia. This is due to how CosmWasmVM initializes the VM - all IBC testing apps must have different dirs so they don't conflict.

func OverrideSendMsgs

func OverrideSendMsgs(chains map[string]*ibctesting.TestChain, feeAmount sdk.Coin, gasLimit uint64)

SendMsgs() behavior must be changed since the default one uses zero fees

func SendMsgsOverride

func SendMsgsOverride(chain *ibctesting.TestChain, feeAmount sdk.Coin, gasLimit uint64, msgs ...sdk.Msg) (*abci.ExecTxResult, error)

func SignAndDeliver

func SignAndDeliver(
	tb testing.TB, txCfg client.TxConfig, app *bam.BaseApp, msgs []sdk.Msg,
	chainID string, accNums, accSeqs []uint64, expPass bool, blockTime time.Time, nextValHash []byte, feeAmount sdk.Coin, gasLimit uint64, priv ...cryptotypes.PrivKey,
) (*abci.ResponseFinalizeBlock, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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