Commit graph

34 commits

Author SHA1 Message Date
ofgarzon2662
3f33ce6c28 Solved Conflict Issues 2023-03-01 11:17:33 -08:00
Fernando Garzon
2d940bcdc6 Tests on PDCs ongoing 2023-02-21 16:27:48 -08:00
Fernando Garzon
4d42997eb8 Still developing the PDC function. Update JAN 30 - 2023 2023-01-30 09:16:16 -08:00
Fernando Garzon
449c10f6ed PDCs test in progress Jan 24 2023 2023-01-24 15:33:59 -08:00
Fernando Garzon
e87473cefb NewUserUUID Function added - Need to be tested with policy change 2023-01-24 13:44:50 -08:00
Fernando Garzon
6dce395fdf Test Chaincode January 14 2023 2023-01-24 09:16:18 -08:00
Fernando Garzon
35f98ea842 Chaincode ready for tests on OSC-IS Test network 2022-12-15 09:13:34 -08:00
ali
05c06f4931
Fixed comment consistency problem (#844)
* fixed comment consistency problem with erc20 chaincode

Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>

* added more comment consistancy fix

Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>

* added more comment consistancy fix

Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>

* added more comment consistancy fix

Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>

* added more comment consistancy fix

Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>

Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
Co-authored-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
2022-12-14 09:18:21 +01:00
Fernando Garzon
7c3d886f92 Testing Chaincode with new Users and Groups functions 2022-12-08 13:02:21 -08:00
Fernando Garzon
b379502870 USERs and Groups functions added - Not tested yet 2022-12-08 12:27:11 -08:00
Fernando Garzon
196d637243 Update Nov 28 2022-11-28 14:47:04 -08:00
Fernando Garzon
d5cd5ed56d Nov 14 Update 2022-11-14 13:57:12 -08:00
Fernando Garzon
8f946586bd Advance Nov 11/2022 2022-11-11 15:01:02 -08:00
Fernando Garzon
5e3e50fd37 Nov 11/2022 Update 2022-11-11 11:00:38 -08:00
Fernando Garzon
ed74286f4d Keep debugging 2022-11-02 11:53:36 -07:00
Fernando Garzon
f6d9a32dfe Keep debugging 2022-11-01 16:58:46 -07:00
Fernando Garzon
c66e5680aa Random Comment with little to no meaning 2022-11-01 16:02:13 -07:00
Fernando Garzon
edff9ad2c1 Schema Update: Schema can be updated and used to validate new json incoming files. Json contents are being stored in Data Structs 2022-10-26 17:21:04 -07:00
Fernando Garzon
920ddf0777 Testing of chaincode ongoing 2022-10-25 18:09:21 -07:00
Fernando Garzon
ee6954ddac Chaincode slowly evolving 2022-10-24 15:30:53 -07:00
Fernando Garzon
9acb406996 Content of json file being included in BC 2022-10-21 16:24:12 -07:00
Fernando Garzon
7cdf27efa3 Content of json file being included in BC 2022-10-21 16:14:26 -07:00
James Taylor
0aa853e0c3 Update go chaincode samples
Update to the latest github.com/hyperledger/fabric-contract-api-go

Signed-off-by: James Taylor <jamest@uk.ibm.com>
2022-10-18 15:28:20 -04:00
Fernando Garzon
fdffcb5784 Json Validation 1st test working 2022-10-17 15:15:17 -07:00
Fernando Garzon
7d76f9b07a Json Validation Function Tests on ChainCode 2022-10-14 16:55:26 -07:00
Fernando Garzon
ddf5917ddb 1st Chaincode version in golang 2022-09-29 14:18:01 -07:00
Tommy TIAN
9d04fc9a2e
fix typo in asset-transfer-basic (#744)
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
2022-05-18 12:27:08 -04:00
Mark S. Lewis
72559dfbb5
More Gateway asset-transfer-basic tweaks to support docs (#556)
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2021-12-10 08:51:21 +00:00
fraVlaca
53f0ef0d92
updated chaincodes for asset-transfer-basic in order to show good example on how achieving determinism over json (#486)
* updated chaincodes for asset-trnsfer-basic in order to show good example on how achieving determinism in json

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

* final fixes for chaincode-java of asset-tranfer-basic

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

* removed extra unused excheptions

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

* corrected indentation of contract in the chancode-javasript of asset-trnsfer-basic

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

* last fixes for chaincode-javascript of asset-transfer-basic

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

* last last fixes for chaincode-javascript of asset-transfer-basic

Signed-off-by: fraVlaca <ocsenarf@outlook.com>
2021-09-06 13:47:25 +01:00
Arnaud J Le Hors
42026e2fd4 Improve unmarshalling in asset-transfer-basic Go cc
Although the current code works thanks to Go being quite
forgiving when it comes to pointers, it doesn't exhibit
the best coding style. This patch addresses this.

Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
2020-08-06 11:12:56 -04:00
Brett Logan
14e9ccf85b Remove QueryResult Type
There was no need for GetAllAssets to return a custom type,
it can simple return an array of all assets.

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
2020-07-15 13:22:56 -04:00
Chris Gabriel
aa3ae32afb Fix param sequence in smartcontract
smartcontract_test.

Signed-off-by: Chris Gabriel <chris_gabriel_98@yahoo.com>
2020-07-12 12:12:32 -04:00
Brett Logan
426cdf1f98 Add Tests and Mocks To Asset Transfer Chaincode
Many users raise questions on how to test chaincode. It used
to be much easier with the old shim, as they could directly
use the old mock stub in the shim. Now that it no longer exists
the fabcar example can provide an example of how to test chaincode.

Also worth noting is our current directory structure of our Go
chaincodes prevents the creation of mocks due to import cycles.
This change also pushes the chaincode logic down into a `chaincode`
package.

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
2020-07-10 05:59:22 -04:00
Brett Logan
a04db374aa Refactor Chaincode Into Idiomatic Go
Cleans up the code and pushes the smart contract
implementation down into a `chaincode` package.
This is in prep for implementing unit testing in the
chaincode, as you cannot mock code that is part of
the main package.

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
2020-07-10 05:59:22 -04:00