From ba0a098ca6b35f9bb2d9d387f1aeadcfd906358d Mon Sep 17 00:00:00 2001 From: Gari Singh Date: Thu, 31 Aug 2017 05:18:03 -0400 Subject: [PATCH] FAB-5995 Update samples to work with v1.0.2 basic network: - update docker-compose.yaml to use v1.0.2 - regenerate artifacts fabcar: - update creds chaincode-docker-devmode: - renegerate channel tx and genesis block balance-transfer: - update docker-compose.yaml - update readme to use download link - regenerate channel artifacts Change-Id: I7d52f1afce51ea9e1b115fa287d281af95d9ad85 Signed-off-by: Gari Singh --- balance-transfer/README.md | 3 +- balance-transfer/artifacts/base.yaml | 2 +- .../artifacts/channel/genesis.block | Bin 9072 -> 9089 bytes .../artifacts/channel/mychannel.tx | Bin 369 -> 394 bytes .../artifacts/docker-compose.yaml | 6 ++-- basic-network/config/channel.tx | Bin 369 -> 368 bytes basic-network/config/genesis.block | Bin 9072 -> 6360 bytes ...0cdb202c4943604f95c72ee0ff839d3ec300719_sk | 5 ---- ...da6f3b6b74925ed0d23061af4899409ba46ae6a_sk | 5 ++++ .../example.com/ca/ca.example.com-cert.pem | 14 ++++----- .../msp/admincerts/Admin@example.com-cert.pem | 22 +++++++------- .../msp/cacerts/ca.example.com-cert.pem | 14 ++++----- .../msp/tlscacerts/tlsca.example.com-cert.pem | 24 ++++++++-------- .../msp/admincerts/Admin@example.com-cert.pem | 22 +++++++------- .../msp/cacerts/ca.example.com-cert.pem | 14 ++++----- ...8d37f5a951fc4cd1162a47aad8accf9ddd10291_sk | 5 ---- ...558dc7859c4fe458e262e674a6c23f242ea33d1_sk | 5 ++++ .../signcerts/orderer.example.com-cert.pem | 15 +++++----- .../msp/tlscacerts/tlsca.example.com-cert.pem | 24 ++++++++-------- .../orderers/orderer.example.com/tls/ca.crt | 24 ++++++++-------- .../orderer.example.com/tls/server.crt | 26 ++++++++--------- .../orderer.example.com/tls/server.key | 6 ++-- ...77809902713b8e321a5ab55ecc104dafc2eec49_sk | 5 ---- ...a8d0d7672785b685cb503bcb95e53dcc279fba7_sk | 5 ++++ .../tlsca/tlsca.example.com-cert.pem | 24 ++++++++-------- .../msp/admincerts/Admin@example.com-cert.pem | 22 +++++++------- .../msp/cacerts/ca.example.com-cert.pem | 14 ++++----- ...09d6165268fba153211af1281f00d45f54b1022_sk | 5 ++++ ...f84c2f241a7a8c87df0544fc1dc08baf7832aa0_sk | 5 ---- .../msp/signcerts/Admin@example.com-cert.pem | 22 +++++++------- .../msp/tlscacerts/tlsca.example.com-cert.pem | 24 ++++++++-------- .../users/Admin@example.com/tls/ca.crt | 24 ++++++++-------- .../users/Admin@example.com/tls/server.crt | 14 ++++----- .../users/Admin@example.com/tls/server.key | 6 ++-- ...b8ef6f4c1c91d9e6e577c45c33163609fe40011_sk | 5 ---- ...01851d14504d31aad1b2ddddbac6a57365e497c_sk | 5 ++++ .../ca/ca.org1.example.com-cert.pem | 26 ++++++++--------- .../ca/org1.example.com-cert.pem | 14 ++++----- .../Admin@org1.example.com-cert.pem | 16 +++++------ .../msp/cacerts/ca.org1.example.com-cert.pem | 26 ++++++++--------- .../tlsca.org1.example.com-cert.pem | 26 ++++++++--------- .../Admin@org1.example.com-cert.pem | 16 +++++------ .../msp/cacerts/ca.org1.example.com-cert.pem | 26 ++++++++--------- ...80e5cce249beaab27b70c741bb0e2554355957e_sk | 5 ---- ...72a0ccfbfb42727480fb8c8d0223af321a7893d_sk | 5 ++++ .../signcerts/peer0.org1.example.com-cert.pem | 24 ++++++++-------- .../tlsca.org1.example.com-cert.pem | 26 ++++++++--------- .../peers/peer0.org1.example.com/tls/ca.crt | 26 ++++++++--------- .../peer0.org1.example.com/tls/server.crt | 27 +++++++++--------- .../peer0.org1.example.com/tls/server.key | 6 ++-- ...b974d857933706737d00d04bf65f74e3976f9f8_sk | 5 ---- ...3c8d2c591f745d1babc4d6d9cce0a1acc168acb_sk | 5 ++++ .../tlsca/tlsca.org1.example.com-cert.pem | 26 ++++++++--------- .../Admin@org1.example.com-cert.pem | 16 +++++------ .../msp/cacerts/ca.org1.example.com-cert.pem | 26 ++++++++--------- ...304edecc020fe63f41a6db109f1e227cc1cb2a8_sk | 5 ---- ...91e62130f8008a0bf996e4e4b84cd097a747fec_sk | 5 ++++ .../signcerts/Admin@org1.example.com-cert.pem | 16 +++++------ .../tlsca.org1.example.com-cert.pem | 26 ++++++++--------- .../users/Admin@org1.example.com/tls/ca.crt | 26 ++++++++--------- .../Admin@org1.example.com/tls/server.crt | 24 ++++++++-------- .../Admin@org1.example.com/tls/server.key | 6 ++-- .../User1@org1.example.com-cert.pem | 24 ++++++++-------- .../msp/cacerts/ca.org1.example.com-cert.pem | 26 ++++++++--------- ...780fc84acc9752ef30ebc16be1f4666c02b614b_sk | 5 ---- ...7c97e90f3952e379497dc55eb903f31b50abc83_sk | 5 ++++ .../signcerts/User1@org1.example.com-cert.pem | 24 ++++++++-------- .../tlsca.org1.example.com-cert.pem | 26 ++++++++--------- .../users/User1@org1.example.com/tls/ca.crt | 26 ++++++++--------- .../User1@org1.example.com/tls/server.crt | 16 +++++------ .../User1@org1.example.com/tls/server.key | 6 ++-- ...d2c1375df27360d7227f48cdc2f80e505678005_sk | 5 ---- .../ca/ca.org2.example.com-cert.pem | 15 ---------- .../Admin@org2.example.com-cert.pem | 14 --------- .../msp/cacerts/ca.org2.example.com-cert.pem | 15 ---------- .../tlsca.org2.example.com-cert.pem | 15 ---------- .../Admin@org2.example.com-cert.pem | 14 --------- .../msp/cacerts/ca.org2.example.com-cert.pem | 15 ---------- ...6877666bc8f365746f9329d6dd8a5f54e53e2ab_sk | 5 ---- .../signcerts/peer0.org2.example.com-cert.pem | 14 --------- .../tlsca.org2.example.com-cert.pem | 15 ---------- .../peers/peer0.org2.example.com/tls/ca.crt | 15 ---------- .../peer0.org2.example.com/tls/server.crt | 16 ----------- .../peer0.org2.example.com/tls/server.key | 5 ---- ...6062e77d06ac4963c7b7ae459284dfbd3eb5aac_sk | 5 ---- .../tlsca/tlsca.org2.example.com-cert.pem | 15 ---------- .../Admin@org2.example.com-cert.pem | 14 --------- .../msp/cacerts/ca.org2.example.com-cert.pem | 15 ---------- ...fa477bc0f183e1f5f398c8281d0ce7c2c75a076_sk | 5 ---- .../signcerts/Admin@org2.example.com-cert.pem | 14 --------- .../tlsca.org2.example.com-cert.pem | 15 ---------- .../users/Admin@org2.example.com/tls/ca.crt | 15 ---------- .../Admin@org2.example.com/tls/server.crt | 14 --------- .../Admin@org2.example.com/tls/server.key | 5 ---- .../User1@org2.example.com-cert.pem | 14 --------- .../msp/cacerts/ca.org2.example.com-cert.pem | 15 ---------- ...0ff9aefa47c565678f100ca8673db249ee785ac_sk | 5 ---- .../signcerts/User1@org2.example.com-cert.pem | 14 --------- .../tlsca.org2.example.com-cert.pem | 15 ---------- .../users/User1@org2.example.com/tls/ca.crt | 15 ---------- .../User1@org2.example.com/tls/server.crt | 14 --------- .../User1@org2.example.com/tls/server.key | 5 ---- basic-network/docker-compose.yml | 10 +++---- chaincode-docker-devmode/myc.tx | Bin 334 -> 360 bytes chaincode-docker-devmode/orderer.block | Bin 6875 -> 8668 bytes ...4edecc020fe63f41a6db109f1e227cc1cb2a8-priv | 5 ---- ...04edecc020fe63f41a6db109f1e227cc1cb2a8-pub | 4 --- fabcar/creds/PeerAdmin | 2 +- ...e62130f8008a0bf996e4e4b84cd097a747fec-priv | 5 ++++ ...1e62130f8008a0bf996e4e4b84cd097a747fec-pub | 14 +++++++++ fabcar/invoke.js | 4 +-- fabcar/package.json | 4 +-- 112 files changed, 542 insertions(+), 912 deletions(-) delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/ca/0d46ccf0e9436c1bc3b6e2bf80cdb202c4943604f95c72ee0ff839d3ec300719_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/ca/a0606a4a860a1e31c90a23788da6f3b6b74925ed0d23061af4899409ba46ae6a_sk delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/2fb065725bf1b7e2811c0e8ca8d37f5a951fc4cd1162a47aad8accf9ddd10291_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/4d2f776c0fef8eac3f460a7c3558dc7859c4fe458e262e674a6c23f242ea33d1_sk delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/tlsca/6a211ed18880b4db3867831c977809902713b8e321a5ab55ecc104dafc2eec49_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/tlsca/8d2186556c85d515e737d0c0da8d0d7672785b685cb503bcb95e53dcc279fba7_sk create mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/1deeab5433fa6e5f045eb763109d6165268fba153211af1281f00d45f54b1022_sk delete mode 100755 basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/db670eed8487a93c35ae448b9f84c2f241a7a8c87df0544fc1dc08baf7832aa0_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/ca/0e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/ca/4239aa0dcd76daeeb8ba0cda701851d14504d31aad1b2ddddbac6a57365e497c_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/27db82c96b1482480baa1c75f80e5cce249beaab27b70c741bb0e2554355957e_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/46be1d569fe68f33e517c9e0072a0ccfbfb42727480fb8c8d0223af321a7893d_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/tlsca/945092d936f5838c5a6f6484db974d857933706737d00d04bf65f74e3976f9f8_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/tlsca/ed3fd82393e95fc2c475afc113c8d2c591f745d1babc4d6d9cce0a1acc168acb_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/73cdc0072c7203f1ec512232c780fc84acc9752ef30ebc16be1f4666c02b614b_sk create mode 100755 basic-network/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/c75bd6911aca808941c3557ee7c97e90f3952e379497dc55eb903f31b50abc83_sk delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/ca/a7d47efa46a6ba07730c850fed2c1375df27360d7227f48cdc2f80e505678005_sk delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/msp/admincerts/Admin@org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/admincerts/Admin@org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/keystore/0d9f72608133ee627b570b6af6877666bc8f365746f9329d6dd8a5f54e53e2ab_sk delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts/peer0.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.crt delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/tlsca/7bb8ba3ff11d3c8cf592bd4326062e77d06ac4963c7b7ae459284dfbd3eb5aac_sk delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/admincerts/Admin@org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/1995b11d6573ed3be52fcd7a5fa477bc0f183e1f5f398c8281d0ce7c2c75a076_sk delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/ca.crt delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.crt delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.key delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/admincerts/User1@org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/585175c83bac91fc0c1ce8f9d0ff9aefa47c565678f100ca8673db249ee785ac_sk delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/signcerts/User1@org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/ca.crt delete mode 100644 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/server.crt delete mode 100755 basic-network/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/server.key delete mode 100644 fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-priv delete mode 100644 fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-pub create mode 100755 fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-priv create mode 100644 fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-pub diff --git a/balance-transfer/README.md b/balance-transfer/README.md index 5db95e4d7b..5f37222e2c 100644 --- a/balance-transfer/README.md +++ b/balance-transfer/README.md @@ -8,11 +8,10 @@ A sample Node.js app to demonstrate **__fabric-client__** & **__fabric-ca-client * [Docker Compose](https://docs.docker.com/compose/overview/) - v1.8 or higher * [Git client](https://git-scm.com/downloads) - needed for clone commands * **Node.js** v6.9.0 - 6.10.0 ( __Node v7+ is not supported__ ) -* Download docker images +* [Download Docker images](http://hyperledger-fabric.readthedocs.io/en/latest/samples.html#binaries) ``` cd fabric-samples/balance-transfer/ -docker-compose -f artifacts/docker-compose.yaml pull ``` Once you have completed the above setup, you will have provisioned a local network with the following docker container configuration: diff --git a/balance-transfer/artifacts/base.yaml b/balance-transfer/artifacts/base.yaml index b4e6694b4e..3d15863ab4 100644 --- a/balance-transfer/artifacts/base.yaml +++ b/balance-transfer/artifacts/base.yaml @@ -6,7 +6,7 @@ version: '2' services: peer-base: - image: hyperledger/fabric-peer:x86_64-1.0.0 + image: hyperledger/fabric-peer environment: - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock # the following setting starts chaincode containers on the same diff --git a/balance-transfer/artifacts/channel/genesis.block b/balance-transfer/artifacts/channel/genesis.block index c818a28b82ab536d897f64f69ea5ff61f9a8c07f..07b9c8d71e844850027ec45d2b210cc6db46fad6 100644 GIT binary patch delta 364 zcmez1*63c(r6i>=~n8#dY^Jw>gnk=z1VGhrHfMLJP6##qa<{}jq9u% z*C{uyO0H-QMgc}CHjaNM)}Lin;x0)oE=kTv%*@M7(Q+_IGqp^!NHMW6Pc%+3Ff=eo zG%!grNiw%IPclw1Og2g}PfklrOfj)EOG!3NPEAX+Fpf1hF*7ttH8C+VPPH%*k`j{G z)cpR-2BRsi+a@hmo$DLw=%y8Ip%!z?TIh@`*GX5QW3ECIb-1{l^Ye=Hi%K#}bBl!< zb%eHQa|r||<`(3nA|!+sYHx1jX5*T?Q#5h1JGa{8+oC)iT5OIfxtV#z8}G1lO@1M& zGTD;bVe(c{waK~MB9oQGVnlVhpelrvg*Z4Eg;<1`gcv4!iy3X+B38;ZIZM%PvWBAL rWECZq$)A)wC;wE`X4IN|SV@0!fKt_DF=Y>+sEQEG7AX!c1_%TIS%-F# delta 366 zcmZp4|KL{7r6i?raq}{dEsJhO&ae_*F#R#tn-BS`zkaCvo6mW@{MzoLZRJAy-MIF+ zaqV>Ds^p61U=(1KV&hmbb;~JMCGL{c;*#Wy#LT?R6fFlcW1}=PLyI({B;%wsqg2Zj z!&Ea16BBdO#H7@;WP?;=OCu8lQ-c%>6U#KyM8ibWq_kKQi{xaJw8W$o6EibQAt@n= zawiAxoE^4*p7G~AaM)nqe=@oyFC$5Es?cs%t{tvITU~`3bhx;k^Ye=Hi%K#}bBl#O zXbWxA<`M`_%q_@CMMwxO)ZSdn&CWIXK9}lbJ~5uj&7!FsT5OIfxtV#z8}G1jP2MG{ zG&z%-XYvbCH83r}Z9G{@EJa*~3#v*;NQi@jQHVu|Nr*v;ZE~EL{N|%#rCgI66&)s9 pD!Na8s#r2vU0H=uYjTrPg4*f69xQPRx)udo0uF|f1FWh0V5Z;V?jYqW^!Ul zW`3T~1V#=79Oi3*&77`cY&<$`k?BPYSnI$L&g%^PZpo%8DFzNyTF+ecm delta 169 zcmeBT{>UW2^^S=vk}I5pNs5hQ{nRa|CJOkoOkm>botPX~zm8F;oso;%v7jI)GdZy& zGe1wLf`d_rn~UAQDBaLEI6#O2$}s|Sl%%-W98+>L^NNK8g!nj^g}7jR0Vbdvdw5Z1 iNorBC5Wf&FP?8fa0FnzzO-wCYFh5 zNogj@7M7M~X-SqwCPwCosV0W0CT1pm3tUBv&{GlN1}r`l(w^O%(9An83u<%f!W*TbZ1Zn3tEDBjhin$;Ith zP>_?EoLG{XpC=?G#LdO-UzBd>8yq0S0Oc4>?9!@V$0*d!h^n}PgAuE8uwEr8E;h%M z+|0aUAps#i4rU=P7+-)1D90XNlv$EmR4l|V#0!+IMxP~?JAdBGxDP$MVy Gs{jD}(mBfj diff --git a/basic-network/config/genesis.block b/basic-network/config/genesis.block index c818a28b82ab536d897f64f69ea5ff61f9a8c07f..5c47c782b8423470c9729fe206947b425b353893 100644 GIT binary patch delta 2631 zcma)-ORU^h9mac;-t=C#Rnuwiy-7$=a+|a$H`Ul4+cN_ca{L%S#vaepV;e=__l##e zo*CO?k5x6zk_~EcyFe7R6%`;rLLySt1q(KSM1=|q9s)!wp{@XdSOEgT+|mX%sOU&X z$NzJ@IN$kw-~UgIUm&-j!}FJZx%>R|^&hKrag4e&G(W`;*d_Vd!PJ^d-3T`+ewsDx5{(G9D*ERQmOP>A8LA zbk7LpQ|CV$rN8eLx9`8U^=9$p#mkR(X^H~Q!UHK!0*~(keo{ub4xxHHJSVVrCtVFd zB`jXKH`!u}gYA!O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mode/orderer.block b/chaincode-docker-devmode/orderer.block index 1546cfdb6528942243f24611277ff6c63b5c3594..f98d441290ceb49d0d92375c722534bc830d235b 100644 GIT binary patch delta 454 zcmca@ddIn*OG!%M;qHo;Ct8jtzu^##xWc}X`Sk?bJHB3!RGEcEIN=`9JGOafQ>L$#=PPIFlZenNQ?BKv zTuV&3D!HOL7zG%m*f^dyE6R7l5Ap}lx$%rBqbzq zE;}%($6*Qo-|xA`#nB5gBp)4_{vm;Nx zLcwFQhJsG07R;2>5?tKQ`FX|pMJ1V~xy3@eC4?F!xC9_BLP!X`5hu>2lYh%uYmwwg zE1)A&#AV?A5)$G7`iDh`Nr*v;ZL*?({A6}T&B-Sf>?a#28cuFibOm}sW%4OSApihC BnVkRt diff --git a/fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-priv b/fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-priv deleted file mode 100644 index 1c78a39878..0000000000 --- a/fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-priv +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgNmsvQQm4nwrxOKFX -UNfLPgjNm+FtYu3vb6OZ9q/5GbChRANCAAQKZvNQOjMissqOnc4DMi1IbubsWXDv -qtPxU7wTqi2ULDEq0FGQ+lkvueisLc2yPITff0nk7ilcKqEgClDJFGxG ------END PRIVATE KEY----- diff --git a/fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-pub b/fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-pub deleted file mode 100644 index b35b0276ed..0000000000 --- a/fabcar/creds/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8-pub +++ /dev/null @@ -1,4 +0,0 @@ ------BEGIN PUBLIC KEY----- -MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECmbzUDozIrLKjp3OAzItSG7m7Flw -76rT8VO8E6otlCwxKtBRkPpZL7norC3NsjyE339J5O4pXCqhIApQyRRsRg== ------END PUBLIC KEY----- diff --git a/fabcar/creds/PeerAdmin b/fabcar/creds/PeerAdmin index f348397b0f..47b48be79c 100644 --- a/fabcar/creds/PeerAdmin +++ b/fabcar/creds/PeerAdmin @@ -1 +1 @@ -{"name":"PeerAdmin","mspid":"Org1MSP","roles":null,"affiliation":"","enrollmentSecret":"","enrollment":{"signingIdentity":"5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8","identity":{"certificate":"-----BEGIN CERTIFICATE-----\nMIICGTCCAb+gAwIBAgIQKKKdQSzsDoUYn/LPAuRWGTAKBggqhkjOPQQDAjBzMQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu\nb3JnMS5leGFtcGxlLmNvbTAeFw0xNzA2MjMxMjMzMTlaFw0yNzA2MjExMjMzMTla\nMFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T\nYW4gRnJhbmNpc2NvMR8wHQYDVQQDDBZBZG1pbkBvcmcxLmV4YW1wbGUuY29tMFkw\nEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECmbzUDozIrLKjp3OAzItSG7m7Flw76rT\n8VO8E6otlCwxKtBRkPpZL7norC3NsjyE339J5O4pXCqhIApQyRRsRqNNMEswDgYD\nVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgDnKSJOiz8xeE\nyKk8W4729MHJHZ5uV3xFwzFjYJ/kABEwCgYIKoZIzj0EAwIDSAAwRQIhALT02pc/\nyfE/4wUJfUBQ32GifUEh8JktAXzL/73S0rjYAiACNSp6zAQBX9SBxTOGMk4cGGAy\nCKqf8052NVUs2CvPzA==\n-----END CERTIFICATE-----\n"}}} \ No newline at end of file +{"name":"PeerAdmin","mspid":"Org1MSP","roles":null,"affiliation":"","enrollmentSecret":"","enrollment":{"signingIdentity":"cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec","identity":{"certificate":"-----BEGIN CERTIFICATE-----\nMIICGDCCAb+gAwIBAgIQFSxnLAGsu04zrFkAEwzn6zAKBggqhkjOPQQDAjBzMQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu\nb3JnMS5leGFtcGxlLmNvbTAeFw0xNzA4MzEwOTE0MzJaFw0yNzA4MjkwOTE0MzJa\nMFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T\nYW4gRnJhbmNpc2NvMR8wHQYDVQQDDBZBZG1pbkBvcmcxLmV4YW1wbGUuY29tMFkw\nEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEV1dfmKxsFKWo7o6DNBIaIVebCCPAM9C/\nsLBt4pJRre9pWE987DjXZoZ3glc4+DoPMtTmBRqbPVwYcUvpbYY8p6NNMEswDgYD\nVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgQjmqDc122u64\nugzacBhR0UUE0xqtGy3d26xqVzZeSXwwCgYIKoZIzj0EAwIDRwAwRAIgXMy26AEU\n/GUMPfCMs/nQjQME1ZxBHAYZtKEuRR361JsCIEg9BOZdIoioRivJC+ZUzvJUnkXu\no2HkWiuxLsibGxtE\n-----END CERTIFICATE-----\n"}}} \ No newline at end of file diff --git a/fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-priv b/fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-priv new file mode 100755 index 0000000000..838716ac7d --- /dev/null +++ b/fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-priv @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgRgQr347ij6cjwX7m +KjzbbD8Tlwdfu6FaubjWJWLGyqahRANCAARXV1+YrGwUpajujoM0EhohV5sII8Az +0L+wsG3iklGt72lYT3zsONdmhneCVzj4Og8y1OYFGps9XBhxS+lthjyn +-----END PRIVATE KEY----- diff --git a/fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-pub b/fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-pub new file mode 100644 index 0000000000..df8f568c11 --- /dev/null +++ b/fabcar/creds/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-pub @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICGDCCAb+gAwIBAgIQFSxnLAGsu04zrFkAEwzn6zAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0xNzA4MzEwOTE0MzJaFw0yNzA4MjkwOTE0MzJa +MFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMR8wHQYDVQQDDBZBZG1pbkBvcmcxLmV4YW1wbGUuY29tMFkw +EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEV1dfmKxsFKWo7o6DNBIaIVebCCPAM9C/ +sLBt4pJRre9pWE987DjXZoZ3glc4+DoPMtTmBRqbPVwYcUvpbYY8p6NNMEswDgYD +VR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgQjmqDc122u64 +ugzacBhR0UUE0xqtGy3d26xqVzZeSXwwCgYIKoZIzj0EAwIDRwAwRAIgXMy26AEU +/GUMPfCMs/nQjQME1ZxBHAYZtKEuRR361JsCIEg9BOZdIoioRivJC+ZUzvJUnkXu +o2HkWiuxLsibGxtE +-----END CERTIFICATE----- diff --git a/fabcar/invoke.js b/fabcar/invoke.js index 7ad02fab8e..bd541f321f 100644 --- a/fabcar/invoke.js +++ b/fabcar/invoke.js @@ -54,8 +54,8 @@ Promise.resolve().then(() => { var request = { targets: targets, chaincodeId: options.chaincode_id, - fcn: '', - args: [''], + fcn: 'createCar', + args: ['CAR10', 'Chevy', 'Volt', 'Red', 'Nick'], chainId: options.channel_id, txId: tx_id }; diff --git a/fabcar/package.json b/fabcar/package.json index c33d0dad1c..bc2647500a 100644 --- a/fabcar/package.json +++ b/fabcar/package.json @@ -7,8 +7,8 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { - "fabric-ca-client": "^1.0.0", - "fabric-client": "^1.0.0" + "fabric-ca-client": "^1.0.1", + "fabric-client": "^1.0.1" }, "author": "Anthony O'Dowd", "license": "Apache-2.0",