dependabot[bot]
d9b581ffa0
Bump the go_modules group across 22 directories with 1 update
...
Bumps the go_modules group with 1 update in the /asset-transfer-abac/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-basic/application-gateway-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-basic/chaincode-external directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-basic/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-basic/rest-api-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-events/application-gateway-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-events/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-ledger-queries/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-private-data/application-gateway-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-private-data/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /asset-transfer-secured-agreement/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /auction-dutch/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /auction-dutch/chaincode-go-auditor directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /auction-simple/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /hardware-security-module/application-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /high-throughput/application-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /high-throughput/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /off_chain_data/application-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /token-erc-1155/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /token-erc-20/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /token-erc-721/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 1 update in the /token-utxo/chaincode-go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.67.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
Updates `google.golang.org/grpc` from 1.71.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.79.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 02:41:41 +00:00
Mark S. Lewis
42ff1e629b
Fix ESLint failures ( #1386 )
...
- Updates to ESLint v10 and fixes lint failures.
- Aligns tsconfig on Node 20, which is the current minimum required Node
version.
- Adds package-lock.json files to source control to avoid future random
failures when dependencies update.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2026-02-26 13:20:40 +09:00
Mark S. Lewis
bdaeac199d
Update Go error handling for v1.10 client API ( #1362 )
...
The Fabric Gateway client API v1.10.0 provides simplified access to Go
error details. This change updates sample client application to use this
latest version of the client API, and updates Go client applications to
reflect the error handling changes.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2025-11-10 09:53:58 +09:00
Mark S. Lewis
7bee4f76d0
Update fabric-gateway to v1.8.0 ( #1336 )
...
Node 20+ is now required. This is the oldest currently support LTS
version of Node.js.
Docker images are moved to Node 22, which is the current LTS release.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2025-07-25 17:10:49 +09:00
dependabot[bot]
2261bd5374
Bump the go_modules group across 26 directories with 6 updates ( #1315 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-12 21:18:47 +00:00
Mark S. Lewis
5e91d365d4
Update to Go 1.23
...
Go 1.24 was released on 2025-02-11. At this point Go 1.22 become an
unsupported Go runtime.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2025-02-12 08:34:17 -05:00
Mark S. Lewis
e23bc6714e
Simplify Java client error-handling example
...
The latest fabric-gateway client API release (v1.7.0) includes the gRPC error
details in the GatewayExcetion stack trace so it is not necessary to
programmatically access them to demonstrate that they are present.
This change updates the asset-transfer-basic/application-gateway-java
sample to simplify the updateNonExistentAsset example method. It also:
- Updates all samples to use the latest fabric-gateway release.
- Adds equivalent Maven POM files for fabric-gateway application samples.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-10-24 23:45:04 -04:00
Mark S. Lewis
b931df3a5f
Explicitly specify hash in client applications
...
For some signing implementations, such as ed25519, a non-default hash
implementation must be specified when creating the Gateway connection in
client applications. Rather than relying on the default hash algorithm,
it is probably good practice in general to specify an algorithm that is
compatible with your signing implementation.
This change explicitly specifies the hash algorithm to raise visibility
of the option to select the hash algorithm.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-10-07 12:25:40 -04:00
Mark S. Lewis
e37e991c4c
Update applications to use fabric-gateway v1.6.0
...
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-09-25 13:18:45 +09:00
Mark S. Lewis
76088d0273
Remove legacy sample applications
...
The removed samples make use of deprecated legacy client SDKs. They all
have equivalent samples implemented using the currently supported Fabric
Gateway client API, and are therefore redundant.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-06-19 10:38:52 -04:00
Mark S. Lewis
c077dae79c
Update TypeScript implementations
...
- Dependency updates
- ESLint flat configuration format, replacing deprecated configuration
- Minor fixes to compile and lint issues
- Consistent TypeScript formatting with .editorconfig
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-06-18 06:51:58 -04:00
Mark S. Lewis
42b9b60ebc
Update Go gRPC dependency
...
grpc.Dial() is (soon to be) deprecated in current gRPC versions. Use grpc.NewClient() instead.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-04-24 16:24:37 +09:00
Mark S. Lewis
0f4f62c340
Use fabric-gateway v1.4
...
Also update some GitHub Actions versions.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2023-10-25 17:30:29 +09:00
Mark S. Lewis
30f70f6e73
Update TypeScript HSM sample application
...
- Update to Node 16.
- Simplify SKI code using Node standard packages and avoiding use of jsrsasign.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2023-09-19 13:08:40 -04:00
Dave Enyeart
75b8419113
Sample apps should exit code 1 upon failure ( #1003 )
...
Ensure that all sample applications return exit code 1 upon failure
so that github actions can report the failure.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2023-03-17 13:18:18 +00:00
Dave Enyeart
dada89c710
Remove csr.hosts from msp enrollments ( #1009 )
...
Flag --csr.hosts is only relevant for tls enrollments, it adds the SAN to the TLS cert.
For msp enrollments, the cert is only used for identity, therefore there is no need for SAN and no need to pass --csr.hosts.
Having --csr.hosts for msp enrollments is misleading, this commit removes it.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2023-03-17 13:08:03 +00:00
Mark S. Lewis
85fbbc0924
Fix Node HSM sample
...
Also:
- Tidy up README documentation.
- Add MacOS/Homebrew (Apple silicon) default SoftHSM library location to HSM scripts and sample applications to avoid the need to explicitly override the library location when running the sample.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2023-03-14 11:33:21 -04:00
Dave Enyeart
eb787b7afa
Update Go and Go dependencies ( #996 )
...
* Update go dependencies
Update go dependencies in sample chaincodes and applications
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
* Update to Go 1.19.6
Update to Go 1.19.6
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
---------
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2023-03-07 14:44:33 +00:00
David Enyeart
128950edca
Fix go lint issue
...
Fix go lint issue by running goimports.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2023-03-02 00:44:36 -05:00
Mark S. Lewis
10e9377555
Avoid explicit import of grpc-js or fabric-protos in TypeScript apps
...
Rely on the dependencies of @hyperledger/fabric-gateway making these packages transitively available. Having explicit dependency versions in the application can cause type conflicts due to private member changes in the gRPC Client class across versions.
Also fix some missing or incorrect Node types and engines version contraints.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2023-02-10 11:36:41 -05:00
jkneubuh
0ce94bbb9b
Move lint and test-network-basic tests from Azure to GHA - READY FOR MERGE ( #862 )
...
* Move Test Network Basic tests from Azure to GHA
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
* Move linters from Azure to GHA
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
* Apply review comments - pin java, node, and go runtimes
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
2022-11-14 13:36:55 +00:00
Mark S. Lewis
63cc77bdc3
Avoid usage of deprecated ioutil Go package ( #843 )
...
* Refactor Go files
1. replace deprecated ioutil functions (ioutil is deprecated since Go 1.16)
2. fix variable names that collide with imported package name
3. fix typos
Also update Go version specified by Go modules to ensure a Go version is used in which ioutil is deprecated and replacement functions are available in os and io packages.
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Co-authored-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
* Specify go 1.18 instead of go 1.19 in go.mod files
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Co-authored-by: Tommy TIAN <xtianae@connect.ust.hk>
2022-10-25 07:04:39 -04:00
Mark S. Lewis
c323c95807
Update samples to use fabric-gateway v1.1.1 ( #842 )
...
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-10-20 17:43:55 +01:00
Saptha Surendran
6aa3017ccb
Added hsm samples using Gateway ( #759 )
...
* Added hsmm Samples using Gateway
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Used asset-transfer-basic chaincode
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* moved samples under asset-transfer-basic
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* ci pipeline changes
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* HSM config path changed
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* added pkcs11 enabled ca
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* HSM template added
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* moved binaries to fabric samples bin
added go mod and go sum
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Gopath reverrted back to localDirectory
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* go mod added and cleanup
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* test file directory
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* test file directory
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* migrate to latest gateway and go version
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* hsm script changes
Readme changes
Added npm prepare
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* moved samples out of asset-transfer-basic
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Name changes
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* code refactor
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* go vet by tag
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* pkcs11 tag added to lint script
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Readme updates
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* application-typescript code refactor
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* readme note added
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2022-07-15 09:18:30 -04:00