Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: "1.21"
Comment thread
bestbeforetoday marked this conversation as resolved.
go-version-file: go.mod
- name: Generate test mocks
run: make generate
- name: Unit test
Expand All @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: stable
go-version-file: go.mod
- name: Generate test mocks
run: make generate
- name: golangci-lint
Expand All @@ -36,29 +36,29 @@ jobs:
fail-fast: false
matrix:
include:
- FABRIC_VERSION: "2.5.11"
- FABRIC_VERSION: "2.5.13"
CREATE_CHANNEL: "create_channel"
CONSENSUS: RAFT
- FABRIC_VERSION: "2.5.11"
- FABRIC_VERSION: "2.5.13"
CREATE_CHANNEL: "existing_channel"
CONSENSUS: RAFT
- FABRIC_VERSION: "3.0.0"
- FABRIC_VERSION: "3.1.1"
CREATE_CHANNEL: "create_channel"
CONSENSUS: RAFT
- FABRIC_VERSION: "3.0.0"
- FABRIC_VERSION: "3.1.1"
CREATE_CHANNEL: "existing_channel"
CONSENSUS: RAFT
- FABRIC_VERSION: "3.0.0"
- FABRIC_VERSION: "3.1.1"
CREATE_CHANNEL: "create_channel"
CONSENSUS: BFT
- FABRIC_VERSION: "3.0.0"
- FABRIC_VERSION: "3.1.1"
CREATE_CHANNEL: "existing_channel"
CONSENSUS: BFT
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: "1.21"
go-version-file: go.mod
- name: run end to end test
env:
FABRIC_VERSION: ${{matrix.FABRIC_VERSION}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
ref: ${{ inputs.ref }}
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: stable
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ escapes_detect:

.PHONY: generate
generate:
go install go.uber.org/mock/mockgen@latest
go install go.uber.org/mock/mockgen@v0.6.0
go generate ./pkg/...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ More detailed information on the motivation and objectives of the fabric-admin-s

This repository contains APIs written in Go and JavaScript. In order to build these components, the following need to be installed and available in the PATH:

- [Go 1.21+](https://go.dev/)
- [Go 1.24+](https://go.dev/)
- [Node 18+](https://nodejs.org/)
- [Make](https://www.gnu.org/software/make/)

Expand Down
56 changes: 28 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
module github.com/hyperledger/fabric-admin-sdk

go 1.21
go 1.24.0

require (
github.com/IBM/sarama v1.43.1
github.com/IBM/sarama v1.46.0
github.com/Knetic/govaluate v3.0.0+incompatible
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/hashicorp/go-version v1.6.0
github.com/hyperledger/fabric-gateway v1.5.0
github.com/hyperledger/fabric-protos-go-apiv2 v0.3.3
github.com/hashicorp/go-version v1.7.0
github.com/hyperledger/fabric-gateway v1.8.0
github.com/hyperledger/fabric-protos-go-apiv2 v0.3.7
github.com/mitchellh/mapstructure v1.5.0
github.com/onsi/ginkgo/v2 v2.17.1
github.com/onsi/gomega v1.32.0
github.com/onsi/ginkgo/v2 v2.25.3
github.com/onsi/gomega v1.38.2
github.com/opentracing/opentracing-go v1.2.0
go.uber.org/mock v0.4.0
google.golang.org/grpc v1.63.0
google.golang.org/protobuf v1.33.0
gopkg.in/yaml.v2 v2.4.0
go.uber.org/mock v0.6.0
google.golang.org/grpc v1.75.0
google.golang.org/protobuf v1.36.8
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/Masterminds/semver/v3 v3.4.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/eapache/go-resiliency v1.6.0 // indirect
github.com/eapache/go-resiliency v1.7.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/miekg/pkcs11 v1.1.1 // indirect
github.com/pierrec/lz4/v4 v4.1.21 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/pierrec/lz4/v4 v4.1.22 // indirect
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
go.uber.org/automaxprocs v1.6.0 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.41.0 // indirect
golang.org/x/net v0.43.0 // indirect
golang.org/x/sys v0.35.0 // indirect
golang.org/x/text v0.28.0 // indirect
golang.org/x/tools v0.36.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
)
Loading