Skip to content

Commit

Permalink
feat(connector-fabric): endorsing peers request arg hyperledger#1122
Browse files Browse the repository at this point in the history
Makes it possible to set the endorsing peers on a transaction
when submitted through the Fabric connector.

For example these values can be passed in to the new parameter
and it will set the endorsers up accordingly prior to submitting
the transaction to the ledger:
- org1.example.com
- Org1MSP
- org2.example.com
- Org2MSP

(You only need either the org domain or the msp ID, no need
to specify both of them for it to work).

For a working example, see this test case:
packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/run-transaction-endpoint-v1.test.ts

Depends on hyperledger#1123
Depends on hyperledger#1130

Fixes hyperledger#1122

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Jul 14, 2021
1 parent 6d1de27 commit 01a4d64
Show file tree
Hide file tree
Showing 14 changed files with 5,244 additions and 10,253 deletions.
3,495 changes: 1,006 additions & 2,489 deletions examples/cactus-example-carbon-accounting-backend/package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@openzeppelin/contracts": "3.3.0",
"@openzeppelin/contracts-upgradeable": "3.4.1",
"async-exit-hook": "2.0.1",
"fabric-network": "1.4.13",
"fabric-network": "2.2.8",
"fs-extra": "9.1.0",
"openapi-types": "7.0.1",
"typescript-optional": "2.0.1",
Expand Down
Loading

0 comments on commit 01a4d64

Please sign in to comment.