e2e

package
v0.53.1 Latest Latest
Warning

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

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

README

End To End Testing - e2e

Scenario tests that run against one or multiple chain instances.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecViaReflectContract

func ExecViaReflectContract(t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, msgs []wasmvmtypes.CosmosMsg) (*abci.ExecTxResult, error)

ExecViaReflectContract submit execute message to send payload to reflect contract

func InstantiateReflectContract

func InstantiateReflectContract(t *testing.T, chain *ibctesting.TestChain) sdk.AccAddress

InstantiateReflectContract stores and instantiates a 2.0 reflect contract instance.

func InstantiateStargateReflectContract

func InstantiateStargateReflectContract(t *testing.T, chain *ibctesting.TestChain) sdk.AccAddress

InstantiateStargateReflectContract stores and instantiates the reflect contract shipped with CosmWasm 1.5.3. This instance still expects the old CosmosMsg.Stargate variant instead of the new CosmosMsg.Any.

func MustExecViaAnyReflectContract

func MustExecViaAnyReflectContract[T sdkMessageType](t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, msgs ...T) *abci.ExecTxResult

func MustExecViaReflectContract

func MustExecViaReflectContract(t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, msgs ...wasmvmtypes.CosmosMsg) *abci.ExecTxResult

MustExecViaReflectContract submit execute message to send payload to reflect contract

func MustExecViaStargateReflectContract

func MustExecViaStargateReflectContract[T sdkMessageType](t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, msgs ...T) *abci.ExecTxResult

Types

This section is empty.

Jump to

Keyboard shortcuts

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