@@ -367,6 +367,7 @@ func ValueOfVerifyingKeyFixed[G1El algebra.G1ElementT, G2El algebra.G2ElementT,
367
367
return ret , fmt .Errorf ("commitment key[%d]: %w" , i , err )
368
368
}
369
369
}
370
+ s .PublicAndCommitmentCommitted = tVk .PublicAndCommitmentCommitted
370
371
case * VerifyingKey [sw_bls12377.G1Affine , sw_bls12377.G2Affine , sw_bls12377.GT ]:
371
372
tVk , ok := vk .(* groth16backend_bls12377.VerifyingKey )
372
373
if ! ok {
@@ -394,6 +395,7 @@ func ValueOfVerifyingKeyFixed[G1El algebra.G1ElementT, G2El algebra.G2ElementT,
394
395
return ret , fmt .Errorf ("commitment key[%d]: %w" , i , err )
395
396
}
396
397
}
398
+ s .PublicAndCommitmentCommitted = tVk .PublicAndCommitmentCommitted
397
399
case * VerifyingKey [sw_bls12381.G1Affine , sw_bls12381.G2Affine , sw_bls12381.GTEl ]:
398
400
tVk , ok := vk .(* groth16backend_bls12381.VerifyingKey )
399
401
if ! ok {
@@ -421,6 +423,7 @@ func ValueOfVerifyingKeyFixed[G1El algebra.G1ElementT, G2El algebra.G2ElementT,
421
423
return ret , fmt .Errorf ("commitment key[%d]: %w" , i , err )
422
424
}
423
425
}
426
+ s .PublicAndCommitmentCommitted = tVk .PublicAndCommitmentCommitted
424
427
case * VerifyingKey [sw_bls24315.G1Affine , sw_bls24315.G2Affine , sw_bls24315.GT ]:
425
428
tVk , ok := vk .(* groth16backend_bls24315.VerifyingKey )
426
429
if ! ok {
@@ -448,6 +451,7 @@ func ValueOfVerifyingKeyFixed[G1El algebra.G1ElementT, G2El algebra.G2ElementT,
448
451
return ret , fmt .Errorf ("commitment key[%d]: %w" , i , err )
449
452
}
450
453
}
454
+ s .PublicAndCommitmentCommitted = tVk .PublicAndCommitmentCommitted
451
455
case * VerifyingKey [sw_bw6761.G1Affine , sw_bw6761.G2Affine , sw_bw6761.GTEl ]:
452
456
tVk , ok := vk .(* groth16backend_bw6761.VerifyingKey )
453
457
if ! ok {
@@ -475,6 +479,7 @@ func ValueOfVerifyingKeyFixed[G1El algebra.G1ElementT, G2El algebra.G2ElementT,
475
479
return ret , fmt .Errorf ("commitment key[%d]: %w" , i , err )
476
480
}
477
481
}
482
+ s .PublicAndCommitmentCommitted = tVk .PublicAndCommitmentCommitted
478
483
default :
479
484
return ret , fmt .Errorf ("unknown parametric type combination" )
480
485
}
0 commit comments