remove mimc

This commit is contained in:
Dmitriy Ryajov 2023-03-07 18:24:24 -06:00
parent ca15143aa3
commit d3df738aa4
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4

View File

@ -1,8 +1,6 @@
pragma circom 2.1.0;
include "../node_modules/circomlib/circuits/poseidon.circom";
// include "../node_modules/circomlib/circuits/mimc.circom";
// include "../node_modules/circomlib/circuits/mimcsponge.circom";
include "../node_modules/circomlib/circuits/switcher.circom";
include "../node_modules/circomlib/circuits/bitify.circom";
@ -26,9 +24,7 @@ template parallel MerkleProof(LEVELS) {
switcher[i].R <== pathElements[i];
switcher[i].sel <== indexBits.out[i];
// hasher[i] = MultiMiMC7(2, 91);
hasher[i] = Poseidon(2);
// hasher[i].k <== 2;
hasher[i].inputs[0] <== switcher[i].outL;
hasher[i].inputs[1] <== switcher[i].outR;
}