diff --git a/package.json b/package.json index 74071bc4..a227df88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warp-contracts", - "version": "1.4.45", + "version": "1.4.45-warpy.0", "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 60bfd158..027eeaf4 100644 --- a/src/contract/states/ContractInteractionState.ts +++ b/src/contract/states/ContractInteractionState.ts @@ -77,7 +77,7 @@ export class ContractInteractionState implements InteractionState { latestState.set(k, state.cachedValue); } }); - await this.doStoreJson(latestState, interaction, forceStore); + this.doStoreJson(latestState, interaction, forceStore).then(); await this.commitKVs(); } finally { this.reset(); @@ -91,7 +91,7 @@ export class ContractInteractionState implements InteractionState { async rollback(interaction: GQLNodeInterface, forceStateStoreToCache: boolean): Promise { try { - await this.doStoreJson(this._initialJson, interaction, forceStateStoreToCache); + this.doStoreJson(this._initialJson, interaction, forceStateStoreToCache).then(); await this.rollbackKVs(); } finally { this.reset();