Ali Shahverdi
615f2fe6f9
added more comment consistancy fix
...
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
2022-10-24 18:41:26 +03:30
Ali Shahverdi
0959261d07
fixed comment consistency problem with erc20 chaincode
...
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
2022-10-24 18:41:26 +03:30
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
Rajat Sharma
8c3534baa3
ERC20: changes made to prevent subtraction overflow
...
Signed-off-by: Rajat Sharma <connecttorajat@outlook.com>
2022-06-20 08:54:33 -04:00
fraVlaca
67a1166396
added fixes to erc token samples and documentation
...
Signed-off-by: fraVlaca <ocsenarf@outlook.com>
2022-05-18 07:54:36 -04:00
fraVlaca
5f71466295
updated erc tokens samples ( #731 )
...
Signed-off-by: fraVlaca <ocsenarf@outlook.com>
2022-05-11 10:35:10 -04:00
Mark S. Lewis
f151039f8a
Updates to asset-transfer-basic Gateway sample to align with docs ( #553 )
...
Also install goimports globally to run the linting check rather than installing to each gomodule, which was causing dependency conflicts.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2021-12-09 10:20:52 +00:00
sapthasurendran
e963ddc726
lint Fix ( #555 )
...
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2021-12-09 09:44:25 +00:00
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
Simon Stone
365172ddb3
Stop ERC-20 transfer bug when to/from accounts are the same ( #425 )
...
Using the ERC-20 sample, you can submit a transfer to and from
the same account. Because the code doesn't handle this, it ends
up minting new tokens into that account.
The correct behaviour is not specified by the ERC-20 specification,
although the OpenZeppelin implementation seems to permit it.
IMO we should just block it with an error because I can't see a use
case for allowing it and it is most likely a user error.
Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
2021-02-24 15:07:06 -05:00
Baran Kılıç
651f2235aa
Fix empty event in token-erc-20 example ( #424 )
...
Signed-off-by: Baran Kılıç <baran.kilic@boun.edu.tr>
2021-02-24 08:58:13 -05:00
Brett Logan
855c8e4db3
Update Go Modules
...
Signed-off-by: Brett Logan <lindluni@github.com>
2021-02-11 18:11:17 -05:00
Julian Castrence
0d257104aa
Add Burn Function and Events
...
FAB-18275
Signed-off-by: Julian Castrence <juliancastrence@ibm.com>
2020-11-30 14:45:36 -05:00
Julian Castrence
1829666e3a
Rename token-account-based Directory to token-erc-20
...
FAB-18275
Signed-off-by: Julian Castrence <juliancastrence@ibm.com>
2020-11-21 11:08:18 -05:00