Skip to content

Commit b2294ae

Browse files
authored
Update submsg_test.go (#2340)
1 parent b77ce63 commit b2294ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x/wasm/keeper/submsg_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/CosmWasm/wasmd/x/wasm/types"
2424
)
2525

26-
// test handing of submessages, very closely related to the reflect_test
26+
// test handling of submessages, very closely related to the reflect_test
2727

2828
// Try a simple send, no gas limit to for a sanity check before trying table tests
2929
func TestDispatchSubMsgSuccessCase(t *testing.T) {
@@ -562,7 +562,7 @@ func TestInstantiateGovSubMsgAuthzPropagated(t *testing.T) {
562562
mockWasmVM := &wasmtesting.MockWasmEngine{}
563563
wasmtesting.MakeInstantiable(mockWasmVM)
564564
var instanceLevel int
565-
// mock wasvm to return new instantiate msgs with the response
565+
// mock wasmvm to return new instantiate msgs with the response
566566
mockWasmVM.InstantiateFn = func(codeID wasmvm.Checksum, env wasmvmtypes.Env, info wasmvmtypes.MessageInfo, initMsg []byte, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.ContractResult, uint64, error) {
567567
if instanceLevel == 2 {
568568
return &wasmvmtypes.ContractResult{Ok: &wasmvmtypes.Response{}}, 0, nil

0 commit comments

Comments
 (0)