Skip to content

Commit 142b090

Browse files
adecaroalexandrosfilios
authored andcommitted
latest mathlib
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
1 parent 1374e26 commit 142b090

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.22.6
55
require (
66
github.com/IBM/idemix v0.0.2-0.20240816143710-3dce4618d760
77
github.com/IBM/idemix/bccsp/types v0.0.0-20240816143710-3dce4618d760
8-
github.com/IBM/mathlib v0.0.3-0.20241216144450-18523503911a
8+
github.com/IBM/mathlib v0.0.3-0.20241219051532-81539b287cf5
99
github.com/gin-gonic/gin v1.10.0
1010
github.com/gobuffalo/packr/v2 v2.7.1
1111
github.com/hashicorp/go-uuid v1.0.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,8 @@ github.com/IBM/idemix/bccsp/schemes/weak-bb v0.0.0-20240612072411-114d281b442d h
634634
github.com/IBM/idemix/bccsp/schemes/weak-bb v0.0.0-20240612072411-114d281b442d/go.mod h1:FC0vVgNI6bv8GH0VTwjup+arwJ8Tau1iEhroWZ1oPwU=
635635
github.com/IBM/idemix/bccsp/types v0.0.0-20240816143710-3dce4618d760 h1:4tcdWj0MONt4JtiqNESWMuWSb5rDInIFzlUSbncHlCM=
636636
github.com/IBM/idemix/bccsp/types v0.0.0-20240816143710-3dce4618d760/go.mod h1:4bYvi+a50aXxmHf1vwuvR+Wd8YXZ6AhT+0p5oK4xdOA=
637-
github.com/IBM/mathlib v0.0.3-0.20241216144450-18523503911a h1:MvFOYc3md/J0TlC7F/7A04lTp520gsxjPUscwHXN4IA=
638-
github.com/IBM/mathlib v0.0.3-0.20241216144450-18523503911a/go.mod h1:Tco9QzE3fQzjMS7nPbHDeFfydAzctStf1Pa8hsh6Hjs=
637+
github.com/IBM/mathlib v0.0.3-0.20241219051532-81539b287cf5 h1:wfksZZMeYfPeqsXwiotUsbnOqGGpth6t8Ij4tJ/91kw=
638+
github.com/IBM/mathlib v0.0.3-0.20241219051532-81539b287cf5/go.mod h1:Tco9QzE3fQzjMS7nPbHDeFfydAzctStf1Pa8hsh6Hjs=
639639
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk=
640640
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible h1:1G1pk05UrOh0NlF1oeaaix1x8XzrfjIDK47TY0Zehcw=
641641
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=

integration/ports.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ var (
5959
}
6060

6161
AllTestTypes = []*InfrastructureType{
62-
WebSocketNoReplication,
63-
LibP2PNoReplication,
62+
// WebSocketNoReplication,
63+
// LibP2PNoReplication,
6464
WebSocketWithReplication,
6565
}
6666
)

token/core/zkatdlog/crypto/transfer/sender.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ func (s *Sender) GenerateZKTransfer(ctx context.Context, values []uint64, owners
6464
if s.InputInformation[0].Type != s.InputInformation[i].Type {
6565
return nil, nil, errors.New("cannot generate transfer: please choose inputs of the same token type")
6666
}
67-
v, err := s.InputInformation[i].Value.Int()
67+
v, err := s.InputInformation[i].Value.Uint()
6868
if err != nil {
6969
return nil, nil, errors.New("cannot generate transfer: invalid value")
7070
}
7171

7272
intw[i] = &token.TokenDataWitness{
73-
Value: uint64(v),
73+
Value: v,
7474
Type: s.InputInformation[i].Type,
7575
BlindingFactor: s.InputInformation[i].BlindingFactor,
7676
}

0 commit comments

Comments
 (0)