Skip to content

Commit

Permalink
v1.4.45-warpy.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asiaziola committed Aug 13, 2024
1 parent b71ace9 commit 4135acd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/contract/states/ContractInteractionState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -91,7 +91,7 @@ export class ContractInteractionState implements InteractionState {

async rollback(interaction: GQLNodeInterface, forceStateStoreToCache: boolean): Promise<void> {
try {
await this.doStoreJson(this._initialJson, interaction, forceStateStoreToCache);
this.doStoreJson(this._initialJson, interaction, forceStateStoreToCache).then();
await this.rollbackKVs();
} finally {
this.reset();
Expand Down

0 comments on commit 4135acd

Please sign in to comment.