From 3cc15dfe3c31c7278bf6bede950c829aa81a9210 Mon Sep 17 00:00:00 2001 From: vbasiuk Date: Fri, 23 Feb 2024 11:10:10 +0200 Subject: [PATCH] update to linked query beta.1 --- auth_test.go | 2 +- go.mod | 2 +- go.sum | 2 + testdata/linkedMultiQuery10-beta.0.json | 249 -------------------- testdata/linkedMultiQuery10-beta.1.json | 299 ++++++++++++++++++++++++ 5 files changed, 303 insertions(+), 251 deletions(-) delete mode 100644 testdata/linkedMultiQuery10-beta.0.json create mode 100644 testdata/linkedMultiQuery10-beta.1.json diff --git a/auth_test.go b/auth_test.go index 25a840c..a2cc8d3 100644 --- a/auth_test.go +++ b/auth_test.go @@ -1221,7 +1221,7 @@ func TestFullVerifyLinkedProofsVerification(t *testing.T) { WithDocumentLoader(schemaLoader)) require.NoError(t, err) - tokenString := "eyJhbGciOiJncm90aDE2IiwiY2lyY3VpdElkIjoiYXV0aFYyIiwiY3JpdCI6WyJjaXJjdWl0SWQiXSwidHlwIjoiYXBwbGljYXRpb24vaWRlbjMtemtwLWpzb24ifQ.eyJpZCI6IjlkMTk0YWRjLTY3YjgtNGY1OC04MGVlLWU4ZjdkMzUzZTJmNCIsInR5cCI6ImFwcGxpY2F0aW9uL2lkZW4zLXprcC1qc29uIiwidHlwZSI6Imh0dHBzOi8vaWRlbjMtY29tbXVuaWNhdGlvbi5pby9hdXRob3JpemF0aW9uLzEuMC9yZXNwb25zZSIsInRoaWQiOiJiNjc4ZDc2Yy0wNmYzLTQ3NmItYmNiOC05YzVmY2ZmMDliMDYiLCJib2R5Ijp7Im1lc3NhZ2UiOiJtZXNhZ2UiLCJzY29wZSI6W3siaWQiOjEsImNpcmN1aXRJZCI6ImNyZWRlbnRpYWxBdG9taWNRdWVyeVYzLWJldGEuMSIsInByb29mIjp7InBpX2EiOlsiNDAwMDcxNTA0ODA3ODQ5MTkxNzc5OTc0NDUzMzc4NjI2OTQ4MzM5OTkzMTczNzI2NTc2MzgwMzY2OTgyMjk5OTA0NTEyM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.Background(), tokenString, request, pubsignals.WithAcceptedProofGenerationDelay(proofGenerationDelay)) require.Nil(t, err) require.NotNil(t, returnMsg) diff --git a/go.mod b/go.mod index 7544275..3d48877 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/golang/mock v1.6.0 github.com/google/uuid v1.3.0 github.com/iden3/contracts-abi/state/go/abi v1.0.0-beta.3 - github.com/iden3/go-circuits/v2 v2.0.2-0.20240222162432-02da937afe32 + github.com/iden3/go-circuits/v2 v2.0.2-0.20240223084228-ef66f50c3d34 github.com/iden3/go-iden3-core/v2 v2.0.3 github.com/iden3/go-iden3-crypto v0.0.15 github.com/iden3/go-jwz/v2 v2.0.1 diff --git a/go.sum b/go.sum index 79a611d..4a72f54 100644 --- a/go.sum +++ b/go.sum @@ -117,6 +117,8 @@ github.com/iden3/go-circuits/v2 v2.0.2-0.20240222161239-7a681c26b660 h1:kEmLGwk6 github.com/iden3/go-circuits/v2 v2.0.2-0.20240222161239-7a681c26b660/go.mod h1:VIFIp51+IH0hOzjnKhb84bCeyq7hq76zX/C14ua6zh4= github.com/iden3/go-circuits/v2 v2.0.2-0.20240222162432-02da937afe32 h1:huNdsxXfKY3+MJ6sEp0vuBLoUC4uK5q+w98LV+A9LG4= github.com/iden3/go-circuits/v2 v2.0.2-0.20240222162432-02da937afe32/go.mod h1:VIFIp51+IH0hOzjnKhb84bCeyq7hq76zX/C14ua6zh4= +github.com/iden3/go-circuits/v2 v2.0.2-0.20240223084228-ef66f50c3d34 h1:Ffq3Q5Ax0ucOWJpDueK2F38AvhME/KeEYELe9bP+yoQ= +github.com/iden3/go-circuits/v2 v2.0.2-0.20240223084228-ef66f50c3d34/go.mod h1:VIFIp51+IH0hOzjnKhb84bCeyq7hq76zX/C14ua6zh4= github.com/iden3/go-iden3-core/v2 v2.0.3 h1:ce9Jbw10zDsinWXFc05SiK2Hof/wu4zV4/ai5gQy29k= github.com/iden3/go-iden3-core/v2 v2.0.3/go.mod h1:L9PxhWPvoS9qTb3inEkZBm1RpjHBt+VTwvxssdzbAdw= github.com/iden3/go-iden3-crypto v0.0.15 h1:4MJYlrot1l31Fzlo2sF56u7EVFeHHJkxGXXZCtESgK4= diff --git a/testdata/linkedMultiQuery10-beta.0.json b/testdata/linkedMultiQuery10-beta.0.json deleted file mode 100644 index 46ae7b7..0000000 --- a/testdata/linkedMultiQuery10-beta.0.json +++ /dev/null @@ -1,249 +0,0 @@ -{ - "protocol": "groth16", - "curve": "bn128", - "nPublic": 32, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" - ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" - ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "2025301863353232000972013557240148309214422648242279421706934248620545048185", - "3551619600991808388357165180788781746313251517891101323663177158010950752217" - ], - [ - "17583332576285310883608873974388941733637842531453940965578108779722230390927", - "8482107556219683638671195415676667428287733488840146328098864921260483220214" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "10541428299192672828090146726310028144214115510043465603884001583956478733429", - "14328132802731818427319150206314497389123355110123928741488208992580841856174", - "1" - ], - [ - "4484772297774190750623733702547437770305308218349262680805791597413864664278", - "9598306942051399840850577448579181247393138994351754986337653603136701178911", - "1" - ], - [ - "6807202197420458315968368908975458563904216882973970114314426621295604767865", - "8245544555687995202365054959643868544511252857077680460626102987168216381848", - "1" - ], - [ - "18011444057994110318711949352711947469615610267740333073745530857224367586444", - "19487620324218326297149313027649958050079526129789007550303497455410884637231", - "1" - ], - [ - "14172067611424599901434744093758830350088287735420135896480515745151683109132", - "9027453179178371527625080833791886622005693948357347180279899567975544123053", - "1" - ], - [ - "10487062204675362135040711564126020828349619887409000980661757314247666071798", - "3236403349916311027771194187688348304561777123849595497572806285273411101608", - "1" - ], - [ - "8437340914702111117180917485977711912778685689045350815104324140157663843649", - "16888561924381927014588880447354520469724365291076527474369518015037845870367", - "1" - ], - [ - "11024482038988211616599971430597734530145332581598595162717049239685443877105", - "10477343271198572447416610543051460218709665544768709482087778401785191289217", - "1" - ], - [ - "12289349047469484970933461489859808856300333979400916245089659109078691001529", - "2040882573952436785601898395237342372100721718303896044205287178224234281750", - "1" - ], - [ - "18445469998803424477488768713893917822476976991577402888416529001797789541254", - "7307140467283558392922914986346250593977546447525874147606820138224445419964", - "1" - ], - [ - "11577362795304705740030513575344090675923356170029770308746220432813316848968", - "6417649708233753154799660669661920505205736755595594328905002175794372362285", - "1" - ], - [ - "15788514714985706570585228581857505150892415813189273702558709469027990436676", - "9054329931472395850744770783242443474998027457404036054466665632394543727202", - "1" - ], - [ - "3096371061983879397221583562928327860195155646839260188058908480252660571541", - "9215428768435464787862426613817269389571368147431280353673066183523757537823", - "1" - ], - [ - "1795446744600713275922828953462134097848976260670414954673261440809772263645", - "1203602467299039958337145345929711565950791172478667221214445371507004229806", - "1" - ], - [ - "15742854601374305692723804098693433266044934636553829415553928300979802762433", - "18238088839111904922515936483771872881825186098494031284801319683378322151431", - "1" - ], - [ - "10987636769482604623086626538628354587290130690788745243075480310878318269398", - "18199627450759601944676851409081867580552858188179806620100039041772905034440", - "1" - ], - [ - "10278134891451995949295380898622975025595164565923708535149758073759340840719", - "19035172759041807649546418090271465893006449719666662824510128011763835791681", - "1" - ], - [ - "14693977485951614471767666171010054810496139895591286002161811262075452650377", - "9815566195926528036390686842438921593190853361687826887676466690846477254217", - "1" - ], - [ - "3546376388516599852919894266030555397639743673491724322759941169697504606719", - "7479588901103304077186422360442171087305465172980091463525600513878079376021", - "1" - ], - [ - "19503085677141758776195821219694287239551512723820211109303752176248353237162", - "3601258460634290316129069172171935921269546967427607000719640836718054699915", - "1" - ], - [ - "8508432280375226894275190142315677968205629679526226815724601809613773765303", - "11429270299392931674600136809683805988114167808679561087550064954566768410711", - "1" - ], - [ - "13825332254901215576653293242014022176027474374549510717711961008337257225497", - "16049851022034262403736272323327724508534639988691274597750645166533757220595", - "1" - ], - [ - "20006664291074923277707122588127387511802594545820157530971681235766461748771", - "17473541667882116624915882937139442377133443783513561454760551389592708838910", - "1" - ], - [ - "11534601114937844212874274210776299336767926951578373365722544446443069567626", - "3288762580248623541314932376438775393042927795238883673294605787405803741771", - "1" - ], - [ - "13033349228446715227708983174962630359855099833946824324347890046482498192023", - "6421294974939765958693399139403364836236730937565965556934582902347210583662", - "1" - ], - [ - "11247057806045117168448120427081163906635319287767709787875241910037861458538", - "16637670705849046829316204969243986286576776498721277548012573053617450907511", - "1" - ], - [ - "559392299086149242612448391511384090938185097932213137491260656688434451148", - "9401148059581188462657007471430294041523537391080090455377147452460127371270", - "1" - ], - [ - "11734308416997179360452374191558926943900023358360267145684079964230083718457", - "16946911160806395496270122536331739523282671201632609363572899004300386048442", - "1" - ], - [ - "13382329293559377603829394693024291999330612026257830148396565915457054946525", - "6844598674009676962758767688837409872923009962872515636774655278370532334099", - "1" - ], - [ - "4432425973065755698058919463797706635349577437708227688469799596650014052480", - "8472893330782000140632217661937123102770078447141512396957441311551813589043", - "1" - ], - [ - "18794358216713956675861660792014654188648556376611639297240454573671569988400", - "2436930977657684111389210078785148679811016134515147190167225304016012616377", - "1" - ], - [ - "16631094635424758333192379063968709437699793182249756174576682222101204450204", - "9900333938138173456861736360226035975579787879763811722407191730737753204946", - "1" - ], - [ - "21774613710582603981030497221548871070638679440021134775994298865087881040692", - "7913255338081290925954848141597466754754039821689479678114745036632827081866", - "1" - ] - ] -} \ No newline at end of file diff --git a/testdata/linkedMultiQuery10-beta.1.json b/testdata/linkedMultiQuery10-beta.1.json new file mode 100644 index 0000000..ad0cac8 --- /dev/null +++ b/testdata/linkedMultiQuery10-beta.1.json @@ -0,0 +1,299 @@ +{ + "protocol": "groth16", + "curve": "bn128", + "nPublic": 42, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + [ + "1", + "0" + ] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + [ + "1", + "0" + ] + ], + "vk_delta_2": [ + [ + "10489258118764426034332804600490765264697524470495254669571495517165979541133", + "12129338434327885119120202043314878970485775152090521502500869614946968615157" + ], + [ + "10429663667199699013910834734864210991986402038056896091493065274545941092030", + "9781316534484599733208458973561170136096085444530383463986586679903684082248" + ], + [ + "1", + "0" + ] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "21430023076283324492373491465702377901553517974198179603321754521553807297952", + "16100841951806132851650696952667947210979731476466315340670552109395582140693", + "1" + ], + [ + "874646590609163556427601361141306365580890065349157562056615198339435270007", + "6256767547303737594471356612292002554980354750047948890294844978597159684019", + "1" + ], + [ + "10517768048713331864729568466119191816292691822603779731367799411443473874723", + "139058699787039212886101368290313755601614414956363079204114836255145476915", + "1" + ], + [ + "17344337809330487302188708559741461569338269977525093019374780020774542146492", + "5274513577718106191903390028612351049731200065607942527783238126487267335499", + "1" + ], + [ + "3251084883960935391249158800224219985382185374038159328315889244548098271868", + "8782940295258259569296763874286212313415826318094516594636725527893433495149", + "1" + ], + [ + "10293540382693326213005483976958396799080120229090411569222973591743781765950", + "3434983811658330030242170245715694060012159667353273034281307254470582083602", + "1" + ], + [ + "17609622009603817703793673575949092293495105260940677381218238353439809121032", + "6995552270210934446123054445235828816418355599114691490246319267110771576544", + "1" + ], + [ + "8893741133769342477378837481844711451971837913074907002199282217100869247940", + "3095492618851202856097277139368600209313839207651111091900400820311214687015", + "1" + ], + [ + "12780881262101920400366395378247126992825937413678580912089608864329228419619", + "5834720417916053839920346247057310182708891239258057884167243832903220311517", + "1" + ], + [ + "10713498767338849193497247350639663749885407088972961865262711446782246015863", + "17489415115946554154650945312049534738180060323391754043404730312258895524346", + "1" + ], + [ + "12273171011352026775885343136406546613127017266873594248936403749515340530996", + "12071880019937568516920880803004781455021855438605152637994884065268884217041", + "1" + ], + [ + "5950463085778994962597744054522813884402791679146117446151357457330605081053", + "3206818438304489427755839192576740397917476006055231366987239221407166527", + "1" + ], + [ + "19724136652024921011847067497959819351707293944921143095498787207487615501622", + "13647088802136437416476131803591763172703514900779212691090776795741796254280", + "1" + ], + [ + "1445221263264627511184595472369993367608403838341871616876957441130284766283", + "5726098093894583116750575070869135107580234219888169565253366780528715342846", + "1" + ], + [ + "20120581023561472078910226827335326110717884209386673614849623299315068276373", + "1889562255125134794059954835372730931468009899957996487188201305971273720224", + "1" + ], + [ + "19545805150542646820307172455117441465279774791200063059474266890692213823456", + "7184013393582301164675475478945275306660467273981909405310788280285100802593", + "1" + ], + [ + "16538101698638357420244522170433921132751755415812705980681268324970101739341", + "4600172704329209935233899061003135155951418873514844779035818355667352229338", + "1" + ], + [ + "3320511763678910239610072540124698119947306407777868328992145717968207136311", + "4722320928024788698583471044428554709851274623688867212681968831595549962269", + "1" + ], + [ + "3108227376931442026410345315160373771314160277493104671415967051377101933923", + "18328352109635855372669550382637795708721132944776416903028191676419975630159", + "1" + ], + [ + "2937892379456881928665386811710261647619171058088077946878789067508182303455", + "20835115603766994542724314261595614434879060954863983861804279457588577853535", + "1" + ], + [ + "21709685495399955270345098083290213090838431290086981608198766892608018330074", + "2458329395354449177253564485442401932754207609248655889027780141457682528183", + "1" + ], + [ + "14270132369935962592371359415203901128182043734845012002723339797353040955923", + "3362305740352474439485468000730904999079981399011681543177062387531232095035", + "1" + ], + [ + "10780424485056780659115447975224707285724043141877393743773334865778942368443", + "20075870049846150528247341969498572267636359454539497862458930203096017762585", + "1" + ], + [ + "18117450643100916676156276409879433342296698155117253809493411534467169012579", + "2880706888042073478436191748110313296207768299856136615685252968841319706695", + "1" + ], + [ + "11442199085340606217958604209595591197787676755103294563022255687786888278594", + "4925977997457433596418364318798366926787136929731239637011949658220298104702", + "1" + ], + [ + "17851340418221026584623870892895397947322850201673527844763437254634991044024", + "15696590469549976877356607982506728276129012768067091404658448481824465817647", + "1" + ], + [ + "13490452428801359042047439251402519127962190295715262735328856644955884223366", + "4907000838625078182111255401847077571395135577382837302422582658382489603116", + "1" + ], + [ + "5703745779016448123831991496596409888876695115870462701223723106606927965644", + "16001331685735770044645767179991115772393600669663618781473021267533673992342", + "1" + ], + [ + "10419680676640026279935692681826089607834079441206738767805389443186770255832", + "13764075392832094355943720671050191125027231505882575086260771335918137192180", + "1" + ], + [ + "2800196128811588906525202062936873905445942848300571511092584993969069270787", + "4376800185224332452355679608587237514095192909059476866350945737883904152216", + "1" + ], + [ + "12397310159067966673372046242793285817796926955703432426348469375665444615985", + "14725076114774968996212127858741544946615292276234193998615274281441149205851", + "1" + ], + [ + "12668259073515324041384271882532554511912018662279618013709536094994224792885", + "17497219747150318023048657355745093471734751085166479532312427211589277440156", + "1" + ], + [ + "9366575384451492327407266616355166661949785197792847087931158038456913653036", + "2396499224160472119307559284059638954887834093210894862415952348731082135516", + "1" + ], + [ + "1778589618495424931558806606571763951892291212953641614959867630529532562261", + "20323803569338482578496139458034849770831593107475724879036312830666126188922", + "1" + ], + [ + "21886756650117518317678473445886024689503409817475221935716175450842626012638", + "7001417276656775090701451140655919285500185494202451631763233628371138776645", + "1" + ], + [ + "6564360470729163382783477653025811634979790166835168095311760727761463645911", + "15254747754819203449155429588532031048534192336935311036024969873921455862853", + "1" + ], + [ + "4669245995444300543931160463623932681423737424290545114960544293393555627257", + "10222221965121563027284259419812643248522181226222827145782578761805338670125", + "1" + ], + [ + "21618209989464579872660322375594662134034342048206196431946761548581843058782", + "18365934821332628817842936147538018972737976724357760102482499362765441647010", + "1" + ], + [ + "11158084248225970015295829926609092186384815155054754475775315324215676268162", + "17817863641429884805586402068168728280495810140473017900888168778823095119746", + "1" + ], + [ + "10204910738724760217772025796407392110671328677847359145210414319369826563739", + "3353322363435085137953221199044170931992182820543841836328920052232156921365", + "1" + ], + [ + "12517902119543299063471528006403467546832399024966109550735323618784329829037", + "12181311449050763791611928305137270648665816589772719196568994120763335442940", + "1" + ], + [ + "9697137374998285505262504413590715457908266809758902198098615124095581408253", + "18405570458579758205880785062119360068390135488320401910675377079384100410015", + "1" + ], + [ + "9555152440729372312561312508481631838389394216686406749637882880809105500152", + "15929578426486061651157864710636590901036148235974003202904287065908977898494", + "1" + ] + ] + } \ No newline at end of file