Skip to content

Commit e4db781

Browse files
denyeartale-linux
authored andcommitted
Bump github.com/IBM/idemix and github.com/consensys/gnark-crypto
Bump github.com/IBM/idemix to get updated github.com/consensys/gnark-crypto. Note that github.com/IBM/idemix pulls in github.com/kilic/bls12-381, which requires build tag "generic" to compile on amd64 in plugin mode. Signed-off-by: David Enyeart <[email protected]>
1 parent dd1c4da commit e4db781

File tree

484 files changed

+95794
-13351
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

484 files changed

+95794
-13351
lines changed

go.mod

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ go 1.20
44

55
require (
66
code.cloudfoundry.org/clock v1.0.0
7-
github.com/IBM/idemix v0.0.0-20220112103229-701e7610d405
7+
github.com/IBM/idemix v0.0.2-0.20231011101252-a4feda90f3f7
88
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
99
github.com/SmartBFT-Go/consensus v0.0.0-20230907130931-31f018a899a6
1010
github.com/VictoriaMetrics/fastcache v1.9.0
11-
github.com/bits-and-blooms/bitset v1.2.1
11+
github.com/bits-and-blooms/bitset v1.13.0
1212
github.com/cheggaaa/pb v1.0.29
1313
github.com/davecgh/go-spew v1.1.1
1414
github.com/fsouza/go-dockerclient v1.10.0
@@ -28,7 +28,7 @@ require (
2828
github.com/onsi/gomega v1.19.0
2929
github.com/pkg/errors v0.9.1
3030
github.com/prometheus/client_golang v1.11.1
31-
github.com/spf13/cobra v1.1.3
31+
github.com/spf13/cobra v1.5.0
3232
github.com/spf13/pflag v1.0.5
3333
github.com/spf13/viper v1.7.0
3434
github.com/stretchr/testify v1.8.4 // includes ErrorContains
@@ -38,7 +38,7 @@ require (
3838
go.etcd.io/etcd/client/pkg/v3 v3.5.9
3939
go.etcd.io/etcd/raft/v3 v3.5.9
4040
go.etcd.io/etcd/server/v3 v3.5.9
41-
go.uber.org/zap v1.19.0
41+
go.uber.org/zap v1.26.0
4242
golang.org/x/crypto v0.18.0
4343
golang.org/x/tools v0.14.0
4444
google.golang.org/grpc v1.61.0
@@ -51,14 +51,19 @@ require google.golang.org/protobuf v1.31.0
5151
require (
5252
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
5353
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
54-
github.com/IBM/mathlib v0.0.0-20220112091634-0a7378db6912 // indirect
54+
github.com/IBM/idemix/bccsp/schemes/aries v0.0.0-20231003085036-c4470b87b2d6 // indirect
55+
github.com/IBM/idemix/bccsp/schemes/weak-bb v0.0.0-20240125153755-b3fcea5c7863 // indirect
56+
github.com/IBM/idemix/bccsp/types v0.0.0-20240125153755-b3fcea5c7863 // indirect
57+
github.com/IBM/mathlib v0.0.3-0.20231011094432-44ee0eb539da // indirect
5558
github.com/Microsoft/go-winio v0.6.1 // indirect
5659
github.com/Microsoft/hcsshim v0.11.4 // indirect
60+
github.com/ale-linux/aries-framework-go/component/kmscrypto v0.0.0-20230817163708-4b3de6d91874 // indirect
5761
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
5862
github.com/alecthomas/units v0.0.0-20210912230133-d1bdfacee922 // indirect
5963
github.com/beorn7/perks v1.0.1 // indirect
6064
github.com/cespare/xxhash/v2 v2.2.0 // indirect
61-
github.com/consensys/gnark-crypto v0.6.0 // indirect
65+
github.com/consensys/bavard v0.1.13 // indirect
66+
github.com/consensys/gnark-crypto v0.12.1 // indirect
6267
github.com/containerd/containerd v1.6.26 // indirect
6368
github.com/docker/docker v24.0.7+incompatible // indirect
6469
github.com/docker/go-connections v0.4.0 // indirect
@@ -70,8 +75,9 @@ require (
7075
github.com/gogo/protobuf v1.3.2 // indirect
7176
github.com/golang/snappy v0.0.4 // indirect
7277
github.com/hashicorp/hcl v1.0.0 // indirect
73-
github.com/hyperledger/fabric-amcl v0.0.0-20210603140002-2670f91851c8 // indirect
78+
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2 // indirect
7479
github.com/inconshreveable/mousetrap v1.0.0 // indirect
80+
github.com/kilic/bls12-381 v0.1.0 // indirect
7581
github.com/klauspost/compress v1.17.6 // indirect
7682
github.com/kr/text v0.2.0 // indirect
7783
github.com/magiconair/properties v1.8.1 // indirect
@@ -90,17 +96,15 @@ require (
9096
github.com/prometheus/client_model v0.3.0 // indirect
9197
github.com/prometheus/common v0.32.1 // indirect
9298
github.com/prometheus/procfs v0.8.0 // indirect
93-
github.com/rogpeppe/go-internal v1.9.0 // indirect
99+
github.com/rogpeppe/go-internal v1.11.0 // indirect
94100
github.com/sirupsen/logrus v1.9.3 // indirect
95101
github.com/spf13/afero v1.3.1 // indirect
96102
github.com/spf13/cast v1.3.1 // indirect
97103
github.com/spf13/jwalterweatherman v1.1.0 // indirect
98104
github.com/stretchr/objx v0.5.0 // indirect
99105
github.com/subosito/gotenv v1.2.0 // indirect
100106
go.etcd.io/etcd/pkg/v3 v3.5.9 // indirect
101-
go.uber.org/atomic v1.7.0 // indirect
102-
go.uber.org/goleak v1.1.12 // indirect
103-
go.uber.org/multierr v1.6.0 // indirect
107+
go.uber.org/multierr v1.11.0 // indirect
104108
golang.org/x/mod v0.14.0 // indirect
105109
golang.org/x/net v0.20.0 // indirect
106110
golang.org/x/sync v0.6.0 // indirect
@@ -109,4 +113,5 @@ require (
109113
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
110114
gopkg.in/ini.v1 v1.51.0 // indirect
111115
gopkg.in/yaml.v3 v3.0.1 // indirect
116+
rsc.io/tmplfunc v0.0.3 // indirect
112117
)

go.sum

Lines changed: 37 additions & 49 deletions
Large diffs are not rendered by default.

integration/pluggable/pluggable_suite_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ var (
2727
)
2828

2929
var _ = SynchronizedBeforeSuite(func() []byte {
30-
buildServer = nwo.NewBuildServer()
30+
// need to use the same "generic" build tag for peer as is used for the plugins.
31+
// "generic" build tag on the plugins is a workaround to ensure github.com/kilic/bls12-381 dependency compiles on amd64, see pluggable_test.go compilePlugin()
32+
buildServer = nwo.NewBuildServer("-tags=generic")
3133
buildServer.Serve()
3234

3335
components = buildServer.Components()

integration/pluggable/pluggable_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ func compilePlugin(pluginType string) string {
142142
"go", "build",
143143
"-x", // print build commands while running
144144
"-buildmode=plugin",
145+
"-tags=generic", // workaround to ensure github.com/kilic/bls12-381 dependency compiles on amd64 in plugin mode
145146
"-o", pluginFilePath,
146147
fmt.Sprintf("github.com/hyperledger/fabric/integration/pluggable/testdata/plugins/%s", pluginType),
147148
)

vendor/github.com/IBM/idemix/.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/IBM/idemix/CONTRIBUTING.md

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/IBM/idemix/Makefile

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/IBM/idemix/RELEASING.md

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)