Commit graph

4 commits

Author SHA1 Message Date
Matthew B White
3ba63b15d6
Update go.mod (#500)
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
2021-10-06 11:35:43 -04:00
denyeart
ee959a2eb0
Update to Go 1.16.7 (#491)
Update Go to 1.16.7 and run "go mod tidy"
to clean up go modules in samples.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2021-10-01 09:16:56 +01:00
Baran Kılıç
98028c7da0 Fix ERC1155 chaincode indeterminism caused by iterating maps in Go
The functions BatchTransferFrom and BatchTransferFromMultiRecipient in ERC1155 sometimes give the error `ProposalResponsePayloads do not match`. This happens because iterating maps in Go is not deterministic. As a solution, I copied the keys of the map and sorted them and iterated over the sorted keys.

Signed-off-by: Baran Kılıç <baran.kilic@boun.edu.tr>
2021-09-29 17:23:35 -04:00
Baran Kılıç
36fb3a9273
Add ERC1155 chaincode in Go (#463)
Signed-off-by: Baran Kılıç <baran.kilic@boun.edu.tr>
2021-09-01 23:05:57 +02:00