From fad125b972a90c17f26f890df447618bbe4a9efe Mon Sep 17 00:00:00 2001 From: Asia Date: Mon, 12 Aug 2024 16:15:26 +0200 Subject: [PATCH] v1.4.36-beta.8 --- package.json | 2 +- src/contract/states/ContractInteractionState.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 725f61b7..06b4b566 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warp-contracts", - "version": "1.4.36-beta.6", + "version": "1.4.36-beta.8", "description": "An implementation of the SmartWeave smart contract protocol.", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.js", diff --git a/src/contract/states/ContractInteractionState.ts b/src/contract/states/ContractInteractionState.ts index 01168cf0..1bcedc4e 100644 --- a/src/contract/states/ContractInteractionState.ts +++ b/src/contract/states/ContractInteractionState.ts @@ -81,13 +81,13 @@ export class ContractInteractionState implements InteractionState { } }); const doStoreJsonBenchmark = Benchmark.measure(); - await this.doStoreJson(latestState, interaction, forceStore); + this.doStoreJson(latestState, interaction, forceStore).then(); doStoreJsonBenchmark.stop(); this.logger.info('doStoreJsonBenchmark', doStoreJsonBenchmark.elapsed()); const commitKvsBenchmark = Benchmark.measure(); await this.commitKVs(); commitKvsBenchmark.stop(); - this.logger.info('commitKvs', doStoreJsonBenchmark.elapsed()); + this.logger.info('commitKvs', commitKvsBenchmark.elapsed()); } finally { this.reset(); }