Skip to content

Update carbon-tracker.md #862

Update carbon-tracker.md

Update carbon-tracker.md #862

GitHub Actions / Test Report succeeded Aug 1, 2023 in 0s

Test Report ✅

Tests passed successfully

✅ test-results.json

65 tests were completed in 11s with 65 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
fabric/typescript_app/tests/blockchain-gateway/datalock.test.ts 6✅ 1s
fabric/typescript_app/tests/blockchain-gateway/emissionsChannel.test.ts 24✅ 5s
fabric/typescript_app/tests/blockchain-gateway/fabric-registry.test.ts 11✅ 1s
fabric/typescript_app/tests/blockchain-gateway/netEmissionsTokenNetwork.test.ts 5✅ 951ms
fabric/typescript_app/tests/blockchain-gateway/signer.test.ts 10✅ 1ms
fabric/typescript_app/tests/e2e.test.ts 9✅ 1s

✅ fabric/typescript_app/tests/blockchain-gateway/datalock.test.ts

DataLockGateway vault
  ✅ endTx
  ✅ getTxDetails
  ✅ should update tx stage with lock
  ✅ should update tx stage with storage
  ✅ should update tx stage with un-lock
  ✅ startTx

✅ fabric/typescript_app/tests/blockchain-gateway/emissionsChannel.test.ts

EmissionsDataGateway vault
  ✅ getAllEmissionsDataByDateRange throws
  ✅ getEmissionData throws
  ✅ getEmissionsRecords throws
  ✅ record emissions throws
  ✅ should fail the MD5 checksum on tampering with the document
  ✅ should get emissions record
  ✅ should get emissions records
  ✅ should get emissions records by date range
  ✅ should record emissions data
  ✅ should setup fabric tx caller
  ✅ should store the hashed partyId
  ✅ should update token if for minted records
  ✅ updateEmissionsMintedToken throws
EmissionsDataGateway web-socket
  ✅ getEmissionData throws
  ✅ record emissions throws
  ✅ should fail the MD5 checksum on tampering with the document
  ✅ should get emissions record
  ✅ should get emissions records
  ✅ should get emissions records by date range
  ✅ should record emissions data
  ✅ should setup fabric tx caller
  ✅ should store the hashed partyId
  ✅ should update token if for minted records
  ✅ updateEmissionsMintedToken throws

✅ fabric/typescript_app/tests/blockchain-gateway/fabric-registry.test.ts

fabric-registry vault
  ✅ enroll throws if wrong secret passed
  ✅ enroll throws if wrong token is passed
  ✅ register throw if wrong token is passed
  ✅ should enroll admin
  ✅ should register a client
fabric-registry web-socket
  ✅ enroll throws if wrong secret passed
  ✅ enroll throws if wrong session id is passed
  ✅ enroll throws if wrong signature is passed
  ✅ register throw if wrong token is passed
  ✅ should enroll admin
  ✅ should register a client

✅ fabric/typescript_app/tests/blockchain-gateway/netEmissionsTokenNetwork.test.ts

EthNetEmissionsTokenGateway kv
  ✅ should issue emission token
  ✅ throws
EthNetEmissionsTokenGateway plain
  ✅ should issue emission token
  ✅ should register consumer
  ✅ throws

✅ fabric/typescript_app/tests/blockchain-gateway/signer.test.ts

Signer
  ✅ should create signer
  ✅ should return eth signer for type=plain
  ✅ should return fabric signer type = vault
  ✅ should return fabric signer type = web-socket
  ✅ throw for non supporting eth identity
  ✅ throw for non supporting hlf identity
  ✅ throws if eth address || private is not provided
  ✅ throws if web-socket or vault API keys are not provided
  ✅ throws if ws session id is not provided
  ✅ throws if ws session id signature is not provided

✅ fabric/typescript_app/tests/e2e.test.ts

E2E-vault
  ✅ should enroll a client
  ✅ should record an emission
  ✅ should record audited emission token
  ✅ should register a client
E2E-ws
  ✅ should create a web-socket session ID
  ✅ should enroll a client
  ✅ should record an emission
  ✅ should record audited emission token
  ✅ should register a client