Skip to content

Commit cb066d5

Browse files
authored
register transaction filter (hyperledger-labs#611)
Signed-off-by: Angelo De Caro <[email protected]>
1 parent 110ec4c commit cb066d5

File tree

4 files changed

+126
-55
lines changed

4 files changed

+126
-55
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-go@v5
2424
with:
25-
go-version: '1.20'
25+
go-version: '1.21'
2626
cache: false
2727
- name: golangci-lint
2828
uses: golangci/golangci-lint-action@v4

go.mod

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/dgraph-io/badger/v3 v3.2103.2
1010
github.com/gammazero/deque v0.2.1
1111
github.com/hashicorp/go-uuid v1.0.2
12-
github.com/hyperledger-labs/fabric-smart-client v0.3.1-0.20240423075616-c6f29ded3789
12+
github.com/hyperledger-labs/fabric-smart-client v0.3.1-0.20240424120928-5f2ef0fc1715
1313
github.com/hyperledger-labs/orion-sdk-go v0.2.5
1414
github.com/hyperledger-labs/orion-server v0.2.5
1515
github.com/hyperledger/fabric v1.4.0-rc1.0.20230405174026-695dd57e01c2
@@ -24,11 +24,11 @@ require (
2424
github.com/pkg/errors v0.9.1
2525
github.com/spf13/cobra v1.7.0
2626
github.com/spf13/viper v1.10.1
27-
github.com/stretchr/testify v1.8.4
27+
github.com/stretchr/testify v1.9.0
2828
github.com/tedsuo/ifrit v0.0.0-20220120221754-dd274de71113
2929
github.com/test-go/testify v1.1.4
30-
github.com/testcontainers/testcontainers-go v0.26.0
31-
github.com/testcontainers/testcontainers-go/modules/postgres v0.26.0
30+
github.com/testcontainers/testcontainers-go v0.30.0
31+
github.com/testcontainers/testcontainers-go/modules/postgres v0.30.0
3232
github.com/thedevsaddam/gojsonq v2.3.0+incompatible
3333
github.com/ugorji/go v1.2.12
3434
go.uber.org/zap v1.25.0
@@ -76,7 +76,7 @@ require (
7676
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
7777
github.com/dgraph-io/ristretto v0.1.0 // indirect
7878
github.com/distribution/reference v0.5.0 // indirect
79-
github.com/docker/docker v25.0.5+incompatible // indirect
79+
github.com/docker/docker v26.1.0+incompatible // indirect
8080
github.com/docker/go-connections v0.5.0 // indirect
8181
github.com/docker/go-units v0.5.0 // indirect
8282
github.com/dustin/go-humanize v1.0.1 // indirect
@@ -93,7 +93,7 @@ require (
9393
github.com/gin-gonic/gin v1.9.1 // indirect
9494
github.com/go-kit/kit v0.10.0 // indirect
9595
github.com/go-logfmt/logfmt v0.5.1 // indirect
96-
github.com/go-logr/logr v1.3.0 // indirect
96+
github.com/go-logr/logr v1.4.1 // indirect
9797
github.com/go-logr/stdr v1.2.2 // indirect
9898
github.com/go-ole/go-ole v1.2.6 // indirect
9999
github.com/go-playground/locales v0.14.1 // indirect
@@ -112,11 +112,12 @@ require (
112112
github.com/google/go-cmp v0.6.0 // indirect
113113
github.com/google/gopacket v1.1.19 // indirect
114114
github.com/google/pprof v0.0.0-20230817174616-7a8ec2ada47b // indirect
115-
github.com/google/uuid v1.5.0 // indirect
115+
github.com/google/uuid v1.6.0 // indirect
116116
github.com/gorilla/mux v1.8.0 // indirect
117117
github.com/gorilla/websocket v1.5.0 // indirect
118118
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
119119
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
120+
github.com/hashicorp/consul/sdk v0.8.0 // indirect
120121
github.com/hashicorp/errwrap v1.1.0 // indirect
121122
github.com/hashicorp/go-multierror v1.1.1 // indirect
122123
github.com/hashicorp/golang-lru v0.5.4 // indirect
@@ -167,8 +168,10 @@ require (
167168
github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc // indirect
168169
github.com/minio/sha256-simd v1.0.1 // indirect
169170
github.com/miracl/conflate v1.2.1 // indirect
171+
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
170172
github.com/mitchellh/mapstructure v1.4.3 // indirect
171173
github.com/mmcloughlin/addchain v0.4.0 // indirect
174+
github.com/moby/docker-image-spec v1.3.1 // indirect
172175
github.com/moby/patternmatcher v0.6.0 // indirect
173176
github.com/moby/sys/sequential v0.5.0 // indirect
174177
github.com/moby/sys/user v0.1.0 // indirect
@@ -189,7 +192,7 @@ require (
189192
github.com/multiformats/go-varint v0.0.7 // indirect
190193
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect
191194
github.com/opencontainers/go-digest v1.0.0 // indirect
192-
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
195+
github.com/opencontainers/image-spec v1.1.0 // indirect
193196
github.com/opencontainers/runtime-spec v1.1.0 // indirect
194197
github.com/opentracing/opentracing-go v1.2.0 // indirect
195198
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
@@ -208,7 +211,7 @@ require (
208211
github.com/quic-go/webtransport-go v0.5.3 // indirect
209212
github.com/raulk/go-watchdog v1.3.0 // indirect
210213
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
211-
github.com/shirou/gopsutil/v3 v3.23.9 // indirect
214+
github.com/shirou/gopsutil/v3 v3.23.12 // indirect
212215
github.com/shoenig/go-m1cpu v0.1.6 // indirect
213216
github.com/sirupsen/logrus v1.9.3 // indirect
214217
github.com/spaolacci/murmur3 v1.1.0 // indirect
@@ -233,24 +236,24 @@ require (
233236
go.etcd.io/etcd/raft/v3 v3.5.1 // indirect
234237
go.etcd.io/etcd/server/v3 v3.5.1 // indirect
235238
go.opencensus.io v0.24.0 // indirect
236-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
237-
go.opentelemetry.io/otel v1.21.0 // indirect
239+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
240+
go.opentelemetry.io/otel v1.24.0 // indirect
238241
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 // indirect
239242
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.21.0 // indirect
240-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
243+
go.opentelemetry.io/otel/metric v1.24.0 // indirect
241244
go.opentelemetry.io/otel/sdk v1.21.0 // indirect
242-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
245+
go.opentelemetry.io/otel/trace v1.24.0 // indirect
243246
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
244247
go.uber.org/atomic v1.11.0 // indirect
245248
go.uber.org/dig v1.17.0 // indirect
246249
go.uber.org/fx v1.20.0 // indirect
247250
go.uber.org/multierr v1.11.0 // indirect
248251
golang.org/x/arch v0.7.0 // indirect
249-
golang.org/x/crypto v0.21.0 // indirect
250-
golang.org/x/mod v0.13.0 // indirect
251-
golang.org/x/net v0.23.0 // indirect
252+
golang.org/x/crypto v0.22.0 // indirect
253+
golang.org/x/mod v0.16.0 // indirect
254+
golang.org/x/net v0.24.0 // indirect
252255
golang.org/x/sync v0.5.0 // indirect
253-
golang.org/x/sys v0.18.0 // indirect
256+
golang.org/x/sys v0.19.0 // indirect
254257
golang.org/x/text v0.14.0 // indirect
255258
golang.org/x/tools v0.14.0 // indirect
256259
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect

0 commit comments

Comments
 (0)