Skip to content

Commit 1c097f3

Browse files
committed
dep update
Signedoff-by: Angelo De Caro <adc@zurich.ibm.com> Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
1 parent 2403295 commit 1c097f3

9 files changed

Lines changed: 15 additions & 18 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/gin-gonic/gin v1.11.0
1212
github.com/google/pprof v0.0.0-20260202012954-cb029daf43ef
1313
github.com/hashicorp/go-uuid v1.0.3
14-
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306072644-c9b18cc19d8b
14+
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306151549-ae7c1408e52a
1515
github.com/hyperledger/fabric-chaincode-go/v2 v2.3.0
1616
github.com/hyperledger/fabric-lib-go v1.1.3-0.20240523144151-25edd1eaf5f5
1717
github.com/hyperledger/fabric-protos-go-apiv2 v0.3.7

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,8 +1023,8 @@ github.com/huin/goupnp v1.3.0 h1:UvLUlWDNpoUdYzb2TCn+MuTWtcjXKSza2n6CBdQ0xXc=
10231023
github.com/huin/goupnp v1.3.0/go.mod h1:gnGPsThkYa7bFi/KWmEysQRf48l2dvR5bxr2OFckNX8=
10241024
github.com/hyperledger-labs/SmartBFT v0.0.0-20250503203013-eb005eef8866 h1:Mu/6NJsfl9g3wM15Ue7hqPq4LtgYDoABh8MO4u8aW4g=
10251025
github.com/hyperledger-labs/SmartBFT v0.0.0-20250503203013-eb005eef8866/go.mod h1:9aNHNXsCVy/leGz2gpTC1eOL5QecxbSAGjqsLh4T1LM=
1026-
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306072644-c9b18cc19d8b h1:k5ir+dqh2WqnZ0ytzZuwmALJtsAZ/60aomveRB92aq8=
1027-
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306072644-c9b18cc19d8b/go.mod h1:tr8UrQYZ4dojlbQoM+5wHQWPXwF6vofmevq61O5e+3Y=
1026+
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306151549-ae7c1408e52a h1:njTjX/yY8MWrDfBY/UeMpyn1Gbanhy+nQ3pJf/wTyrw=
1027+
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306151549-ae7c1408e52a/go.mod h1:tr8UrQYZ4dojlbQoM+5wHQWPXwF6vofmevq61O5e+3Y=
10281028
github.com/hyperledger/aries-bbs-go v0.0.0-20240528091251-e950615f2e45 h1:M8w6X6pHeH0B/VfI9wMZ+hg+IyZ9NX+SaB7tbxNIRVs=
10291029
github.com/hyperledger/aries-bbs-go v0.0.0-20240528091251-e950615f2e45/go.mod h1:Kofn6A6WWea1ZM8Rys5aBW9dszwJ7Ywa0kyyYL0TPYw=
10301030
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2 h1:B1Nt8hKb//KvgGRprk0h1t4lCnwhE9/ryb1WqfZbV+M=

token/services/network/fabric/endorsement/fsc/deps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type IdentityProvider interface {
6363
}
6464

6565
type ViewManager interface {
66-
InitiateView(view view.View, ctx context.Context) (interface{}, error)
66+
InitiateView(ctx context.Context, view view.View) (interface{}, error)
6767
}
6868

