Skip to content

Commit eaf0cbf

Browse files
committed
update VK and proof test cases
1 parent 15ec524 commit eaf0cbf

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

types/src/oidb/circuit_constants.rs

+14-14
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ pub(crate) const MAX_COMMITED_EPK_BYTES: u16 = 3 * poseidon_bn254::BYTES_PACKED_
2323
pub fn devnet_prepared_vk() -> PreparedVerifyingKey<Bn254> {
2424
// Convert the projective points to affine.
2525
let alpha_g1 = g1_projective_str_to_affine(
26-
"16672231080302629756836614130913173861541009360974119524782950408048375831661",
27-
"1076145001163048025135533382088266750240489485046298539187659509488738517245",
26+
"20491192805390485299153009773594534940189261866228447918068658471970481763042",
27+
"9383485363053290200918347156157836566562967994039712273449902621266178545958",
2828
)
2929
.unwrap();
3030

3131
let beta_g2 = g2_projective_str_to_affine(
3232
[
33-
"1125365732643211423779651913319958385653115422366520671538751860820509133538",
34-
"10055196097002324305342942912758079446356594743098794928675544207400347950287",
33+
"6375614351688725206403948262868962793625744043794305715222011528459656738731",
34+
"4252822878758300859123897981450591353533073413197771768651442665752259397132",
3535
],
3636
[
37-
"10879716754714953827605171295191459580695363989155343984818520267224463075503",
38-
"440220374146936557739765173414663598678359360031905981547938788314460390904",
37+
"10505242626370262277552901082094356697409835680220590971873171140371331206856",
38+
"21847035105528745403288232691147584728191162732299865338377159692350059136679",
3939
],
4040
)
4141
.unwrap();
@@ -54,26 +54,26 @@ pub fn devnet_prepared_vk() -> PreparedVerifyingKey<Bn254> {
5454

5555
let delta_g2 = g2_projective_str_to_affine(
5656
[
57-
"10857046999023057135944570762232829481370756359578518086990519993285655852781",
58-
"11559732032986387107991004021392285783925812861821192530917403151452391805634",
57+
"4554876388761449971150762643527200218721274582609012924804001026508011579882",
58+
"9906124002012538607706838605380337418208917959286750650097945326735558982299",
5959
],
6060
[
61-
"8495653923123431417604973247489272438418190587263600148770280649306958101930",
62-
"4082367875863433681332203403145435568316851327593401208105741076214120093531",
61+
"5854023862046905849776403994145962544983234635302179642001962573086489816607",
62+
"1115646383956031634980010937823293614666074390302688571989763044019135241889",
6363
],
6464
)
6565
.unwrap();
6666

6767
let mut gamma_abc_g1 = Vec::new();
6868
for points in [
6969
g1_projective_str_to_affine(
70-
"333957087685714773491410343905674131693317845924221586503521553512853800005",
71-
"16794842110397433586916934076838854067112427849394773076676106408631114267154",
70+
"19969429920450141902172268650961329312290082884093184976727612790263548895589",
71+
"5146534318147005445214564431741941940406412758913409113743201385319569618289",
7272
)
7373
.unwrap(),
7474
g1_projective_str_to_affine(
75-
"14679941092573826838949544937315479399329040741655244517938404383938168565228",
76-
"19977040285201397592140173066949293223501504328707794673737757867503037033174",
75+
"15192959234143920396735876774520785358155749431089461580802816710466908168006",
76+
"18346895842267323773878010013182465710347574804392898846929667361700890467565",
7777
)
7878
.unwrap(),
7979
] {

types/src/oidb/circuit_testcases.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -150,24 +150,24 @@ pub(crate) static SAMPLE_OIDB_PK: Lazy<OidbPublicKey> = Lazy::new(|| {
150150
pub(crate) static SAMPLE_PROOF: Lazy<Groth16Zkp> = Lazy::new(|| {
151151
Groth16Zkp::new(
152152
G1Bytes::new_unchecked(
153-
"12231709561876342858591497461541533679382707548832581865026884128195038623819",
154-
"19550065013334671766459652895464943208897555190003385241537366958524038549651",
153+
"4470668953498815291118813694625852066171551105654596174374858885226578750734",
154+
"14788589714058859505243017007182544407755183524390103786436121684254044340756",
155155
)
156156
.unwrap(),
157157
G2Bytes::new_unchecked(
158158
[
159-
"17760114700472440073566664035341233176332867365948052821768844085204638465257",
160-
"2074118366711830630562352153651013053077229376039883853182809642185973784582",
159+
"19964271555454493822493487427388576160988441374693973346071644217966495467723",
160+
"13323381916967628034087987623567037272731886344747801700777864344050235336348",
161161
],
162162
[
163-
"21474168538255367719812229486236305962320711305273777702403534410487962424082",
164-
"17404352079167923594003522667505828016450036154572779269542685309363067054790",
163+
"3774003850436718557803458636202686199624507874355327512447206480984626693729",
164+
"1716739756344109596192893154802286969758937949519569315162844587816368174496",
165165
],
166166
)
167167
.unwrap(),
168168
G1Bytes::new_unchecked(
169-
"9194799847136645728085689496796085217935413772780751043375835048405276952071",
170-
"17704024912475005725846633700069393676807658122056968962396516331631047675983",
169+
"20907992905438744331671589598826747010257757425816109725506966167718927036107",
170+
"21699679298680052085273235372827765370228252154570456225953796655272884519170",
171171
)
172172
.unwrap(),
173173
)

0 commit comments

Comments
 (0)