e2e

package
v0.53.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 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 added in v0.51.0

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 added in v0.51.0

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