From 8d0d8f61ed1a3218d97ed1b588f2aa44d50501e7 Mon Sep 17 00:00:00 2001 From: ppedziwiatr Date: Mon, 8 Nov 2021 11:20:02 +0100 Subject: [PATCH] chore: remove excessive logging --- src/core/modules/impl/ContractHandlerApi.ts | 2 -- tools/FromFileInteractionsLoader.ts | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/modules/impl/ContractHandlerApi.ts b/src/core/modules/impl/ContractHandlerApi.ts index 6761c3a..68e53c2 100644 --- a/src/core/modules/impl/ContractHandlerApi.ts +++ b/src/core/modules/impl/ContractHandlerApi.ts @@ -69,8 +69,6 @@ export class ContractHandlerApi implements HandlerApi { // see https://github.com/ArweaveTeam/SmartWeave/pull/92 for more details const handlerResult = deepCopy(await Promise.race([timeoutPromise, handler(stateCopy, interaction)])); - this.logger.debug('handlerResult', handlerResult); - if (handlerResult && (handlerResult.state || handlerResult.result)) { return { type: 'ok', diff --git a/tools/FromFileInteractionsLoader.ts b/tools/FromFileInteractionsLoader.ts index 2ed5236..4b499fc 100644 --- a/tools/FromFileInteractionsLoader.ts +++ b/tools/FromFileInteractionsLoader.ts @@ -3,6 +3,7 @@ import { InteractionsLoader } from '../src/core/modules/InteractionsLoader'; import { GQLEdgeInterface } from '../src/legacy/gqlResult'; import * as fs from 'fs'; import { LoggerFactory } from '../src'; +import { EvaluationOptions } from '../src/core/modules/StateEvaluator'; const brokenTransactions = [ '3O5Nvfbj72BDJT2bDC5EUm6gmkManJADsn93vKzQISU',