mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-12 09:01:32 +01:00
Upgrade to gnark 0.8 (#18)
* make proof with PIS public input * upgraded to 0.8 gnark * reduced pow witness * fixed bug * fixed test * fixed bug * adding profiling * changed everything to be pointers * convert remaining poseidon constants * added the recursive_very_small * added more outputs for benchmark
This commit is contained in:
174
verifier/data/recursive_very_small/common_circuit_data.json
Normal file
174
verifier/data/recursive_very_small/common_circuit_data.json
Normal file
@@ -0,0 +1,174 @@
|
||||
{
|
||||
"config": {
|
||||
"num_wires": 136,
|
||||
"num_routed_wires": 80,
|
||||
"num_constants": 2,
|
||||
"use_base_arithmetic_gate": true,
|
||||
"security_bits": 100,
|
||||
"num_challenges": 2,
|
||||
"zero_knowledge": false,
|
||||
"max_quotient_degree_factor": 8,
|
||||
"fri_config": {
|
||||
"rate_bits": 3,
|
||||
"cap_height": 4,
|
||||
"proof_of_work_bits": 16,
|
||||
"reduction_strategy": {
|
||||
"ConstantArityBits": [
|
||||
4,
|
||||
5
|
||||
]
|
||||
},
|
||||
"num_query_rounds": 1
|
||||
}
|
||||
},
|
||||
"fri_params": {
|
||||
"config": {
|
||||
"rate_bits": 3,
|
||||
"cap_height": 4,
|
||||
"proof_of_work_bits": 16,
|
||||
"reduction_strategy": {
|
||||
"ConstantArityBits": [
|
||||
4,
|
||||
5
|
||||
]
|
||||
},
|
||||
"num_query_rounds": 1
|
||||
},
|
||||
"hiding": false,
|
||||
"degree_bits": 9,
|
||||
"reduction_arity_bits": [
|
||||
4
|
||||
]
|
||||
},
|
||||
"gates": [
|
||||
"NoopGate",
|
||||
"ConstantGate { num_consts: 2 }",
|
||||
"PublicInputGate",
|
||||
"BaseSumGate { num_limbs: 63 } + Base: 2",
|
||||
"ReducingExtensionGate { num_coeffs: 33 }",
|
||||
"ReducingGate { num_coeffs: 44 }",
|
||||
"ArithmeticExtensionGate { num_ops: 10 }",
|
||||
"ArithmeticGate { num_ops: 20 }",
|
||||
"MulExtensionGate { num_ops: 13 }",
|
||||
"RandomAccessGate { bits: 4, num_copies: 4, num_extra_constants: 2, _phantom: PhantomData<plonky2_field::goldilocks_field::GoldilocksField> }<D=2>",
|
||||
"CosetInterpolationGate { subgroup_bits: 4, degree: 6, barycentric_weights: [17293822565076172801, 18374686475376656385, 18446744069413535745, 281474976645120, 17592186044416, 256, 18446744000695107601, 18446744065119617025, 1152921504338411520, 72057594037927936, 1048576, 18446462594437939201, 18446726477228539905, 18446744069414584065, 68719476720, 4294967296], _phantom: PhantomData<plonky2_field::goldilocks_field::GoldilocksField> }<D=2>",
|
||||
"PoseidonGate(PhantomData<plonky2_field::goldilocks_field::GoldilocksField>)<WIDTH=12>"
|
||||
],
|
||||
"selectors_info": {
|
||||
"selector_indices": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
2
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"start": 0,
|
||||
"end": 6
|
||||
},
|
||||
{
|
||||
"start": 6,
|
||||
"end": 10
|
||||
},
|
||||
{
|
||||
"start": 10,
|
||||
"end": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
"quotient_degree_factor": 8,
|
||||
"num_gate_constraints": 123,
|
||||
"num_constants": 5,
|
||||
"num_public_inputs": 0,
|
||||
"k_is": [
|
||||
1,
|
||||
7,
|
||||
49,
|
||||
343,
|
||||
2401,
|
||||
16807,
|
||||
117649,
|
||||
823543,
|
||||
5764801,
|
||||
40353607,
|
||||
282475249,
|
||||
1977326743,
|
||||
13841287201,
|
||||
96889010407,
|
||||
678223072849,
|
||||
4747561509943,
|
||||
33232930569601,
|
||||
232630513987207,
|
||||
1628413597910449,
|
||||
11398895185373143,
|
||||
79792266297612001,
|
||||
558545864083284007,
|
||||
3909821048582988049,
|
||||
8922003270666332022,
|
||||
7113790686420571191,
|
||||
12903046666114829695,
|
||||
16534350385145470581,
|
||||
5059988279530788141,
|
||||
16973173887300932666,
|
||||
8131752794619022736,
|
||||
1582037354089406189,
|
||||
11074261478625843323,
|
||||
3732854072722565977,
|
||||
7683234439643377518,
|
||||
16889152938674473984,
|
||||
7543606154233811962,
|
||||
15911754940807515092,
|
||||
701820169165099718,
|
||||
4912741184155698026,
|
||||
15942444219675301861,
|
||||
916645121239607101,
|
||||
6416515848677249707,
|
||||
8022122801911579307,
|
||||
814627405137302186,
|
||||
5702391835961115302,
|
||||
3023254712898638472,
|
||||
2716038920875884983,
|
||||
565528376716610560,
|
||||
3958698637016273920,
|
||||
9264146389699333119,
|
||||
9508792519651578870,
|
||||
11221315429317299127,
|
||||
4762231727562756605,
|
||||
14888878023524711914,
|
||||
11988425817600061793,
|
||||
10132004445542095267,
|
||||
15583798910550913906,
|
||||
16852872026783475737,
|
||||
7289639770996824233,
|
||||
14133990258148600989,
|
||||
6704211459967285318,
|
||||
10035992080941828584,
|
||||
14911712358349047125,
|
||||
12148266161370408270,
|
||||
11250886851934520606,
|
||||
4969231685883306958,
|
||||
16337877731768564385,
|
||||
3684679705892444769,
|
||||
7346013871832529062,
|
||||
14528608963998534792,
|
||||
9466542400916821939,
|
||||
10925564598174000610,
|
||||
2691975909559666986,
|
||||
397087297503084581,
|
||||
2779611082521592067,
|
||||
1010533508236560148,
|
||||
7073734557655921036,
|
||||
12622653764762278610,
|
||||
14571600075677612986,
|
||||
9767480182670369297
|
||||
],
|
||||
"num_partial_products": 9
|
||||
}
|
||||
2373
verifier/data/recursive_very_small/proof_with_public_inputs.json
Normal file
2373
verifier/data/recursive_very_small/proof_with_public_inputs.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"constants_sigmas_cap": [
|
||||
{
|
||||
"elements": [
|
||||
18341772251201060973,
|
||||
8863499337164177585,
|
||||
3680903997187631396,
|
||||
12765086892713286422
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
10011842595440383490,
|
||||
16803433616479820503,
|
||||
5116105297375993895,
|
||||
1284372878762986134
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
9771429197922126084,
|
||||
11795709479898502019,
|
||||
9760789605311014828,
|
||||
14587465303757273799
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
14268034713225276697,
|
||||
18296479136879705605,
|
||||
10850612887933280806,
|
||||
9639487702530117083
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
9754005887238773284,
|
||||
5374369974939340944,
|
||||
4959182047845142644,
|
||||
1120709750910555570
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
7250035629074136036,
|
||||
15739653461985901088,
|
||||
14987756440121950753,
|
||||
9158371711408827053
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
13216298745969283339,
|
||||
16888689116176782846,
|
||||
12982122889871085039,
|
||||
5211135798140140360
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
1504326644701451030,
|
||||
8409612476357826852,
|
||||
7563553194601621378,
|
||||
11995034742915891064
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
5488329807694506217,
|
||||
18091194776727670160,
|
||||
17052473172701400255,
|
||||
16236156822718879559
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
17715347985838125739,
|
||||
3615805299049017601,
|
||||
8585175301607696636,
|
||||
1968868157246799025
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
13447598860253889564,
|
||||
6631647170626609560,
|
||||
2112142850806037543,
|
||||
14266806193129176172
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
2730627694247012781,
|
||||
17236598033654074636,
|
||||
4452557557605684638,
|
||||
468430371172463963
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
6798850231787296859,
|
||||
16600632819568012939,
|
||||
11299208732485603538,
|
||||
15684010143706607232
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
3144604974895131192,
|
||||
4061404887662630886,
|
||||
5007128585099235364,
|
||||
16758955485500576037
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
4096461731986790461,
|
||||
12546978492628150144,
|
||||
18147834661139732319,
|
||||
4737766556076016924
|
||||
]
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
14221961188679542125,
|
||||
17198447421299265716,
|
||||
4429176582749668482,
|
||||
3028817214334434508
|
||||
]
|
||||
}
|
||||
],
|
||||
"circuit_digest": {
|
||||
"elements": [
|
||||
10592544746408303090,
|
||||
6263847280826784938,
|
||||
13362953309332334276,
|
||||
1690911406899164489
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user