Skip to content

Commit fcfebb6

Browse files
authored
Fix build (#219)
* Fix build * increase timeout * Fix test
1 parent b105537 commit fcfebb6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build, Lint and Test
22
on: push
33
jobs:
44
build:
5-
timeout-minutes: 7
5+
timeout-minutes: 12
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout

tests/handlers/credential-proposal.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
MOCK_STATE_STORAGE,
2828
getInMemoryDataStorage,
2929
getPackageMgr,
30-
registerBJJIntoInMemoryKMS,
30+
registerKeyProvidersInMemoryKMS,
3131
createIdentity,
3232
SEED_USER,
3333
SEED_ISSUER,
@@ -72,7 +72,7 @@ describe('proposal-request handler', () => {
7272
};
7373

7474
beforeEach(async () => {
75-
const kms = registerBJJIntoInMemoryKMS();
75+
const kms = registerKeyProvidersInMemoryKMS();
7676
const dataStorage = getInMemoryDataStorage(MOCK_STATE_STORAGE);
7777
const circuitStorage = new FSCircuitStorage({
7878
dirname: path.join(__dirname, '../proofs/testdata')

tests/proofs/mtp.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ describe('mtp proofs', () => {
332332
} as unknown as IStateStorage;
333333
const proofService = new ProofService(idWallet, credWallet, circuitStorage, mockStateStorage);
334334
const response: ZeroKnowledgeProofResponse = JSON.parse(
335-
`{"id":1,"circuitId":"credentialAtomicQuerySigV2","proof":{"pi_a":["1692621919535462098029340422338985117387349922432058572912503289494740072544","5849832527522776520992910317111843161659287939749030678875104723725167741629","1"],"pi_b":[["9073804311318969142382194823200861430394532493054777280144376515679156840294","320345546718280141355625312977249941988595053000873620335373153762333347618"],["21818506300133624706104504788964095807930130277005378306774974876198233822873","20508916211207310005669939018224159176090237395847319407804660514445244746059"],["1","0"]],"pi_c":["75773990211509807568779994083842535776985171363939633486110559284258142402","21708643189390101987073995679050930953292947427942962697950732212904750632605","1"],"protocol":"groth16","curve":"bn128"},"pub_signals":["0","21575127216236248869702276246037557119007466180301957762196593786733007617","4487386332479489158003597844990487984925471813907462483907054425759564175341","1","25198543381200665770805816046271594885604002445105767653616878167826895617","1","4487386332479489158003597844990487984925471813907462483907054425759564175341","1712671029","198285726510688200335207273836123338699","1","0","3","1","99","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"]}`
335+
`{"id":1,"circuitId":"credentialAtomicQuerySigV2","proof":{"pi_a":["11392414379157774085435893918684300685246187305133639230449030168405647064037","6624823402067189439740102625983348683949598756482573611396557177858089927252","1"],"pi_b":[["17421282951756744733334736748962333906899192604258416211672920603956657316832","6559801215697060959857601368293110610604718150140187845151209084855211872629"],["18987321172125828996670119029798456287291779756073337356403810881356243996860","15769905257570078663149827827629473781940797895640792254703575253967844696107"],["1","0"]],"pi_c":["2901565261895370709919861582385271616822610179351066260442165421446451197215","13815595767677956048482457978154789358126667637963846535261351290606726954402","1"],"protocol":"groth16","curve":"bn128"},"pub_signals":["0","21575127216236248869702276246037557119007466180301957762196593786733007617","4487386332479489158003597844990487984925471813907462483907054425759564175341","1","25198543381200665770805816046271594885604002445105767653616878167826895617","1","4487386332479489158003597844990487984925471813907462483907054425759564175341","1712939770","198285726510688200335207273836123338699","1","0","3","1","99","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"]}`
336336
);
337337
const query = {
338338
allowedIssuers: ['*'],

0 commit comments

Comments
 (0)