Documentation ¶
Index ¶
- func ExecViaReflectContract(t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, ...) (*abci.ExecTxResult, error)
- func InstantiateReflectContract(t *testing.T, chain *ibctesting.TestChain) sdk.AccAddress
- func InstantiateStargateReflectContract(t *testing.T, chain *ibctesting.TestChain) sdk.AccAddress
- func MustExecViaAnyReflectContract[T sdkMessageType](t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, ...) *abci.ExecTxResult
- func MustExecViaReflectContract(t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, ...) *abci.ExecTxResult
- func MustExecViaStargateReflectContract[T sdkMessageType](t *testing.T, chain *ibctesting.TestChain, contractAddr sdk.AccAddress, ...) *abci.ExecTxResult
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.
Click to show internal directories.
Click to hide internal directories.