@hyperledger/caliper-fabric
Advanced tools
Comparing version 0.3.1-unstable-20200409093326 to 0.3.1-unstable-20200409132324
@@ -24,3 +24,2 @@ /* | ||
const RegistrarHelper = require('./registrarHelper'); | ||
const uuid = require('uuid/v1'); | ||
@@ -449,3 +448,4 @@ const EventStrategies = { | ||
// Build the Caliper TxStatus, this is a reduced item when compared to the low level API capabilities | ||
const invokeStatus = new TxStatus(uuid()); | ||
// - TxID is not available until after transaction submit/evaluate and must be set at that point | ||
const invokeStatus = new TxStatus(); | ||
@@ -494,2 +494,3 @@ // Add transient data if present | ||
invokeStatus.SetStatusSuccess(); | ||
invokeStatus.SetID(transaction.getTransactionId()); | ||
return invokeStatus; | ||
@@ -500,2 +501,3 @@ } catch (err) { | ||
invokeStatus.result = []; | ||
invokeStatus.SetID(transaction.getTransactionId()); | ||
return invokeStatus; | ||
@@ -502,0 +504,0 @@ } |
{ | ||
"name": "@hyperledger/caliper-fabric", | ||
"description": "Hyperledger Fabric adaptor for Caliper, enabling the running of performance benchmarks that interact with Fabric", | ||
"version": "0.3.1-unstable-20200409093326", | ||
"version": "0.3.1-unstable-20200409132324", | ||
"repository": { | ||
@@ -26,3 +26,3 @@ "type": "git", | ||
"@hapi/joi": "^15.1.1", | ||
"@hyperledger/caliper-core": "0.3.1-unstable-20200409093326", | ||
"@hyperledger/caliper-core": "0.3.1-unstable-20200409132324", | ||
"semver": "7.1.1" | ||
@@ -29,0 +29,0 @@ }, |
601135
10757
+ Added@hyperledger/caliper-core@0.3.1-unstable-20200409132324(transitive)
- Removed@hyperledger/caliper-core@0.3.1-unstable-20200409093326(transitive)
Updated@hyperledger/caliper-core@0.3.1-unstable-20200409132324