File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " warp-contracts" ,
3
- "version" : " 1.4.36-beta.3 " ,
3
+ "version" : " 1.4.36-beta.4 " ,
4
4
"description" : " An implementation of the SmartWeave smart contract protocol." ,
5
5
"types" : " ./lib/types/index.d.ts" ,
6
6
"main" : " ./lib/cjs/index.js" ,
Original file line number Diff line number Diff line change @@ -344,9 +344,13 @@ export abstract class DefaultStateEvaluator implements StateEvaluator {
344
344
this . logger . info ( 'Update benchmark' , updateBenchmark . elapsed ( ) ) ;
345
345
if ( validity [ missingInteraction . id ] ) {
346
346
const commitBenchmark = Benchmark . measure ( ) ;
347
- await contract . interactionState ( ) . commit ( missingInteraction , forceStateStoreToCache ) ;
348
- commitBenchmark . stop ( ) ;
349
- this . logger . info ( 'Commit benchmark' , commitBenchmark . elapsed ( ) ) ;
347
+ contract
348
+ . interactionState ( )
349
+ . commit ( missingInteraction , forceStateStoreToCache )
350
+ . then ( ( ) => {
351
+ commitBenchmark . stop ( ) ;
352
+ this . logger . info ( 'Commit benchmark' , commitBenchmark . elapsed ( ) ) ;
353
+ } ) ;
350
354
} else {
351
355
const rollbackBenchmark = Benchmark . measure ( ) ;
352
356
await contract . interactionState ( ) . rollback ( missingInteraction , forceStateStoreToCache ) ;
You can’t perform that action at this time.
0 commit comments