feat: wasm access to SmartWeave env, feat: proper logging from WASM

This commit is contained in:
ppedziwiatr
2022-02-19 14:13:22 +01:00
committed by Piotr Pędziwiatr
parent ad1bed08f6
commit 20525ed66a
4 changed files with 14 additions and 15 deletions

View File

@@ -34,9 +34,6 @@ export class WasmContractHandlerApi<State> implements HandlerApi<State> {
currentResult: EvalStateResult<State>,
interactionData: InteractionData<Input>
): Promise<InteractionResult<State, Result>> {
const contractLogger = LoggerFactory.INST.create('Contract');
try {
const {interaction, interactionTx, currentTx} = interactionData;