Skip to content

Commit

Permalink
del debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lyh169 committed Jul 7, 2023
1 parent 30bd58f commit fd0391c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/wasm/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,7 @@ func (k Keeper) execute(ctx sdk.Context, contractAddress sdk.WasmAddress, caller
}
}

fmt.Println("************* start wasmvm execute *************")
res, gasUsed, execErr := k.wasmVM.Execute(codeInfo.CodeHash, env, info, msg, prefixStore, cosmwasmAPI, querier, k.gasMeter(ctx), gas, costJSONDeserialization)
fmt.Println("************* end wasmvm execute *************", gasUsed)
k.consumeRuntimeGas(ctx, gasUsed)
if !ctx.IsCheckTx() && k.innertxKeeper != nil {
k.innertxKeeper.UpdateWasmInnerTx(ctx.TxBytes(), ctx.BlockHeight(), innertx.CosmosDepth, caller, contractAddress, innertx.CosmosCallType, types.ExecuteInnertxName, coins, err, k.gasRegister.FromWasmVMGas(gasUsed), string(msg))
Expand Down

0 comments on commit fd0391c

Please sign in to comment.