6969
type ViewRegistry interface {

token/services/network/fabric/endorsement/fsc/service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ func (e *EndorsementService) Endorse(context view.Context, requestRaw []byte, si
116116
}
117117
logger.DebugfContext(context.Context(), "request approval via fts endrosers with policy [%s]: [%d]...", e.PolicyType, len(endorsers))
118118

119-
envBoxed, err := e.ViewManager.InitiateView(NewRequestApprovalView(
119+
envBoxed, err := e.ViewManager.InitiateView(context.Context(), NewRequestApprovalView(
120120
e.TmsID,
121121
txID,
122122
requestRaw,
123123
nil,
124124
endorsers,
125125
e.EndorserService,
126-
), context.Context())
126+
))
127127
if err != nil {
128128
return nil, errors.WithMessagef(err, "failed to request approval")
129129
}

token/services/network/fabric/network.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (l *ledger) TransferMetadataKey(k string) (string, error) {
108108
}
109109

110110
type ViewManager interface {
111-
InitiateView(view view.View, ctx context.Context) (interface{}, error)
111+
InitiateView(ctx context.Context, view view.View) (interface{}, error)
112112
}
113113

114114
type ViewRegistry interface {

token/services/network/fabric/ppfetcher.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@ func NewChaincodePublicParamsFetcher(viewManager *view.Manager) *chaincodePublic
2323
}
2424

2525
func (f *chaincodePublicParamsFetcher) Fetch(network driver2.Network, channel driver2.Channel, namespace driver2.Namespace) ([]byte, error) {
26-
ppBoxed, err := f.viewManager.InitiateView(
27-
chaincode.NewQueryView(
28-
namespace,
29-
QueryPublicParamsFunction,
30-
).WithNetwork(network).WithChannel(channel),
31-
context.Background(),
32-
)
26+
ppBoxed, err := f.viewManager.InitiateView(context.Background(), chaincode.NewQueryView(
27+
namespace,
28+
QueryPublicParamsFunction,
29+
).WithNetwork(network).WithChannel(channel))
3330
if err != nil {
3431
return nil, err
3532
}

token/services/network/fabricx/endorsement/esp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type IdentityProvider interface {
3131
// ViewManager models a view manager.
3232
type ViewManager interface {
3333
// InitiateView initiates the given view.
34-
InitiateView(view view.View, ctx context.Context) (interface{}, error)
34+
InitiateView(ctx context.Context, view view.View) (interface{}, error)
3535
}
3636

3737
type ViewRegistry = fsc.ViewRegistry

token/services/storage/db/kvs/hashicorp/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/docker/docker v28.5.2+incompatible
77
github.com/docker/go-connections v0.6.0
88
github.com/hashicorp/vault/api v1.16.0
9-
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306072644-c9b18cc19d8b
9+
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306151549-ae7c1408e52a
1010
github.com/hyperledger-labs/fabric-token-sdk v0.4.1-0.20250528165839-032fb9265504
1111
github.com/stretchr/testify v1.11.1
1212
github.com/test-go/testify v1.1.4

token/services/storage/db/kvs/hashicorp/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
140140
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
141141
github.com/hashicorp/vault/api v1.16.0 h1:nbEYGJiAPGzT9U4oWgaaB0g+Rj8E59QuHKyA5LhwQN4=
142142
github.com/hashicorp/vault/api v1.16.0/go.mod h1:KhuUhzOD8lDSk29AtzNjgAu2kxRA9jL9NAbkFlqvkBA=
143-
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306072644-c9b18cc19d8b h1:k5ir+dqh2WqnZ0ytzZuwmALJtsAZ/60aomveRB92aq8=
144-
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306072644-c9b18cc19d8b/go.mod h1:tr8UrQYZ4dojlbQoM+5wHQWPXwF6vofmevq61O5e+3Y=
143+
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306151549-ae7c1408e52a h1:njTjX/yY8MWrDfBY/UeMpyn1Gbanhy+nQ3pJf/wTyrw=
144+
github.com/hyperledger-labs/fabric-smart-client v0.8.3-0.20260306151549-ae7c1408e52a/go.mod h1:tr8UrQYZ4dojlbQoM+5wHQWPXwF6vofmevq61O5e+3Y=
145145
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2 h1:B1Nt8hKb//KvgGRprk0h1t4lCnwhE9/ryb1WqfZbV+M=
146146
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2/go.mod h1:X+DIyUsaTmalOpmpQfIvFZjKHQedrURQ5t4YqquX7lE=
147147
github.com/hyperledger/fabric-lib-go v1.1.3-0.20240523144151-25edd1eaf5f5 h1:RPWTL5wxAb+xDOrsCU3QYZP65305F8v3PaOyzdbPVMU=

0 commit comments

Comments
 (0)