Commit graph

7 commits

Author SHA1 Message Date
Francesco Vlacancich
944c23d8a1 Revert "final draft for JSON determinm task, using Genson instead of object mapper"
This reverts commit cc0f8c7bbba3ef1a0be1a9291e6c0a594b281933.

revert wrong commit cc0f8c7bbba3ef1a0be1a9291e6c0a594b281933

Signed-off-by: fraVlaca <ocsenarf@outlook.com>
2021-09-01 13:37:27 +01:00
Francesco Vlacancich
f95fbbe3d0 final draft for JSON determinm task, using Genson instead of object mapper
Remore extra .class files

Signed-off-by: fraVlaca <ocsenarf@outlook.com>
2021-09-01 13:37:27 +01:00
Francesco Vlacancich
235df3271d modified asset-transef-basic chaincode files to achieve json determinism plus added new java contract that runs on vscode aswell
Signed-off-by: fraVlaca <ocsenarf@outlook.com>
2021-09-01 13:37:26 +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
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