split bitmap into selector_dg1 and selector_older_than, fix nullifier generation in prove circuits

This commit is contained in:
turnoffthiscomputer
2024-09-19 19:03:39 +02:00
parent c78a541b84
commit a239169f80
21 changed files with 302 additions and 89 deletions

View File

@@ -30,14 +30,14 @@ export const generateCircuitInputsInSdk = (
);
}
case 'prove': {
const bitmap = Array(90).fill('1');
const selector_dg1 = Array(90).fill('1');
const user_identifier = crypto.randomUUID();
return generateCircuitInputsProve(
passportData,
n_dsc,
k_dsc,
scope,
bitmap,
selector_dg1,
majority,
user_identifier
);