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(); }